| /freebsd/contrib/wpa/src/wps/ |
| H A D | wps_upnp_web.c | 880 if (os_strncasecmp(b, match, match_len)) in web_get_action() 942 if (!os_strncasecmp("GetDeviceInfo", action, action_len)) in web_connection_parse_post() 944 else if (!os_strncasecmp("PutMessage", action, action_len)) in web_connection_parse_post() 946 else if (!os_strncasecmp("PutWLANResponse", action, action_len)) in web_connection_parse_post() 949 else if (!os_strncasecmp("SetSelectedRegistrar", action, action_len)) in web_connection_parse_post() 1035 if (os_strncasecmp(h, match, match_len) == 0) { in web_connection_parse_subscribe() 1041 if (os_strncasecmp(h, match, match_len) != 0) { in web_connection_parse_subscribe() 1052 if (os_strncasecmp(h, match, match_len) == 0) { in web_connection_parse_subscribe() 1065 if (os_strncasecmp(h, match, match_len) == 0) { in web_connection_parse_subscribe() 1083 if (os_strncasecmp(h, match, match_len) == 0) { in web_connection_parse_subscribe() [all …]
|
| H A D | wps_er_ssdp.c | 72 if (os_strncasecmp(start, "LOCATION:", 9) == 0) { in wps_er_ssdp_rx() 77 } else if (os_strncasecmp(start, "NTS:", 4) == 0) { in wps_er_ssdp_rx() 80 } else if (os_strncasecmp(start, "CACHE-CONTROL:", 14) == 0) { in wps_er_ssdp_rx() 87 } else if (os_strncasecmp(start, "USN:", 4) == 0) { in wps_er_ssdp_rx()
|
| H A D | httpread.c | 465 if (!os_strncasecmp(h->hdr, "SUBSCRIBE", 9) || in httpread_read_handler() 466 !os_strncasecmp(h->hdr, "UNSUBSCRIBE", 11) || in httpread_read_handler() 467 !os_strncasecmp(h->hdr, "HEAD", 4) || in httpread_read_handler() 468 !os_strncasecmp(h->hdr, "GET", 3)) { in httpread_read_handler() 837 if (!os_strncasecmp(hdr, tag, tag_len)) { in httpread_hdr_line_get()
|
| H A D | upnp_xml.c | 206 if (!os_strncasecmp(tagname, match, match_len) && in xml_get_first_item()
|
| H A D | wps_upnp_ssdp.c | 717 if (os_strncasecmp(buf, "M-SEARCH", os_strlen("M-SEARCH")) == 0 && in ssdp_listener_handler()
|
| H A D | wps_upnp.c | 335 if (url_len < 7 || os_strncasecmp(url, "http://", 7) || url_len > 700) { in subscr_addr_add_url()
|
| H A D | wps_er.c | 511 if (!os_strncasecmp(tagname, "device", 6) && in wps_er_find_wfadevice()
|
| /freebsd/contrib/wpa/src/fst/ |
| H A D | fst_ctrl_iface.c | 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() 417 if (!os_strncasecmp(p, FST_CTR_SEND_SETUP_REQUEST, in test_request() 421 } else if (!os_strncasecmp(p, FST_CTR_SEND_SETUP_RESPONSE, in test_request() 425 } else if (!os_strncasecmp(p, FST_CTR_SEND_ACK_REQUEST, in test_request() 429 } else if (!os_strncasecmp(p, FST_CTR_SEND_ACK_RESPONSE, in test_request() 433 } else if (!os_strncasecmp(p, FST_CTR_SEND_TEAR_DOWN, in test_request() [all …]
|
| /freebsd/contrib/wpa/src/utils/ |
| H A D | os.h | 427 int os_strncasecmp(const char *s1, const char *s2, size_t n); 545 #ifndef os_strncasecmp 547 #define os_strncasecmp(s1, s2, n) _strnicmp((s1), (s2), (n)) macro 549 #define os_strncasecmp(s1, s2, n) strncasecmp((s1), (s2), (n)) macro
|
| H A D | os_none.c | 187 int os_strncasecmp(const char *s1, const char *s2, size_t n) in os_strncasecmp() function
|
| H A D | os_internal.c | 371 int os_strncasecmp(const char *s1, const char *s2, size_t n) in os_strncasecmp() function
|
| H A D | edit.c | 381 if (os_strncasecmp(c[j], str, len) == 0) { in filter_strings()
|
| /freebsd/contrib/wpa/wpa_supplicant/ |
| H A D | wpa_cli.c | 543 if (arg > 1 && os_strncasecmp(str, "set bssid_filter ", 17) == 0) in wpa_cli_complete_set() 2573 if (arg == 2 && os_strncasecmp(str, "p2p_set peer_filter ", 20) == 0) in wpa_cli_complete_p2p_set() 4375 if (os_strncasecmp(cmd, c, len) == 0 && len == os_strlen(c)) in wpa_cli_edit_filter_history_cb() 4449 if (pos > 7 && os_strncasecmp(str, "IFNAME=", 7) == 0) { in wpa_cli_edit_completion_cb() 4478 if (argc > 1 && os_strncasecmp(argv[0], "IFNAME=", 7) == 0) { in wpa_request() 4491 if (os_strncasecmp(cmd->cmd, argv[0], os_strlen(argv[0])) == 0) in wpa_request() 4508 if (os_strncasecmp(cmd->cmd, argv[0], in wpa_request()
|
| H A D | interworking.c | 2267 os_strncasecmp(domain, (const char *) pos, len) == 0) in domain_name_list_contains() 2273 if (os_strncasecmp(domain, ap + offset, len) == 0) in domain_name_list_contains()
|
| H A D | ctrl_iface.c | 8880 if (os_strncasecmp(cmd, "COUNTRY", 7) == 0) { in wpa_supplicant_driver_cmd() 9498 if (os_strncasecmp(params, "TYPE=ONLY", 9) == 0) in wpas_ctrl_scan() 11038 } else if (os_strncasecmp(token, "enable=", 7) == 0) { in wpas_ctrl_iface_mac_rand_scan() 11040 } else if (os_strncasecmp(token, "addr=", 5) == 0) { in wpas_ctrl_iface_mac_rand_scan() 11048 } else if (os_strncasecmp(token, "mask=", 5) == 0) { in wpas_ctrl_iface_mac_rand_scan()
|
| /freebsd/contrib/wpa/src/common/ |
| H A D | dpp.c | 3185 if (os_strncasecmp(pos, "506F9A02", 8) == 0) in dpp_akm_from_str() 3187 else if (os_strncasecmp(pos, "000FAC02", 8) == 0) in dpp_akm_from_str() 3189 else if (os_strncasecmp(pos, "000FAC06", 8) == 0) in dpp_akm_from_str() 3191 else if (os_strncasecmp(pos, "000FAC08", 8) == 0) in dpp_akm_from_str() 3193 else if (os_strncasecmp(pos, "000FAC01", 8) == 0) in dpp_akm_from_str() 3195 else if (os_strncasecmp(pos, "000FAC05", 8) == 0) in dpp_akm_from_str()
|
| /freebsd/contrib/wpa/src/crypto/ |
| H A D | tls_wolfssl.c | 868 if (os_strncasecmp(val + len - match_len, match, match_len) != 0) in domain_suffix_match()
|
| H A D | tls_openssl.c | 2214 if (os_strncasecmp((const char *) val + len - match_len, match,
|