Home
last modified time | relevance | path

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

123

/hostap-latest/src/eap_peer/
Deap_tls_common.c63 if (os_strstr(txt, "tls_allow_md5=1")) in eap_tls_params_flags()
65 if (os_strstr(txt, "tls_disable_time_checks=1")) in eap_tls_params_flags()
67 if (os_strstr(txt, "tls_disable_session_ticket=1")) in eap_tls_params_flags()
69 if (os_strstr(txt, "tls_disable_session_ticket=0")) in eap_tls_params_flags()
71 if (os_strstr(txt, "tls_disable_tlsv1_0=1")) in eap_tls_params_flags()
73 if (os_strstr(txt, "tls_disable_tlsv1_0=0")) { in eap_tls_params_flags()
77 if (os_strstr(txt, "tls_disable_tlsv1_1=1")) in eap_tls_params_flags()
79 if (os_strstr(txt, "tls_disable_tlsv1_1=0")) { in eap_tls_params_flags()
83 if (os_strstr(txt, "tls_disable_tlsv1_2=1")) in eap_tls_params_flags()
85 if (os_strstr(txt, "tls_disable_tlsv1_2=0")) { in eap_tls_params_flags()
[all …]
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 pos = os_strstr(phase1, "multi_ap="); in eap_wsc_init()
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()
647 pos = os_strstr(start, "<TNCCS-Recommendation "); in tncc_get_recommendation()
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()
[all …]
Deap_peap.c79 pos = os_strstr(phase1, "peapver="); in eap_peap_parse_phase1()
87 if (os_strstr(phase1, "peaplabel=1")) { in eap_peap_parse_phase1()
93 if (os_strstr(phase1, "peap_outer_success=0")) { in eap_peap_parse_phase1()
97 } else if (os_strstr(phase1, "peap_outer_success=1")) { in eap_peap_parse_phase1()
101 } else if (os_strstr(phase1, "peap_outer_success=2")) { in eap_peap_parse_phase1()
107 if (os_strstr(phase1, "crypto_binding=0")) { in eap_peap_parse_phase1()
110 } else if (os_strstr(phase1, "crypto_binding=1")) { in eap_peap_parse_phase1()
113 } else if (os_strstr(phase1, "crypto_binding=2")) { in eap_peap_parse_phase1()
118 if (os_strstr(phase1, "phase2_auth=0")) { in eap_peap_parse_phase1()
122 } else if (os_strstr(phase1, "phase2_auth=1")) { in eap_peap_parse_phase1()
[all …]
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()
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()
1957 os_strstr(cipher, "ADH-") || in eap_teap_process()
1958 os_strstr(cipher, "anon"))) { in eap_teap_process()
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()
1640 os_strstr(cipher, "ADH-") || in eap_fast_process()
1641 os_strstr(cipher, "anon"))) { in eap_fast_process()
Deap_ttls.c76 if (os_strstr(phase1, "phase2_auth=0")) { in eap_ttls_parse_phase1()
80 } else if (os_strstr(phase1, "phase2_auth=1")) { in eap_ttls_parse_phase1()
84 } else if (os_strstr(phase1, "phase2_auth=2")) { in eap_ttls_parse_phase1()
157 if (os_strstr(config->phase2, "autheap=")) { in eap_ttls_init()
/hostap-latest/src/wps/
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()
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 …]
/hostap-latest/wpa_supplicant/
Dctrl_iface.c293 pos = os_strstr(params, "freq="); in wpas_ctrl_pno()
318 if (!os_strstr(bands, "AUTO")) { in wpas_ctrl_set_band()
319 if (os_strstr(bands, "5G")) in wpas_ctrl_set_band()
321 if (os_strstr(bands, "6G")) in wpas_ctrl_set_band()
323 if (os_strstr(bands, "2G")) in wpas_ctrl_set_band()
1199 const char *pos2 = os_strstr(pos, " " #str "="); \ in wpa_supplicant_ctrl_iface_tdls_chan_switch()
1212 freq_params.ht_enabled = !!os_strstr(pos, " ht"); in wpa_supplicant_ctrl_iface_tdls_chan_switch()
1213 freq_params.vht_enabled = !!os_strstr(pos, " vht"); in wpa_supplicant_ctrl_iface_tdls_chan_switch()
1348 bool force = os_strstr(addr, " force") != NULL; in wpa_supplicant_ctrl_iface_ft_ds()
1406 pos = os_strstr(cmd, " multi_ap="); in wpa_supplicant_ctrl_iface_wps_pbc()
[all …]
Ddpp_supplicant.c131 pos = os_strstr(cmd, " own="); in wpas_dpp_nfc_handover_req()
140 pos = os_strstr(cmd, " uri="); in wpas_dpp_nfc_handover_req()
163 pos = os_strstr(cmd, " own="); in wpas_dpp_nfc_handover_sel()
172 pos = os_strstr(cmd, " uri="); in wpas_dpp_nfc_handover_sel()
853 pos = os_strstr(cmd, " peer="); in wpas_dpp_auth_init()
865 pos = os_strstr(cmd, " tcp_port="); in wpas_dpp_auth_init()
893 pos = os_strstr(cmd, " own="); in wpas_dpp_auth_init()
911 pos = os_strstr(cmd, " role="); in wpas_dpp_auth_init()
925 pos = os_strstr(cmd, " netrole="); in wpas_dpp_auth_init()
938 pos = os_strstr(cmd, " neg_freq="); in wpas_dpp_auth_init()
[all …]
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()
Dctrl_iface_udp.c418 pos = os_strstr(wpa_s->conf->ctrl_interface, "udp:");
766 pos = os_strstr(global->params.ctrl_interface, "udp:");
Dctrl_iface_unix.c259 gid_str = os_strstr(dir, " GROUP="); in wpa_supplicant_ctrl_iface_path()
527 gid_str = os_strstr(dir, " GROUP="); in wpas_ctrl_iface_open_sock()
882 gid_str = os_strstr(dir, " GROUP="); in wpa_supplicant_ctrl_iface_deinit()
/hostap-latest/src/ap/
Dctrl_iface_ap.c630 pos = os_strstr(txtaddr, " reason="); in hostapd_ctrl_iface_deauthenticate()
634 pos = os_strstr(txtaddr, " test="); in hostapd_ctrl_iface_deauthenticate()
657 pos = os_strstr(txtaddr, " p2p="); in hostapd_ctrl_iface_deauthenticate()
664 if (os_strstr(txtaddr, " tx=0")) in hostapd_ctrl_iface_deauthenticate()
692 pos = os_strstr(txtaddr, " reason="); in hostapd_ctrl_iface_disassociate()
696 pos = os_strstr(txtaddr, " test="); in hostapd_ctrl_iface_disassociate()
719 pos = os_strstr(txtaddr, " p2p="); in hostapd_ctrl_iface_disassociate()
726 if (os_strstr(txtaddr, " tx=0")) in hostapd_ctrl_iface_disassociate()
1117 const char *pos2 = os_strstr(pos, " " #str "="); \ in hostapd_parse_csa_settings()
1126 const char *pos2 = os_strstr(pos, " " #str "="); \ in hostapd_parse_csa_settings()
[all …]
Ddpp_hostapd.c110 pos = os_strstr(cmd, " own="); in hostapd_dpp_nfc_handover_req()
118 pos = os_strstr(cmd, " uri="); in hostapd_dpp_nfc_handover_req()
141 pos = os_strstr(cmd, " own="); in hostapd_dpp_nfc_handover_sel()
149 pos = os_strstr(cmd, " uri="); in hostapd_dpp_nfc_handover_sel()
317 pos = os_strstr(cmd, " own="); in hostapd_dpp_pkex_done()
336 pos = os_strstr(cmd, " role="); in hostapd_dpp_pkex_done()
846 pos = os_strstr(cmd, " peer="); in hostapd_dpp_auth_init()
858 pos = os_strstr(cmd, " tcp_port="); in hostapd_dpp_auth_init()
886 pos = os_strstr(cmd, " own="); in hostapd_dpp_auth_init()
905 pos = os_strstr(cmd, " role="); in hostapd_dpp_auth_init()
[all …]
/hostap-latest/hostapd/
Dconfig_file.c1101 if (os_strstr(capab, "[LDPC]")) in hostapd_config_ht_capab()
1103 if (os_strstr(capab, "[HT40-]")) { in hostapd_config_ht_capab()
1107 if (os_strstr(capab, "[HT40+]")) { in hostapd_config_ht_capab()
1111 if (os_strstr(capab, "[HT40+]") && os_strstr(capab, "[HT40-]")) { in hostapd_config_ht_capab()
1115 if (!os_strstr(capab, "[HT40+]") && !os_strstr(capab, "[HT40-]")) in hostapd_config_ht_capab()
1117 if (os_strstr(capab, "[GF]")) in hostapd_config_ht_capab()
1119 if (os_strstr(capab, "[SHORT-GI-20]")) in hostapd_config_ht_capab()
1121 if (os_strstr(capab, "[SHORT-GI-40]")) in hostapd_config_ht_capab()
1123 if (os_strstr(capab, "[TX-STBC]")) in hostapd_config_ht_capab()
1125 if (os_strstr(capab, "[RX-STBC1]")) { in hostapd_config_ht_capab()
[all …]
Dctrl_iface.c1182 if (!os_strstr(bands, "AUTO")) { in hostapd_ctrl_iface_set_band()
1183 if (os_strstr(bands, "5G")) in hostapd_ctrl_iface_set_band()
1185 if (os_strstr(bands, "6G")) in hostapd_ctrl_iface_set_band()
1187 if (os_strstr(bands, "2G")) in hostapd_ctrl_iface_set_band()
1586 pos = os_strstr(param, "freq="); in hostapd_ctrl_iface_radar()
1590 pos = os_strstr(param, "ht_enabled=1"); in hostapd_ctrl_iface_radar()
1594 pos = os_strstr(param, "chan_offset="); in hostapd_ctrl_iface_radar()
1598 pos = os_strstr(param, "chan_width="); in hostapd_ctrl_iface_radar()
1602 pos = os_strstr(param, "cf1="); in hostapd_ctrl_iface_radar()
1606 pos = os_strstr(param, "cf2="); in hostapd_ctrl_iface_radar()
[all …]
/hostap-latest/src/eap_server/
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()
891 end = os_strstr(start, "</TNCC-TNCS-Message>"); in tncs_process_if_tnccs()
[all …]
/hostap-latest/src/utils/
Dos.h538 char * os_strstr(const char *haystack, const char *needle);
637 #ifndef os_strstr
638 #define os_strstr(h, n) strstr((h), (n)) macro
Dos_none.c232 char * os_strstr(const char *haystack, const char *needle) in os_strstr() function
Dtrace.c361 os_strstr(sym[i], "__libc_start_main")) in wpa_trace_dump_func()
/hostap-latest/src/common/
Ddpp.c1169 pos = os_strstr(cmd, " conf=sta-"); in dpp_configuration_parse_helper()
1178 pos = os_strstr(cmd, " conf=ap-"); in dpp_configuration_parse_helper()
1187 pos = os_strstr(cmd, " conf=configurator"); in dpp_configuration_parse_helper()
1194 pos = os_strstr(cmd, " ssid="); in dpp_configuration_parse_helper()
1213 pos = os_strstr(cmd, " ssid_charset="); in dpp_configuration_parse_helper()
1223 pos = os_strstr(cmd, " pass="); in dpp_configuration_parse_helper()
1239 pos = os_strstr(cmd, " psk="); in dpp_configuration_parse_helper()
1247 pos = os_strstr(cmd, " group_id="); in dpp_configuration_parse_helper()
1261 pos = os_strstr(cmd, " expiry="); in dpp_configuration_parse_helper()
1272 pos = os_strstr(cmd, " csrattrs="); in dpp_configuration_parse_helper()
[all …]
/hostap-latest/src/crypto/
Dtls_mbedtls_alt.c672 return (NULL != os_strstr((char *)data, "-----")); in tls_mbedtls_data_is_pem()
765 …if (tls_mbedtls_data_is_pem(data) && NULL == os_strstr((char *)data, "-----BEGIN DH PARAMETERS----… in tls_mbedtls_set_dhparams()
767 if (os_strstr((char *)data, "-----BEGIN DSA PARAMETERS-----")) in tls_mbedtls_set_dhparams()
1274 char *cbc = os_strstr(buf, "CBC-"); in tls_mbedtls_set_ciphers()
1359 …if (len && data[len - 1] == '\0' && NULL == os_strstr((const char *)data, "-----BEGIN X509 CRL----… in tls_mbedtls_set_crl()
3150 …else if (tls_conf->subject_match && os_strstr(conn->peer_subject, tls_conf->subject_match) == NULL) in tls_mbedtls_verify_cb()

123