/freebsd/contrib/wpa/hostapd/ |
H A D | ctrl_iface.c | 1314 } else if (os_strncmp(cmd, "wme_ac_", 7) == 0 || in hostapd_ctrl_iface_set() 1315 os_strncmp(cmd, "wmm_ac_", 7) == 0) { in hostapd_ctrl_iface_set() 2046 if (os_strncmp(cmd, "ifname=", 7) == 0) { in hostapd_ctrl_iface_data_test_frame() 3294 if (os_strncmp(pos, "req_mode=", 9) == 0) { in hostapd_ctrl_iface_req_beacon() 3717 if (os_strncmp(token, "service_name=", 13) == 0) { in hostapd_ctrl_nan_publish() 3722 if (os_strncmp(token, "ttl=", 4) == 0) { in hostapd_ctrl_nan_publish() 3727 if (os_strncmp(token, "srv_proto_type=", 15) == 0) { in hostapd_ctrl_nan_publish() 3732 if (os_strncmp(token, "ssi=", 4) == 0) { in hostapd_ctrl_nan_publish() 3808 if (os_strncmp(token, "ssi=", 4) == 0) { in hostapd_ctrl_nan_update_publish() 3849 if (os_strncmp(token, "service_name=", 13) == 0) { in hostapd_ctrl_nan_subscribe() [all …]
|
H A D | hlr_auc_gw.c | 868 if (os_strncmp(cmd, "SIM-REQ-AUTH ", 13) == 0) in process_cmd() 871 if (os_strncmp(cmd, "GSM-AUTH-REQ ", 13) == 0) in process_cmd() 874 if (os_strncmp(cmd, "AKA-REQ-AUTH ", 13) == 0) in process_cmd() 877 if (os_strncmp(cmd, "AKA-AUTS ", 9) == 0) in process_cmd()
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | ctrl_iface.c | 134 if (os_strncmp(pos, "bssid ", 6) == 0) { in set_disallow_aps() 155 } else if (os_strncmp(pos, "ssid ", 5) == 0) { in set_disallow_aps() 401 if (os_strncmp(cmd, "2G", 2) == 0) in wpas_ctrl_set_relative_band_adjust() 403 else if (os_strncmp(cmd, "5G", 2) == 0) in wpas_ctrl_set_relative_band_adjust() 1385 os_strncmp(cmd, "any ", 4) == 0) { in wpa_supplicant_ctrl_iface_wps_pbc() 1388 } else if (os_strncmp(cmd, "p2p_dev_addr=", 13) == 0) { in wpa_supplicant_ctrl_iface_wps_pbc() 1397 } else if (os_strncmp(cmd, "multi_ap=", 9) == 0) { in wpa_supplicant_ctrl_iface_wps_pbc() 2685 if (os_strncmp(cmd, "clear", 5) == 0) { in wpa_supplicant_ctrl_iface_bssid_ignore() 2777 if (cmd != NULL && os_strncmp(cmd, "LAST_ID=", 8) == 0) { in wpa_supplicant_ctrl_iface_list_networks() 3486 if (os_strncmp(cmd, "any", 3) == 0) { in wpa_supplicant_ctrl_iface_select_network() [all …]
|
H A D | ctrl_iface_unix.c | 84 if (len >= 5 && os_strncmp(buf, "PONG\n", 5) == 0) in wpas_ctrl_sock_debug() 174 } else if (os_strncmp(buf, "LEVEL ", 6) == 0) { in wpa_supplicant_ctrl_iface_receive() 256 if (os_strncmp(pbuf, "DIR=", 4) == 0) { in wpa_supplicant_ctrl_iface_path() 529 if (os_strncmp(buf, "DIR=", 4) == 0) { in wpas_ctrl_iface_open_sock() 750 } else if (os_strncmp(wpa_s->global->params.ctrl_interface, in wpa_supplicant_ctrl_iface_init() 752 os_strncmp(wpa_s->global->params.ctrl_interface, in wpa_supplicant_ctrl_iface_init() 899 if (os_strncmp(buf, "DIR=", 4) == 0) { in wpa_supplicant_ctrl_iface_deinit() 1205 if (os_strncmp(ctrl, "@android:", 9) == 0) { in wpas_global_ctrl_iface_open_sock() 1218 if (os_strncmp(ctrl, "@abstract:", 10) != 0) { in wpas_global_ctrl_iface_open_sock() 1247 if (os_strncmp(ctrl, "@abstract:", 10) == 0) { in wpas_global_ctrl_iface_open_sock()
|
H A D | bgscan_learn.c | 118 os_strncmp(buf, "wpa_supplicant-bgscan-learn\n", 28) != 0) { in bgscan_learn_load() 126 if (os_strncmp(buf, "BSS ", 4) == 0) { in bgscan_learn_load() 141 if (os_strncmp(buf, "NEIGHBOR ", 9) == 0) { in bgscan_learn_load()
|
H A D | bgscan.c | 48 if (os_strncmp(name, bgscan_modules[i]->name, nlen) == 0) { in bgscan_init()
|
H A D | ctrl_iface_udp.c | 294 if (os_strncmp(buf, "COOKIE=", 7) != 0) { 333 } else if (os_strncmp(pos, "LEVEL ", 6) == 0) { 688 if (os_strncmp(buf, "COOKIE=", 7) != 0) {
|
H A D | autoscan.c | 74 if (os_strncmp(name, autoscan_modules[i]->name, nlen) == 0) { in autoscan_init()
|
/freebsd/contrib/wpa/wpa_supplicant/dbus/ |
H A D | dbus_new_helpers.c | 33 if (os_strncmp(dsc->dbus_interface, interface, in fill_dict_with_properties() 144 return !os_strncmp(registered_sig, sig, MAX_SIG_LEN); in is_signature_correct() 255 if (!os_strncmp(property_dsc->dbus_property, property, in properties_get_or_set() 257 !os_strncmp(property_dsc->dbus_interface, interface, in properties_get_or_set() 271 if (os_strncmp(WPA_DBUS_PROPERTIES_GET, method, in properties_get_or_set() 293 if (!os_strncmp(WPA_DBUS_PROPERTIES_GET, method, in properties_handler() 295 !os_strncmp(WPA_DBUS_PROPERTIES_SET, method, in properties_handler() 297 !os_strncmp(WPA_DBUS_PROPERTIES_GETALL, method, in properties_handler() 308 if (!os_strncmp(WPA_DBUS_PROPERTIES_GETALL, method, in properties_handler() 335 if (!os_strncmp(method_dsc->dbus_method, method, in msg_method_handler() [all …]
|
/freebsd/contrib/wpa/src/eap_peer/ |
H A D | eap_wsc.c | 87 if (os_strncmp(pos + 9, "OPEN", 4) == 0) in eap_wsc_new_ap_settings() 89 else if (os_strncmp(pos + 9, "WPAPSK", 6) == 0) in eap_wsc_new_ap_settings() 91 else if (os_strncmp(pos + 9, "WPA2PSK", 7) == 0) in eap_wsc_new_ap_settings() 103 if (os_strncmp(pos + 9, "NONE", 4) == 0) in eap_wsc_new_ap_settings() 106 else if (os_strncmp(pos + 9, "WEP", 3) == 0) in eap_wsc_new_ap_settings() 109 else if (os_strncmp(pos + 9, "TKIP", 4) == 0) in eap_wsc_new_ap_settings() 111 else if (os_strncmp(pos + 9, "CCMP", 4) == 0) in eap_wsc_new_ap_settings() 200 os_strncmp((const char *) cfg.pin, "nfc-pw", 6) == 0) { in eap_wsc_init()
|
H A D | eap_mschapv2.c | 417 if (pos && os_strncmp(pos, "E=", 2) == 0) { in eap_mschapv2_failure_txt() 427 if (pos && os_strncmp(pos, "R=", 2) == 0) { in eap_mschapv2_failure_txt() 437 if (pos && os_strncmp(pos, "C=", 2) == 0) { in eap_mschapv2_failure_txt() 465 if (pos && os_strncmp(pos, "V=", 2) == 0) { in eap_mschapv2_failure_txt() 475 if (pos && os_strncmp(pos, "M=", 2) == 0) { in eap_mschapv2_failure_txt()
|
/freebsd/contrib/wpa/src/utils/ |
H A D | os_none.c | 193 return os_strncmp(s1, s2, n); in os_strncasecmp() 215 int os_strncmp(const char *s1, const char *s2, size_t n) in os_strncmp() function
|
H A D | os_internal.c | 377 return os_strncmp(s1, s2, n); in os_strncasecmp() 420 int os_strncmp(const char *s1, const char *s2, size_t n) in os_strncmp() function 482 if (os_strncmp(haystack, needle, len) == 0) in os_strstr()
|
H A D | os.h | 463 int os_strncmp(const char *s1, const char *s2, size_t n); 558 #ifndef os_strncmp 559 #define os_strncmp(s1, s2, n) strncmp((s1), (s2), (n)) macro
|
H A D | ext_password_test.c | 58 if (os_strncmp(pos, name, nlen) == 0 && pos[nlen] == '=') { in ext_password_test_get()
|
H A D | ext_password_file.c | 115 if (os_strncmp(name, pos, sep - pos) != 0) in ext_password_file_get()
|
H A D | browser-system.c | 43 } else if (os_strncmp(url, "/osu/", 5) == 0) { in http_req()
|
H A D | json.c | 364 os_strncmp(pos, "true", 4) == 0) || in json_parse() 366 os_strncmp(pos, "false", 5) == 0) || in json_parse() 368 os_strncmp(pos, "null", 4) == 0))) { in json_parse()
|
H A D | browser-android.c | 43 } else if (os_strncmp(url, "/osu/", 5) == 0) { in http_req()
|
H A D | browser-wpadebug.c | 43 } else if (os_strncmp(url, "/osu/", 5) == 0) { in http_req()
|
/freebsd/contrib/wpa/src/wps/ |
H A D | wps_er_ssdp.c | 49 if (os_strncmp(buf, "HTTP/1.1 200 OK", 15) != 0) in wps_er_ssdp_rx() 53 if (os_strncmp(buf, "NOTIFY ", 7) != 0) in wps_er_ssdp_rx()
|
H A D | http_client.c | 248 if (os_strncmp(url, "http://", 7) != 0) in http_client_url() 329 if (os_strncmp(url, "http://", 7) == 0) in http_link_update() 332 if (os_strncmp(base, "http://", 7) != 0) in http_link_update()
|
/freebsd/contrib/wpa/src/crypto/ |
H A D | tls_wolfssl.c | 636 if (os_strncmp(pos, "EMAIL:", 6) == 0) { in tls_match_alt_subject() 639 } else if (os_strncmp(pos, "DNS:", 4) == 0) { in tls_match_alt_subject() 642 } else if (os_strncmp(pos, "URI:", 4) == 0) { in tls_match_alt_subject() 653 if (os_strncmp(end + 1, "EMAIL:", 6) == 0 || in tls_match_alt_subject() 654 os_strncmp(end + 1, "DNS:", 4) == 0 || in tls_match_alt_subject() 655 os_strncmp(end + 1, "URI:", 4) == 0) in tls_match_alt_subject() 1180 if (ca_cert && os_strncmp(ca_cert, "probe://", 8) == 0) { in tls_connection_ca_cert() 1188 if (ca_cert && os_strncmp(ca_cert, "hash://", 7) == 0) { in tls_connection_ca_cert() 1192 if (os_strncmp(pos, "server/sha256/", 14) != 0) { in tls_connection_ca_cert()
|
H A D | tls_openssl.c | 1876 if (os_strncmp(pos, "EMAIL:", 6) == 0) { in tls_match_altsubject() 1879 } else if (os_strncmp(pos, "DNS:", 4) == 0) { in tls_match_altsubject() 1882 } else if (os_strncmp(pos, "URI:", 4) == 0) { in tls_match_altsubject() 1892 if (os_strncmp(end + 1, "EMAIL:", 6) == 0 || in tls_match_altsubject() 1893 os_strncmp(end + 1, "DNS:", 4) == 0 || in tls_match_altsubject() 1894 os_strncmp(end + 1, "URI:", 4) == 0) in tls_match_altsubject() 2804 if (ca_cert && os_strncmp(ca_cert, "probe://", 8) == 0) { in tls_connection_ca_cert() 2812 if (ca_cert && os_strncmp(ca_cert, "hash://", 7) == 0) { in tls_connection_ca_cert() 2815 if (os_strncmp(pos, "server/sha256/", 14) != 0) { in tls_connection_ca_cert() 2891 if (ca_cert && os_strncmp("keystore://", ca_cert, 11) == 0) { in tls_connection_ca_cert() [all …]
|
/freebsd/contrib/wpa/src/ap/ |
H A D | vlan_ioctl.c | 97 os_strncmp(if_request.u.device2, if_name, in vlan_add()
|