Home
last modified time | relevance | path

Searched refs:os_strcmp (Results 1 – 25 of 105) sorted by relevance

12345

/external/wpa_supplicant_8/hostapd/
Dconfig_file.c308 if (os_strcmp(start, "TTLS-PAP") == 0) { in hostapd_config_read_eap_user()
312 if (os_strcmp(start, "TTLS-CHAP") == 0) { in hostapd_config_read_eap_user()
316 if (os_strcmp(start, "TTLS-MSCHAP") == 0) { in hostapd_config_read_eap_user()
321 if (os_strcmp(start, "TTLS-MSCHAPV2") == 0) { in hostapd_config_read_eap_user()
523 if (os_strcmp(start, "WPA-PSK") == 0) in hostapd_config_parse_key_mgmt()
525 else if (os_strcmp(start, "WPA-EAP") == 0) in hostapd_config_parse_key_mgmt()
528 else if (os_strcmp(start, "FT-PSK") == 0) in hostapd_config_parse_key_mgmt()
530 else if (os_strcmp(start, "FT-EAP") == 0) in hostapd_config_parse_key_mgmt()
534 else if (os_strcmp(start, "WPA-PSK-SHA256") == 0) in hostapd_config_parse_key_mgmt()
536 else if (os_strcmp(start, "WPA-EAP-SHA256") == 0) in hostapd_config_parse_key_mgmt()
[all …]
Dctrl_iface.c459 if (os_strcmp(txt, "disable") == 0) { in hostapd_ctrl_iface_wps_ap_pin()
464 if (os_strcmp(txt, "random") == 0) { in hostapd_ctrl_iface_wps_ap_pin()
473 if (os_strcmp(txt, "get") == 0) { in hostapd_ctrl_iface_wps_ap_pin()
480 if (os_strcmp(txt, "set") == 0) { in hostapd_ctrl_iface_wps_ap_pin()
745 if (os_strcmp(cmd, "version") == 0) { in hostapd_ctrl_iface_get()
776 if (os_strcmp(buf, "PING") == 0) in hostapd_ctrl_iface_receive()
790 if (os_strcmp(buf, "PING") == 0) { in hostapd_ctrl_iface_receive()
796 } else if (os_strcmp(buf, "MIB") == 0) { in hostapd_ctrl_iface_receive()
825 } else if (os_strcmp(buf, "STA-FIRST") == 0) { in hostapd_ctrl_iface_receive()
834 } else if (os_strcmp(buf, "ATTACH") == 0) { in hostapd_ctrl_iface_receive()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/
Dctrl_iface.c147 if (os_strcmp(cmd, "version") == 0) { in wpa_supplicant_ctrl_iface_get()
309 if (cmd == NULL || os_strcmp(cmd, "any") == 0) { in wpa_supplicant_ctrl_iface_wps_pbc()
362 if (os_strcmp(cmd, "any") == 0) in wpa_supplicant_ctrl_iface_wps_pin()
548 if (os_strcmp(cmd, "disable") == 0) { in wpa_supplicant_ctrl_iface_wps_ap_pin()
553 if (os_strcmp(cmd, "random") == 0) { in wpa_supplicant_ctrl_iface_wps_ap_pin()
562 if (os_strcmp(cmd, "get") == 0) { in wpa_supplicant_ctrl_iface_wps_ap_pin()
569 if (os_strcmp(cmd, "set") == 0) { in wpa_supplicant_ctrl_iface_wps_ap_pin()
733 if (os_strcmp(rsp, "IDENTITY") == 0) { in wpa_supplicant_ctrl_iface_ctrl_rsp()
740 } else if (os_strcmp(rsp, "PASSWORD") == 0) { in wpa_supplicant_ctrl_iface_ctrl_rsp()
747 } else if (os_strcmp(rsp, "NEW_PASSWORD") == 0) { in wpa_supplicant_ctrl_iface_ctrl_rsp()
[all …]
Dconfig.c104 if (os_strcmp(value, "NULL") == 0) { in wpa_config_parse_str()
307 if (value[0] == '\0' || os_strcmp(value, "\"\"") == 0 || in wpa_config_parse_bssid()
308 os_strcmp(value, "any") == 0) { in wpa_config_parse_bssid()
444 if (os_strcmp(start, "WPA") == 0) in wpa_config_parse_proto()
446 else if (os_strcmp(start, "RSN") == 0 || in wpa_config_parse_proto()
447 os_strcmp(start, "WPA2") == 0) in wpa_config_parse_proto()
528 if (os_strcmp(start, "WPA-PSK") == 0) in wpa_config_parse_key_mgmt()
530 else if (os_strcmp(start, "WPA-EAP") == 0) in wpa_config_parse_key_mgmt()
532 else if (os_strcmp(start, "IEEE8021X") == 0) in wpa_config_parse_key_mgmt()
534 else if (os_strcmp(start, "NONE") == 0) in wpa_config_parse_key_mgmt()
[all …]
Dctrl_iface_udp.c185 if (os_strcmp(buf, "GET_COOKIE") == 0) { in wpa_supplicant_ctrl_iface_receive()
219 if (os_strcmp(pos, "ATTACH") == 0) { in wpa_supplicant_ctrl_iface_receive()
226 } else if (os_strcmp(pos, "DETACH") == 0) { in wpa_supplicant_ctrl_iface_receive()
464 if (os_strcmp(buf, "GET_COOKIE") == 0) { in wpa_supplicant_global_ctrl_iface_receive()
/external/wpa_supplicant/
Dctrl_iface.c151 if (os_strcmp(rsp, "IDENTITY") == 0) { in wpa_supplicant_ctrl_iface_ctrl_rsp()
158 } else if (os_strcmp(rsp, "PASSWORD") == 0) { in wpa_supplicant_ctrl_iface_ctrl_rsp()
165 } else if (os_strcmp(rsp, "NEW_PASSWORD") == 0) { in wpa_supplicant_ctrl_iface_ctrl_rsp()
172 } else if (os_strcmp(rsp, "PIN") == 0) { in wpa_supplicant_ctrl_iface_ctrl_rsp()
178 } else if (os_strcmp(rsp, "OTP") == 0) { in wpa_supplicant_ctrl_iface_ctrl_rsp()
185 } else if (os_strcmp(rsp, "PASSPHRASE") == 0) { in wpa_supplicant_ctrl_iface_ctrl_rsp()
211 verbose = os_strcmp(params, "-VERBOSE") == 0; in wpa_supplicant_ctrl_iface_status()
613 if (os_strcmp(cmd, "any") == 0) { in wpa_supplicant_ctrl_iface_select_network()
800 if (os_strcmp(name, "priority") == 0) { in wpa_supplicant_ctrl_iface_set_network()
813 if ((os_strcmp(name, "psk") == 0 && in wpa_supplicant_ctrl_iface_set_network()
[all …]
Dconfig.c94 if (os_strcmp(value, "NULL") == 0) { in wpa_config_parse_str()
404 if (os_strcmp(start, "WPA") == 0) in wpa_config_parse_proto()
406 else if (os_strcmp(start, "RSN") == 0 || in wpa_config_parse_proto()
407 os_strcmp(start, "WPA2") == 0) in wpa_config_parse_proto()
486 if (os_strcmp(start, "WPA-PSK") == 0) in wpa_config_parse_key_mgmt()
488 else if (os_strcmp(start, "WPA-EAP") == 0) in wpa_config_parse_key_mgmt()
490 else if (os_strcmp(start, "IEEE8021X") == 0) in wpa_config_parse_key_mgmt()
492 else if (os_strcmp(start, "NONE") == 0) in wpa_config_parse_key_mgmt()
494 else if (os_strcmp(start, "WPA-NONE") == 0) in wpa_config_parse_key_mgmt()
605 if (os_strcmp(start, "CCMP") == 0) in wpa_config_parse_cipher()
[all …]
Dos_none.c166 return os_strcmp(s1, s2); in os_strcasecmp()
192 int os_strcmp(const char *s1, const char *s2) in os_strcmp() function
Dos.h327 int os_strcmp(const char *s1, const char *s2);
432 #ifndef os_strcmp
433 #define os_strcmp(s1, s2) strcmp((s1), (s2)) macro
/external/wpa_supplicant_6/wpa_supplicant/
Dctrl_iface.c152 if (cmd == NULL || os_strcmp(cmd, "any") == 0) in wpa_supplicant_ctrl_iface_wps_pbc()
177 if (os_strcmp(cmd, "any") == 0) in wpa_supplicant_ctrl_iface_wps_pin()
218 if (os_strcmp(cmd, "any") == 0) in wpa_supplicant_ctrl_iface_wps_reg()
262 if (os_strcmp(rsp, "IDENTITY") == 0) { in wpa_supplicant_ctrl_iface_ctrl_rsp()
269 } else if (os_strcmp(rsp, "PASSWORD") == 0) { in wpa_supplicant_ctrl_iface_ctrl_rsp()
276 } else if (os_strcmp(rsp, "NEW_PASSWORD") == 0) { in wpa_supplicant_ctrl_iface_ctrl_rsp()
283 } else if (os_strcmp(rsp, "PIN") == 0) { in wpa_supplicant_ctrl_iface_ctrl_rsp()
289 } else if (os_strcmp(rsp, "OTP") == 0) { in wpa_supplicant_ctrl_iface_ctrl_rsp()
296 } else if (os_strcmp(rsp, "PASSPHRASE") == 0) { in wpa_supplicant_ctrl_iface_ctrl_rsp()
322 verbose = os_strcmp(params, "-VERBOSE") == 0; in wpa_supplicant_ctrl_iface_status()
[all …]
Dconfig.c103 if (os_strcmp(value, "NULL") == 0) { in wpa_config_parse_str()
437 if (os_strcmp(start, "WPA") == 0) in wpa_config_parse_proto()
439 else if (os_strcmp(start, "RSN") == 0 || in wpa_config_parse_proto()
440 os_strcmp(start, "WPA2") == 0) in wpa_config_parse_proto()
521 if (os_strcmp(start, "WPA-PSK") == 0) in wpa_config_parse_key_mgmt()
523 else if (os_strcmp(start, "WPA-EAP") == 0) in wpa_config_parse_key_mgmt()
525 else if (os_strcmp(start, "IEEE8021X") == 0) in wpa_config_parse_key_mgmt()
527 else if (os_strcmp(start, "NONE") == 0) in wpa_config_parse_key_mgmt()
529 else if (os_strcmp(start, "WPA-NONE") == 0) in wpa_config_parse_key_mgmt()
532 else if (os_strcmp(start, "FT-PSK") == 0) in wpa_config_parse_key_mgmt()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new_handlers_wps.c54 if (os_strcmp(val, "enrollee") == 0) in wpas_dbus_handler_wps_role()
56 else if (os_strcmp(val, "registrar") == 0) in wpas_dbus_handler_wps_role()
85 if (os_strcmp(val, "pin") == 0) in wpas_dbus_handler_wps_type()
87 else if (os_strcmp(val, "pbc") == 0) in wpas_dbus_handler_wps_type()
156 if (os_strcmp(key, "Role") == 0) in wpas_dbus_handler_wps_start_entry()
159 else if (os_strcmp(key, "Type") == 0) in wpas_dbus_handler_wps_start_entry()
162 else if (os_strcmp(key, "Bssid") == 0) in wpas_dbus_handler_wps_start_entry()
165 else if (os_strcmp(key, "Pin") == 0) in wpas_dbus_handler_wps_start_entry()
Ddbus_old_handlers_wps.c45 if (!os_strcmp(arg_bssid, "any")) in wpas_dbus_iface_wps_pbc()
87 if (!os_strcmp(arg_bssid, "any")) in wpas_dbus_iface_wps_pin()
147 if (!os_strcmp(arg_bssid, "any")) in wpas_dbus_iface_wps_reg()
Ddbus_new_handlers_p2p.c96 if (!os_strcmp(entry.key, "Timeout") && in wpas_dbus_handler_p2p_find()
99 } else if (!os_strcmp(entry.key, "SearchOnly") && in wpas_dbus_handler_p2p_find()
102 } else if (os_strcmp(entry.key, "RequestedDeviceTypes") == 0) { in wpas_dbus_handler_p2p_find()
319 os_strcmp(iface, wpa_s->dbus_new_path) != 0) { in wpas_dbus_handler_p2p_group_add()
570 os_strcmp(iface, wpa_s->dbus_new_path) != 0) { in wpas_dbus_handler_p2p_invite()
640 if (os_strcmp(config_method, "display") && in wpas_dbus_handler_p2p_prov_disc_req()
641 os_strcmp(config_method, "keypad") && in wpas_dbus_handler_p2p_prov_disc_req()
642 os_strcmp(config_method, "pbc") && in wpas_dbus_handler_p2p_prov_disc_req()
643 os_strcmp(config_method, "pushbutton")) in wpas_dbus_handler_p2p_prov_disc_req()
821 if (os_strcmp(entry.key, "DeviceName") == 0) { in wpas_dbus_setter_p2p_device_properties()
[all …]
Ddbus_new_helpers.c210 if (os_strcmp(dbus_message_get_signature(message), "s") != 0) in properties_get_all()
222 if (os_strcmp(dbus_message_get_signature(message), "ss")) in properties_get()
238 if (os_strcmp(dbus_message_get_signature(message), "ssv")) in properties_set()
574 if (!os_strcmp(error.name, DBUS_ERROR_OBJECT_PATH_IN_USE)) { in wpa_dbus_register_object_per_iface()
639 if (os_strcmp(dsc->dbus_interface, interface) != 0) in put_changed_properties()
836 if (os_strcmp(property, dsc->dbus_property) == 0 && in wpa_dbus_mark_property_changed()
837 os_strcmp(interface, dsc->dbus_interface) == 0) { in wpa_dbus_mark_property_changed()
Ddbus_old.c192 if (os_strcmp(dbus_message_get_member(message), "properties") == 0) in wpas_dispatch_bssid_method()
283 else if (!os_strcmp(method, "wpsPbc")) in wpas_iface_message_handler()
285 else if (!os_strcmp(method, "wpsPin")) in wpas_iface_message_handler()
287 else if (!os_strcmp(method, "wpsReg")) in wpas_iface_message_handler()
290 else if (!os_strcmp(method, "flush")) in wpas_iface_message_handler()
/external/wpa_supplicant_8/src/utils/
Dtrace.c274 (os_strcmp(func, "wpa_trace_add_ref_func") == 0 || in wpa_trace_dump_func()
275 os_strcmp(func, "wpa_trace_check_ref") == 0 || in wpa_trace_dump_func()
276 os_strcmp(func, "wpa_trace_show") == 0)) in wpa_trace_dump_func()
289 os_strcmp(func, "main") == 0) in wpa_trace_dump_func()
Dos_none.c166 return os_strcmp(s1, s2); in os_strcasecmp()
192 int os_strcmp(const char *s1, const char *s2) in os_strcmp() function
Dos.h327 int os_strcmp(const char *s1, const char *s2);
439 #ifndef os_strcmp
440 #define os_strcmp(s1, s2) strcmp((s1), (s2)) macro
/external/wpa_supplicant_8/src/eap_peer/
Deap_fast_pac.c432 os_strcmp(pac_file_hdr, rc.buf) != 0) in eap_fast_load_pac()
436 if (os_strcmp(rc.buf, "START") == 0) in eap_fast_load_pac()
438 else if (os_strcmp(rc.buf, "END") == 0) { in eap_fast_load_pac()
443 else if (os_strcmp(rc.buf, "PAC-Type") == 0) in eap_fast_load_pac()
445 else if (os_strcmp(rc.buf, "PAC-Key") == 0) in eap_fast_load_pac()
447 else if (os_strcmp(rc.buf, "PAC-Opaque") == 0) in eap_fast_load_pac()
449 else if (os_strcmp(rc.buf, "A-ID") == 0) in eap_fast_load_pac()
451 else if (os_strcmp(rc.buf, "I-ID") == 0) in eap_fast_load_pac()
453 else if (os_strcmp(rc.buf, "A-ID-Info") == 0) in eap_fast_load_pac()
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
Deap_fast_pac.c432 os_strcmp(pac_file_hdr, rc.buf) != 0) in eap_fast_load_pac()
436 if (os_strcmp(rc.buf, "START") == 0) in eap_fast_load_pac()
438 else if (os_strcmp(rc.buf, "END") == 0) { in eap_fast_load_pac()
443 else if (os_strcmp(rc.buf, "PAC-Type") == 0) in eap_fast_load_pac()
445 else if (os_strcmp(rc.buf, "PAC-Key") == 0) in eap_fast_load_pac()
447 else if (os_strcmp(rc.buf, "PAC-Opaque") == 0) in eap_fast_load_pac()
449 else if (os_strcmp(rc.buf, "A-ID") == 0) in eap_fast_load_pac()
451 else if (os_strcmp(rc.buf, "I-ID") == 0) in eap_fast_load_pac()
453 else if (os_strcmp(rc.buf, "A-ID-Info") == 0) in eap_fast_load_pac()
/external/wpa_supplicant_6/wpa_supplicant/src/utils/
Dos_none.c166 return os_strcmp(s1, s2); in os_strcasecmp()
192 int os_strcmp(const char *s1, const char *s2) in os_strcmp() function
Dos.h327 int os_strcmp(const char *s1, const char *s2);
432 #ifndef os_strcmp
433 #define os_strcmp(s1, s2) strcmp((s1), (s2)) macro
/external/wpa_supplicant_8/src/eap_server/
Deap_server_methods.c55 if (os_strcmp(m->name, name) == 0) { in eap_server_get_type()
122 os_strcmp(m->name, method->name) == 0) in eap_server_method_register()
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/
Deap_methods.c55 if (os_strcmp(m->name, name) == 0) { in eap_server_get_type()
122 os_strcmp(m->name, method->name) == 0) in eap_server_method_register()

12345