Home
last modified time | relevance | path

Searched refs:os_strncasecmp (Results 1 – 24 of 24) sorted by relevance

/hostap-3.6.0/src/wps/
Dwps_upnp_web.c880 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 …]
Dwps_er_ssdp.c72 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()
Dhttpread.c465 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()
Dupnp_xml.c206 if (!os_strncasecmp(tagname, match, match_len) && in xml_get_first_item()
Dwps_upnp_ssdp.c717 if (os_strncasecmp(buf, "M-SEARCH", os_strlen("M-SEARCH")) == 0 && in ssdp_listener_handler()
Dwps_upnp.c335 if (url_len < 7 || os_strncasecmp(url, "http://", 7) || url_len > 700) { in subscr_addr_add_url()
Dwps_er.c511 if (!os_strncasecmp(tagname, "device", 6) && in wps_er_find_wfadevice()
/hostap-3.6.0/src/fst/
Dfst_ctrl_iface.c229 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 …]
/hostap-3.6.0/src/utils/
Dos.h411 int os_strncasecmp(const char *s1, const char *s2, size_t n);
529 #ifndef os_strncasecmp
531 #define os_strncasecmp(s1, s2, n) _strnicmp((s1), (s2), (n)) macro
533 #define os_strncasecmp(s1, s2, n) strncasecmp((s1), (s2), (n)) macro
Dos_none.c187 int os_strncasecmp(const char *s1, const char *s2, size_t n) in os_strncasecmp() function
Dos_internal.c371 int os_strncasecmp(const char *s1, const char *s2, size_t n) in os_strncasecmp() function
Dedit.c381 if (os_strncasecmp(c[j], str, len) == 0) { in filter_strings()
/hostap-3.6.0/hs20/client/
Doma_dm_client.c513 if (os_strncasecmp(locuri, "./Wi-Fi/", 8) != 0) { in oma_dm_run_add()
522 if (os_strncasecmp(pos, ctx->fqdn, fqdn_len) != 0 || in oma_dm_run_add()
530 if (os_strncasecmp(pos, "PerProviderSubscription/", 24) != 0) { in oma_dm_run_add()
675 if (os_strncasecmp(locuri, "./Wi-Fi/", 8) != 0) { in oma_dm_add()
738 if (os_strncasecmp(locuri, "./Wi-Fi/", 8) != 0) { in oma_dm_replace()
750 if (os_strncasecmp(pos, ctx->fqdn, fqdn_len) != 0 || in oma_dm_replace()
759 if (os_strncasecmp(pos, "PerProviderSubscription/", 24) != 0) { in oma_dm_replace()
860 if (os_strncasecmp(locuri, "./Wi-Fi/", 8) != 0) { in oma_dm_get()
870 if (os_strncasecmp(pos, ctx->fqdn, fqdn_len) != 0 || in oma_dm_get()
879 if (os_strncasecmp(pos, "PerProviderSubscription/", 24) != 0) { in oma_dm_get()
Dspp_client.c227 if (os_strncasecmp(uri, "./Wi-Fi/", 8) != 0) { in process_update_node()
242 if (os_strncasecmp(pos, ctx->fqdn, fqdn_len) != 0 || in process_update_node()
252 if (os_strncasecmp(pos, "PerProviderSubscription/", 24) != 0) { in process_update_node()
Dosu_client.c535 if (os_strncasecmp(val + len - match_len, fqdn, match_len) != 0) in server_dnsname_suffix_match()
2968 if (os_strncasecmp((char *) cert->othername[i].data, in osu_cert_cb()
/hostap-3.6.0/wpa_supplicant/
Dwpa_cli.c530 if (arg > 1 && os_strncasecmp(str, "set bssid_filter ", 17) == 0) in wpa_cli_complete_set()
2526 if (arg == 2 && os_strncasecmp(str, "p2p_set peer_filter ", 20) == 0) in wpa_cli_complete_p2p_set()
4029 if (os_strncasecmp(cmd, c, len) == 0 && len == os_strlen(c)) in wpa_cli_edit_filter_history_cb()
4103 if (pos > 7 && os_strncasecmp(str, "IFNAME=", 7) == 0) { in wpa_cli_edit_completion_cb()
4132 if (argc > 1 && os_strncasecmp(argv[0], "IFNAME=", 7) == 0) { in wpa_request()
4145 if (os_strncasecmp(cmd->cmd, argv[0], os_strlen(argv[0])) == 0) in wpa_request()
4162 if (os_strncasecmp(cmd->cmd, argv[0], in wpa_request()
Dwpa_cli_cmds.c525 if (arg > 1 && os_strncasecmp(str, "set bssid_filter ", 17) == 0) in wpa_cli_complete_set()
2208 if (arg == 2 && os_strncasecmp(str, "p2p_set peer_filter ", 20) == 0) in wpa_cli_complete_p2p_set()
3649 if (argc > 1 && os_strncasecmp(argv[0], "IFNAME=", 7) == 0) { in wpa_request()
3662 if (os_strncasecmp(cmd->cmd, argv[0], os_strlen(argv[0])) == 0) in wpa_request()
3679 if (os_strncasecmp(cmd->cmd, argv[0], in wpa_request()
Dhs20_supplicant.c507 png = os_strncasecmp((char *) pos + 1, "image/png", 9) == 0; in hs20_process_icon_binary_file()
Dinterworking.c2238 os_strncasecmp(domain, (const char *) pos, len) == 0) in domain_name_list_contains()
2244 if (os_strncasecmp(domain, ap + offset, len) == 0) in domain_name_list_contains()
Dctrl_iface.c8282 if (os_strncasecmp(cmd, "COUNTRY", 7) == 0) { in wpa_supplicant_driver_cmd()
8862 if (os_strncasecmp(params, "TYPE=ONLY", 9) == 0) in wpas_ctrl_scan()
10378 } else if (os_strncasecmp(token, "enable=", 7) == 0) { in wpas_ctrl_iface_mac_rand_scan()
10380 } else if (os_strncasecmp(token, "addr=", 5) == 0) { in wpas_ctrl_iface_mac_rand_scan()
10388 } else if (os_strncasecmp(token, "mask=", 5) == 0) { in wpas_ctrl_iface_mac_rand_scan()
/hostap-3.6.0/src/common/
Ddpp.c2883 if (os_strncasecmp(pos, "506F9A02", 8) == 0) in dpp_akm_from_str()
2885 else if (os_strncasecmp(pos, "000FAC02", 8) == 0) in dpp_akm_from_str()
2887 else if (os_strncasecmp(pos, "000FAC06", 8) == 0) in dpp_akm_from_str()
2889 else if (os_strncasecmp(pos, "000FAC08", 8) == 0) in dpp_akm_from_str()
2891 else if (os_strncasecmp(pos, "000FAC01", 8) == 0) in dpp_akm_from_str()
2893 else if (os_strncasecmp(pos, "000FAC05", 8) == 0) in dpp_akm_from_str()
/hostap-3.6.0/wlantest/
Dwlantest_cli.c1680 if (os_strncasecmp(cmd->cmd, argv[0], os_strlen(argv[0])) == 0) in ctrl_command()
1695 if (os_strncasecmp(cmd->cmd, argv[0], in ctrl_command()
/hostap-3.6.0/src/crypto/
Dtls_wolfssl.c664 if (os_strncasecmp(val + len - match_len, match, match_len) != 0) in domain_suffix_match()
Dtls_openssl.c1774 if (os_strncasecmp((const char *) val + len - match_len, match, in domain_suffix_match()