| /freebsd-12.1/contrib/wpa/src/eap_peer/ |
| H A D | eap_tls_common.c | 63 if (os_strstr(txt, "tls_allow_md5=1")) in eap_tls_params_flags() 71 if (os_strstr(txt, "tls_disable_tlsv1_0=1")) in eap_tls_params_flags() 77 if (os_strstr(txt, "tls_disable_tlsv1_1=1")) in eap_tls_params_flags() 83 if (os_strstr(txt, "tls_disable_tlsv1_2=1")) in eap_tls_params_flags() 93 if (os_strstr(txt, "tls_ext_cert_check=1")) in eap_tls_params_flags() 95 if (os_strstr(txt, "tls_ext_cert_check=0")) in eap_tls_params_flags() 97 if (os_strstr(txt, "tls_suiteb=1")) in eap_tls_params_flags() 99 if (os_strstr(txt, "tls_suiteb=0")) in eap_tls_params_flags() 101 if (os_strstr(txt, "tls_suiteb_no_ecdh=1")) in eap_tls_params_flags() 103 if (os_strstr(txt, "tls_suiteb_no_ecdh=0")) in eap_tls_params_flags() [all …]
|
| H A D | eap_wsc.c | 66 pos = os_strstr(params, "new_ssid="); in eap_wsc_new_ap_settings() 82 pos = os_strstr(params, "new_auth="); in eap_wsc_new_ap_settings() 98 pos = os_strstr(params, "new_encr="); in eap_wsc_new_ap_settings() 118 pos = os_strstr(params, "new_key="); in eap_wsc_new_ap_settings() 192 pos = os_strstr(phase1, "pin="); in eap_wsc_init() 206 pos = os_strstr(phase1, "pbc=1"); in eap_wsc_init() 211 pos = os_strstr(phase1, "dev_pw_id="); in eap_wsc_init() 227 pos = os_strstr(phase1, " pkhash="); in eap_wsc_init() 258 if (os_strstr(phase1, "multi_ap=1")) in eap_wsc_init()
|
| H A D | tncc.c | 608 char *pos = os_strstr(start, "<Type>"); in tncc_get_type() 622 pos = os_strstr(start, "<Base64>"); in tncc_get_base64() 627 pos2 = os_strstr(pos, "</Base64>"); in tncc_get_base64() 653 pos = os_strstr(pos, " type="); in tncc_get_recommendation() 702 start = os_strstr(buf, "<TNCCS-Batch "); in tncc_process_if_tnccs() 703 end = os_strstr(buf, "</TNCCS-Batch>"); in tncc_process_if_tnccs() 714 pos = os_strstr(start, "BatchId="); in tncc_process_if_tnccs() 755 pos = os_strstr(start, "<IMC-IMV-Message>"); in tncc_process_if_tnccs() 759 end = os_strstr(start, "</IMC-IMV-Message>"); in tncc_process_if_tnccs() 823 pos = os_strstr(start, "<XML>"); in tncc_process_if_tnccs() [all …]
|
| H A D | eap_peap.c | 78 pos = os_strstr(phase1, "peapver="); in eap_peap_parse_phase1() 86 if (os_strstr(phase1, "peaplabel=1")) { in eap_peap_parse_phase1() 92 if (os_strstr(phase1, "peap_outer_success=0")) { in eap_peap_parse_phase1() 96 } else if (os_strstr(phase1, "peap_outer_success=1")) { in eap_peap_parse_phase1() 100 } else if (os_strstr(phase1, "peap_outer_success=2")) { in eap_peap_parse_phase1() 106 if (os_strstr(phase1, "crypto_binding=0")) { in eap_peap_parse_phase1() 109 } else if (os_strstr(phase1, "crypto_binding=1")) { in eap_peap_parse_phase1() 112 } else if (os_strstr(phase1, "crypto_binding=2")) { in eap_peap_parse_phase1() 118 if (os_strstr(phase1, "tnc=soh2")) { in eap_peap_parse_phase1() 121 } else if (os_strstr(phase1, "tnc=soh1")) { in eap_peap_parse_phase1() [all …]
|
| H A D | eap_eke.c | 100 pos = os_strstr(phase1, "dhgroup="); in eap_eke_init() 107 pos = os_strstr(phase1, "encr="); in eap_eke_init() 114 pos = os_strstr(phase1, "prf="); in eap_eke_init() 121 pos = os_strstr(phase1, "mac="); in eap_eke_init()
|
| H A D | eap_teap.c | 123 pos = os_strstr(phase1, "teap_provisioning="); in eap_teap_parse_phase1() 131 pos = os_strstr(phase1, "teap_max_pac_list_len="); in eap_teap_parse_phase1() 140 if (os_strstr(phase1, "teap_pac_format=binary")) { in eap_teap_parse_phase1() 147 if (os_strstr(phase1, "teap_test_outer_tlvs=1")) in eap_teap_parse_phase1() 1838 os_strstr(cipher, "ADH-") || in eap_teap_process() 1839 os_strstr(cipher, "anon"))) { in eap_teap_process()
|
| H A D | eap_fast.c | 121 pos = os_strstr(phase1, "fast_provisioning="); in eap_fast_parse_phase1() 128 pos = os_strstr(phase1, "fast_max_pac_list_len="); in eap_fast_parse_phase1() 137 pos = os_strstr(phase1, "fast_pac_format=binary"); in eap_fast_parse_phase1() 1630 os_strstr(cipher, "ADH-") || in eap_fast_process() 1631 os_strstr(cipher, "anon"))) { in eap_fast_process()
|
| /freebsd-12.1/contrib/wpa/src/wps/ |
| H A D | wps_er_ssdp.c | 66 if (os_strstr(start, "schemas-wifialliance-org:device:" in wps_er_ssdp_rx() 69 if (os_strstr(start, "schemas-wifialliance-org:service:" in wps_er_ssdp_rx() 78 if (os_strstr(start, "ssdp:byebye")) in wps_er_ssdp_rx() 82 pos2 = os_strstr(start, "max-age="); in wps_er_ssdp_rx() 89 pos2 = os_strstr(start, "uuid:"); in wps_er_ssdp_rx()
|
| H A D | wps_common.c | 543 if (os_strstr(str, "ethernet")) in wps_config_methods_str2bin() 545 if (os_strstr(str, "label")) in wps_config_methods_str2bin() 547 if (os_strstr(str, "display")) in wps_config_methods_str2bin() 549 if (os_strstr(str, "ext_nfc_token")) in wps_config_methods_str2bin() 551 if (os_strstr(str, "int_nfc_token")) in wps_config_methods_str2bin() 553 if (os_strstr(str, "nfc_interface")) in wps_config_methods_str2bin() 555 if (os_strstr(str, "push_button")) in wps_config_methods_str2bin() 557 if (os_strstr(str, "keypad")) in wps_config_methods_str2bin() 559 if (os_strstr(str, "virtual_display")) in wps_config_methods_str2bin() 561 if (os_strstr(str, "physical_display")) in wps_config_methods_str2bin() [all …]
|
| /freebsd-12.1/contrib/wpa/hostapd/ |
| H A D | config_file.c | 1160 if (os_strstr(capab, "[LDPC]")) in hostapd_config_ht_capab() 1162 if (os_strstr(capab, "[HT40-]")) { in hostapd_config_ht_capab() 1166 if (os_strstr(capab, "[HT40+]")) { in hostapd_config_ht_capab() 1170 if (os_strstr(capab, "[HT40+]") && os_strstr(capab, "[HT40-]")) { in hostapd_config_ht_capab() 1174 if (!os_strstr(capab, "[HT40+]") && !os_strstr(capab, "[HT40-]")) in hostapd_config_ht_capab() 1184 if (os_strstr(capab, "[GF]")) in hostapd_config_ht_capab() 1228 if (os_strstr(capab, "[VHT160]")) in hostapd_config_vht_capab() 1232 if (os_strstr(capab, "[RXLDPC]")) in hostapd_config_vht_capab() 2229 if (os_strstr(val, "[SUITEB]")) in parse_tls_flags() 2286 pos2 = os_strstr(pos, "|mac="); in parse_sae_password() [all …]
|
| H A D | ctrl_iface.c | 901 pos = os_strstr(cmd, " url="); in hostapd_ctrl_iface_bss_tm_req() 918 if (os_strstr(cmd, " pref=1")) in hostapd_ctrl_iface_bss_tm_req() 926 pos = os_strstr(cmd, "mbo="); in hostapd_ctrl_iface_bss_tm_req() 1595 pos = os_strstr(param, "cf1="); in hostapd_ctrl_iface_radar() 1599 pos = os_strstr(param, "cf2="); in hostapd_ctrl_iface_radar() 1660 param = os_strstr(pos, " ok="); in hostapd_ctrl_iface_mgmt_tx_status_process() 2703 tmp = os_strstr(buf, "ssid="); in hostapd_ctrl_iface_set_neighbor() 2713 tmp = os_strstr(buf, "nr="); in hostapd_ctrl_iface_set_neighbor() 2734 tmp = os_strstr(buf, "lci="); in hostapd_ctrl_iface_set_neighbor() 2769 if (os_strstr(buf, "stat")) in hostapd_ctrl_iface_set_neighbor() [all …]
|
| /freebsd-12.1/contrib/wpa/src/eap_server/ |
| H A D | tncs.c | 657 char *pos = os_strstr(start, "<Type>"); in tncs_get_type() 671 pos = os_strstr(start, "<Base64>"); in tncs_get_base64() 676 pos2 = os_strstr(pos, "</Base64>"); in tncs_get_base64() 790 start = os_strstr(buf, "<TNCCS-Batch "); in tncs_process_if_tnccs() 791 end = os_strstr(buf, "</TNCCS-Batch>"); in tncs_process_if_tnccs() 802 pos = os_strstr(start, "BatchId="); in tncs_process_if_tnccs() 843 pos = os_strstr(start, "<IMC-IMV-Message>"); in tncs_process_if_tnccs() 847 end = os_strstr(start, "</IMC-IMV-Message>"); in tncs_process_if_tnccs() 888 pos = os_strstr(start, "<TNCC-TNCS-Message>"); in tncs_process_if_tnccs() 911 pos = os_strstr(start, "<XML>"); in tncs_process_if_tnccs() [all …]
|
| /freebsd-12.1/contrib/wpa/wpa_supplicant/ |
| H A D | ctrl_iface.c | 283 pos = os_strstr(params, "freq="); in wpas_ctrl_pno() 3206 pos = os_strstr(cmd, " freq="); in wpa_supplicant_ctrl_iface_select_network() 5343 pos = os_strstr(cmd, "delay="); in p2p_ctrl_find() 5350 pos = os_strstr(cmd, "freq="); in p2p_ctrl_find() 5359 pos = os_strstr(cmd, " seek="); in p2p_ctrl_find() 5437 pos = os_strstr(cmd, "info="); in p2p_parse_asp_provision_cmd() 5494 pos = os_strstr(cmd, "cpt="); in p2p_parse_asp_provision_cmd() 5511 pos = os_strstr(cmd, "role="); in p2p_parse_asp_provision_cmd() 6306 pos = os_strstr(cmd, " peer="); in p2p_ctrl_invite_persistent() 6321 pos = os_strstr(cmd, " freq="); in p2p_ctrl_invite_persistent() [all …]
|
| H A D | dpp_supplicant.c | 449 pos = os_strstr(cmd, " peer="); in wpas_dpp_auth_init() 461 pos = os_strstr(cmd, " tcp_port="); in wpas_dpp_auth_init() 479 pos = os_strstr(cmd, " own="); in wpas_dpp_auth_init() 497 pos = os_strstr(cmd, " role="); in wpas_dpp_auth_init() 511 pos = os_strstr(cmd, " netrole="); in wpas_dpp_auth_init() 517 pos = os_strstr(cmd, " neg_freq="); in wpas_dpp_auth_init() 2127 pos = os_strstr(cmd, " own="); in wpas_dpp_pkex_add() 2147 pos = os_strstr(cmd, " identifier="); in wpas_dpp_pkex_add() 2160 pos = os_strstr(cmd, " code="); in wpas_dpp_pkex_add() 2168 if (os_strstr(cmd, " init=1")) { in wpas_dpp_pkex_add() [all …]
|
| H A D | p2p_supplicant_sd.c | 441 os_strstr(usrv->service, str) == NULL) in wpas_sd_req_upnp() 1083 if (os_strstr(role, "[source]")) in wpas_p2p_sd_request_wifi_display() 1085 if (os_strstr(role, "[pri-sink]")) in wpas_p2p_sd_request_wifi_display() 1087 if (os_strstr(role, "[sec-sink]")) in wpas_p2p_sd_request_wifi_display() 1089 if (os_strstr(role, "[source+sink]")) in wpas_p2p_sd_request_wifi_display()
|
| H A D | ctrl_iface_udp.c | 402 pos = os_strstr(wpa_s->conf->ctrl_interface, "udp:"); 720 pos = os_strstr(global->params.ctrl_interface, "udp:");
|
| H A D | ctrl_iface_unix.c | 246 gid_str = os_strstr(dir, " GROUP="); in wpa_supplicant_ctrl_iface_path() 514 gid_str = os_strstr(dir, " GROUP="); in wpas_ctrl_iface_open_sock() 829 gid_str = os_strstr(dir, " GROUP="); in wpa_supplicant_ctrl_iface_deinit()
|
| /freebsd-12.1/contrib/wpa/src/ap/ |
| H A D | ctrl_iface_ap.c | 494 pos = os_strstr(txtaddr, " reason="); in hostapd_ctrl_iface_deauthenticate() 498 pos = os_strstr(txtaddr, " test="); in hostapd_ctrl_iface_deauthenticate() 522 pos = os_strstr(txtaddr, " p2p="); in hostapd_ctrl_iface_deauthenticate() 529 if (os_strstr(txtaddr, " tx=0")) in hostapd_ctrl_iface_deauthenticate() 557 pos = os_strstr(txtaddr, " reason="); in hostapd_ctrl_iface_disassociate() 561 pos = os_strstr(txtaddr, " test="); in hostapd_ctrl_iface_disassociate() 585 pos = os_strstr(txtaddr, " p2p="); in hostapd_ctrl_iface_disassociate() 592 if (os_strstr(txtaddr, " tx=0")) in hostapd_ctrl_iface_disassociate() 855 const char *pos2 = os_strstr(pos, " " #str "="); \ in hostapd_parse_csa_settings() 866 settings->freq_params.ht_enabled = !!os_strstr(pos, " ht"); in hostapd_parse_csa_settings() [all …]
|
| H A D | dpp_hostapd.c | 404 pos = os_strstr(cmd, " peer="); in hostapd_dpp_auth_init() 415 pos = os_strstr(cmd, " own="); in hostapd_dpp_auth_init() 434 pos = os_strstr(cmd, " role="); in hostapd_dpp_auth_init() 448 pos = os_strstr(cmd, " neg_freq="); in hostapd_dpp_auth_init() 496 if (os_strstr(cmd, " role=configurator")) in hostapd_dpp_listen() 498 else if (os_strstr(cmd, " role=enrollee")) in hostapd_dpp_listen() 503 hapd->dpp_qr_mutual = os_strstr(cmd, " qr=mutual") != NULL; in hostapd_dpp_listen() 1525 pos = os_strstr(cmd, " own="); in hostapd_dpp_pkex_add() 1545 pos = os_strstr(cmd, " identifier="); in hostapd_dpp_pkex_add() 1558 pos = os_strstr(cmd, " code="); in hostapd_dpp_pkex_add() [all …]
|
| /freebsd-12.1/contrib/wpa/src/utils/ |
| H A D | os.h | 451 char * os_strstr(const char *haystack, const char *needle); 544 #ifndef os_strstr 545 #define os_strstr(h, n) strstr((h), (n)) macro
|
| H A D | os_none.c | 232 char * os_strstr(const char *haystack, const char *needle) in os_strstr() function
|
| H A D | trace.c | 350 os_strstr(sym[i], "__libc_start_main")) in wpa_trace_dump_func()
|
| H A D | os_internal.c | 472 char * os_strstr(const char *haystack, const char *needle) in os_strstr() function
|
| /freebsd-12.1/contrib/wpa/src/fst/ |
| H A D | fst_ctrl_iface.c | 900 pos = os_strstr(endp, FST_ATTACH_CMD_PNAME_LLT); in fst_parse_attach_command() 910 pos = os_strstr(endp, FST_ATTACH_CMD_PNAME_PRIORITY); in fst_parse_attach_command()
|
| /freebsd-12.1/contrib/wpa/src/drivers/ |
| H A D | driver_privsep.c | 654 pos = os_strstr(param, "own_dir="); in wpa_driver_privsep_set_param() 672 pos = os_strstr(param, "priv_dir="); in wpa_driver_privsep_set_param()
|