Lines Matching refs:p

213 	char *p, *q;  in session_set()  local
217 id = strtoul(session_id, &p, 0); in session_set()
225 if (*p != ' ' || !(q = os_strchr(p + 1, '='))) in session_set()
227 p++; in session_set()
229 if (os_strncasecmp(p, FST_CSS_PNAME_OLD_IFNAME, q - p) == 0) { in session_set()
231 } else if (os_strncasecmp(p, FST_CSS_PNAME_NEW_IFNAME, q - p) == 0) { in session_set()
233 } else if (os_strncasecmp(p, FST_CSS_PNAME_OLD_PEER_ADDR, q - p) == 0) { in session_set()
235 } else if (os_strncasecmp(p, FST_CSS_PNAME_NEW_PEER_ADDR, q - p) == 0) { in session_set()
237 } else if (os_strncasecmp(p, FST_CSS_PNAME_LLT, q - p) == 0) { in session_set()
240 fst_printf(MSG_ERROR, "CTRL: Unknown parameter: %s", p); in session_set()
323 char *p; in session_respond() local
327 id = strtoul(session_id, &p, 0); in session_respond()
335 if (*p != ' ') in session_respond()
337 p++; in session_respond()
339 if (!os_strcasecmp(p, FST_CS_PVAL_RESPONSE_ACCEPT)) { in session_respond()
341 } else if (!os_strcasecmp(p, FST_CS_PVAL_RESPONSE_REJECT)) { in session_respond()
346 id, p); in session_respond()
414 const char *p = request; in test_request() local
417 if (!os_strncasecmp(p, FST_CTR_SEND_SETUP_REQUEST, in test_request()
420 p + os_strlen(FST_CTR_SEND_SETUP_REQUEST)); in test_request()
421 } else if (!os_strncasecmp(p, FST_CTR_SEND_SETUP_RESPONSE, in test_request()
424 p + os_strlen(FST_CTR_SEND_SETUP_RESPONSE)); in test_request()
425 } else if (!os_strncasecmp(p, FST_CTR_SEND_ACK_REQUEST, in test_request()
428 p + os_strlen(FST_CTR_SEND_ACK_REQUEST)); in test_request()
429 } else if (!os_strncasecmp(p, FST_CTR_SEND_ACK_RESPONSE, in test_request()
432 p + os_strlen(FST_CTR_SEND_ACK_RESPONSE)); in test_request()
433 } else if (!os_strncasecmp(p, FST_CTR_SEND_TEAR_DOWN, in test_request()
436 p + os_strlen(FST_CTR_SEND_TEAR_DOWN)); in test_request()
437 } else if (!os_strncasecmp(p, FST_CTR_GET_FSTS_ID, in test_request()
440 p + os_strlen(FST_CTR_GET_FSTS_ID)); in test_request()
444 } else if (!os_strncasecmp(p, FST_CTR_GET_LOCAL_MBIES, in test_request()
447 p + os_strlen(FST_CTR_GET_LOCAL_MBIES), buf, buflen); in test_request()
448 } else if (!os_strncasecmp(p, FST_CTR_IS_SUPPORTED, in test_request()
452 fst_printf(MSG_ERROR, "CTRL: Unknown parameter: %s", p); in test_request()
790 const char *p; in fst_ctrl_iface_receive() local
797 p = cmd + os_strlen(c->name); in fst_ctrl_iface_receive()
799 if (!isspace(p[0])) in fst_ctrl_iface_receive()
801 p++; in fst_ctrl_iface_receive()
802 temp = p; in fst_ctrl_iface_receive()
814 return c->process(p, reply, reply_size); in fst_ctrl_iface_receive()