Home
last modified time | relevance | path

Searched refs:os_strstr (Results 1 – 25 of 55) sorted by relevance

123

/freebsd-13.1/contrib/wpa/src/eap_peer/
H A Deap_tls_common.c63 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 Deap_wsc.c66 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 Dtncc.c608 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()
652 pos = os_strstr(pos, " type="); in tncc_get_recommendation()
701 start = os_strstr(buf, "<TNCCS-Batch "); in tncc_process_if_tnccs()
702 end = os_strstr(buf, "</TNCCS-Batch>"); in tncc_process_if_tnccs()
713 pos = os_strstr(start, "BatchId="); in tncc_process_if_tnccs()
754 pos = os_strstr(start, "<IMC-IMV-Message>"); in tncc_process_if_tnccs()
758 end = os_strstr(start, "</IMC-IMV-Message>"); in tncc_process_if_tnccs()
822 pos = os_strstr(start, "<XML>"); in tncc_process_if_tnccs()
[all …]
H A Deap_peap.c78 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 Deap_eke.c100 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 Deap_teap.c124 pos = os_strstr(phase1, "teap_provisioning="); in eap_teap_parse_phase1()
132 pos = os_strstr(phase1, "teap_max_pac_list_len="); in eap_teap_parse_phase1()
141 if (os_strstr(phase1, "teap_pac_format=binary")) { in eap_teap_parse_phase1()
148 if (os_strstr(phase1, "teap_test_outer_tlvs=1")) in eap_teap_parse_phase1()
1950 os_strstr(cipher, "ADH-") || in eap_teap_process()
1951 os_strstr(cipher, "anon"))) { in eap_teap_process()
H A Deap_fast.c121 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()
1650 os_strstr(cipher, "ADH-") || in eap_fast_process()
1651 os_strstr(cipher, "anon"))) { in eap_fast_process()
/freebsd-13.1/contrib/wpa/src/wps/
H A Dwps_er_ssdp.c66 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 Dwps_common.c543 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-13.1/contrib/wpa/wpa_supplicant/
H A Dctrl_iface.c315 if (!os_strstr(bands, "AUTO")) { in wpas_ctrl_set_band()
316 if (os_strstr(bands, "5G")) in wpas_ctrl_set_band()
318 if (os_strstr(bands, "6G")) in wpas_ctrl_set_band()
320 if (os_strstr(bands, "2G")) in wpas_ctrl_set_band()
3399 pos = os_strstr(cmd, " freq="); in wpa_supplicant_ctrl_iface_select_network()
5725 pos = os_strstr(cmd, "freq="); in p2p_ctrl_find()
5813 pos = os_strstr(cmd, "info="); in p2p_parse_asp_provision_cmd()
5870 pos = os_strstr(cmd, "cpt="); in p2p_parse_asp_provision_cmd()
10967 pos = os_strstr(cmd, "dscp="); in set_type4_frame_classifier()
10979 if (os_strstr(pos, "udp")) { in set_type4_frame_classifier()
[all …]
H A Ddpp_supplicant.c127 pos = os_strstr(cmd, " own="); in wpas_dpp_nfc_handover_req()
136 pos = os_strstr(cmd, " uri="); in wpas_dpp_nfc_handover_req()
159 pos = os_strstr(cmd, " own="); in wpas_dpp_nfc_handover_sel()
168 pos = os_strstr(cmd, " uri="); in wpas_dpp_nfc_handover_sel()
763 pos = os_strstr(cmd, " peer="); in wpas_dpp_auth_init()
793 pos = os_strstr(cmd, " own="); in wpas_dpp_auth_init()
811 pos = os_strstr(cmd, " role="); in wpas_dpp_auth_init()
3276 pos = os_strstr(cmd, " own="); in wpas_dpp_pkex_add()
3309 pos = os_strstr(cmd, " code="); in wpas_dpp_pkex_add()
3317 if (os_strstr(cmd, " init=1") || os_strstr(cmd, " init=2")) { in wpas_dpp_pkex_add()
[all …]
H A Dp2p_supplicant_sd.c441 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 Dctrl_iface_udp.c419 pos = os_strstr(wpa_s->conf->ctrl_interface, "udp:");
767 pos = os_strstr(global->params.ctrl_interface, "udp:");
H A Dctrl_iface_unix.c256 gid_str = os_strstr(dir, " GROUP="); in wpa_supplicant_ctrl_iface_path()
524 gid_str = os_strstr(dir, " GROUP="); in wpas_ctrl_iface_open_sock()
879 gid_str = os_strstr(dir, " GROUP="); in wpa_supplicant_ctrl_iface_deinit()
/freebsd-13.1/contrib/wpa/hostapd/
H A Dconfig_file.c1067 if (os_strstr(capab, "[LDPC]")) in hostapd_config_ht_capab()
1069 if (os_strstr(capab, "[HT40-]")) { in hostapd_config_ht_capab()
1077 if (os_strstr(capab, "[HT40+]") && os_strstr(capab, "[HT40-]")) { in hostapd_config_ht_capab()
1081 if (!os_strstr(capab, "[HT40+]") && !os_strstr(capab, "[HT40-]")) in hostapd_config_ht_capab()
1083 if (os_strstr(capab, "[GF]")) in hostapd_config_ht_capab()
1126 if (os_strstr(capab, "[VHT160]")) in hostapd_config_vht_capab()
1130 if (os_strstr(capab, "[RXLDPC]")) in hostapd_config_vht_capab()
2153 if (os_strstr(val, "[SUITEB]")) in parse_tls_flags()
2210 pos2 = os_strstr(pos, "|mac="); in parse_sae_password()
2228 pos2 = os_strstr(pos, "|pk="); in parse_sae_password()
[all …]
H A Dctrl_iface.c909 pos = os_strstr(cmd, " url="); in hostapd_ctrl_iface_bss_tm_req()
926 if (os_strstr(cmd, " pref=1")) in hostapd_ctrl_iface_bss_tm_req()
934 pos = os_strstr(cmd, "mbo="); in hostapd_ctrl_iface_bss_tm_req()
1415 if (os_strstr(bands, "5G")) in hostapd_ctrl_iface_set_band()
1417 if (os_strstr(bands, "6G")) in hostapd_ctrl_iface_set_band()
1419 if (os_strstr(bands, "2G")) in hostapd_ctrl_iface_set_band()
3210 tmp = os_strstr(buf, "ssid="); in hostapd_ctrl_iface_set_neighbor()
3220 tmp = os_strstr(buf, "nr="); in hostapd_ctrl_iface_set_neighbor()
3241 tmp = os_strstr(buf, "lci="); in hostapd_ctrl_iface_set_neighbor()
3273 if (os_strstr(buf, "stat")) in hostapd_ctrl_iface_set_neighbor()
[all …]
/freebsd-13.1/contrib/wpa/src/eap_server/
H A Dtncs.c657 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()
789 start = os_strstr(buf, "<TNCCS-Batch "); in tncs_process_if_tnccs()
790 end = os_strstr(buf, "</TNCCS-Batch>"); in tncs_process_if_tnccs()
801 pos = os_strstr(start, "BatchId="); in tncs_process_if_tnccs()
842 pos = os_strstr(start, "<IMC-IMV-Message>"); in tncs_process_if_tnccs()
846 end = os_strstr(start, "</IMC-IMV-Message>"); in tncs_process_if_tnccs()
887 pos = os_strstr(start, "<TNCC-TNCS-Message>"); in tncs_process_if_tnccs()
910 pos = os_strstr(start, "<XML>"); in tncs_process_if_tnccs()
[all …]
/freebsd-13.1/contrib/wpa/src/ap/
H A Dctrl_iface_ap.c527 pos = os_strstr(txtaddr, " reason="); in hostapd_ctrl_iface_deauthenticate()
531 pos = os_strstr(txtaddr, " test="); in hostapd_ctrl_iface_deauthenticate()
554 pos = os_strstr(txtaddr, " p2p="); in hostapd_ctrl_iface_deauthenticate()
561 if (os_strstr(txtaddr, " tx=0")) in hostapd_ctrl_iface_deauthenticate()
589 pos = os_strstr(txtaddr, " reason="); in hostapd_ctrl_iface_disassociate()
593 pos = os_strstr(txtaddr, " test="); in hostapd_ctrl_iface_disassociate()
616 pos = os_strstr(txtaddr, " p2p="); in hostapd_ctrl_iface_disassociate()
623 if (os_strstr(txtaddr, " tx=0")) in hostapd_ctrl_iface_disassociate()
907 const char *pos2 = os_strstr(pos, " " #str "="); \ in hostapd_parse_csa_settings()
918 settings->freq_params.ht_enabled = !!os_strstr(pos, " ht"); in hostapd_parse_csa_settings()
[all …]
H A Ddpp_hostapd.c102 pos = os_strstr(cmd, " own="); in hostapd_dpp_nfc_handover_req()
110 pos = os_strstr(cmd, " uri="); in hostapd_dpp_nfc_handover_req()
133 pos = os_strstr(cmd, " own="); in hostapd_dpp_nfc_handover_sel()
141 pos = os_strstr(cmd, " uri="); in hostapd_dpp_nfc_handover_sel()
562 pos = os_strstr(cmd, " peer="); in hostapd_dpp_auth_init()
592 pos = os_strstr(cmd, " own="); in hostapd_dpp_auth_init()
611 pos = os_strstr(cmd, " role="); in hostapd_dpp_auth_init()
2133 pos = os_strstr(cmd, " own="); in hostapd_dpp_pkex_add()
2166 pos = os_strstr(cmd, " code="); in hostapd_dpp_pkex_add()
2174 if (os_strstr(cmd, " init=1") || os_strstr(cmd, " init=2")) { in hostapd_dpp_pkex_add()
[all …]
/freebsd-13.1/contrib/wpa/src/utils/
H A Dos.h451 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 Dos_none.c232 char * os_strstr(const char *haystack, const char *needle) in os_strstr() function
H A Dtrace.c361 os_strstr(sym[i], "__libc_start_main")) in wpa_trace_dump_func()
H A Dos_internal.c478 char * os_strstr(const char *haystack, const char *needle) in os_strstr() function
/freebsd-13.1/contrib/wpa/src/common/
H A Ddpp.c1002 pos = os_strstr(cmd, " conf=sta-"); in dpp_configuration_parse_helper()
1011 pos = os_strstr(cmd, " conf=ap-"); in dpp_configuration_parse_helper()
1027 pos = os_strstr(cmd, " ssid="); in dpp_configuration_parse_helper()
1056 pos = os_strstr(cmd, " pass="); in dpp_configuration_parse_helper()
1072 pos = os_strstr(cmd, " psk="); in dpp_configuration_parse_helper()
1080 pos = os_strstr(cmd, " group_id="); in dpp_configuration_parse_helper()
1094 pos = os_strstr(cmd, " expiry="); in dpp_configuration_parse_helper()
1105 pos = os_strstr(cmd, " csrattrs="); in dpp_configuration_parse_helper()
1224 pos = os_strstr(cmd, " conn_status="); in dpp_set_configurator()
3885 if (os_strstr(cmd, "type=qrcode")) in dpp_bootstrap_gen()
[all …]
/freebsd-13.1/contrib/wpa/src/fst/
H A Dfst_ctrl_iface.c900 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()

123