Home
last modified time | relevance | path

Searched refs:strncmp (Results 1 – 18 of 18) sorted by relevance

/hostap-latest/src/common/
Dwpa_helpers.c53 if (strncmp(buf, "FAIL", 4) == 0) { in wpa_command()
142 (strncmp(pos + 1, event, strlen(event)) == 0 || in get_wpa_cli_event2()
144 strncmp(pos + 1, event2, strlen(event2)) == 0))) in get_wpa_cli_event2()
193 if (strncmp(pos, field, flen) != 0 || pos[flen] != '=') { in get_wpa_status()
225 if (strncmp(ip, "169.254.", 8) != 0) in wait_ip_addr()
Dwpa_ctrl.c575 (res > 6 && strncmp(reply, "IFNAME=", 7) == 0)) { in wpa_ctrl_request()
/hostap-latest/wpa_supplicant/
Dwpa_cli_zephyr.c79 if (strncmp(resp, "FAIL", 4) == 0) in _wpa_ctrl_command()
154 if (strncmp(msg->msg, "CTRL-EVENT", 10) == 0) { in wpa_cli_recv_pending()
155 if (strncmp(msg->msg, "CTRL-EVENT-SIGNAL-CHANGE", 24) == 0) { in wpa_cli_recv_pending()
164 } else if (strncmp(msg->msg, "RRM-NEIGHBOR-REP-RECEIVED", 25) == 0) { in wpa_cli_recv_pending()
/hostap-latest/wpa_supplicant/wpa_gui-qt4/
Dnetworkconfig.cpp407 if (strncmp(reply, "OK", 2) != 0) { in addNetwork()
436 return strncmp(reply, "OK", 2) == 0 ? 0 : -1; in setNetworkParam()
653 if (strncmp(reply, "\"auth=", 6)) in paramsFromConfig()
659 if (strncmp(reply, "\"autheap=", 9) == 0) { in paramsFromConfig()
662 } else if (strncmp(reply, "\"auth=", 6) == 0) in paramsFromConfig()
666 if (strncmp(reply, "\"auth=", 6)) in paramsFromConfig()
806 if (strncmp(reply, "OK", 2) != 0) { in removeNetwork()
Dpeers.cpp472 if (strncmp(reply, "FAIL", 4) == 0 || in add_stations()
473 strncmp(reply, "UNKNOWN", 7) == 0) in add_stations()
504 if (strncmp(reply, "FAIL", 4) == 0 || in add_single_station()
505 strncmp(reply, "UNKNOWN", 7) == 0) in add_single_station()
Dwpagui.cpp930 return strncmp(a, b, strlen(b)) == 0; in str_match()
960 if (strncmp(pos, "CTRL-", 5) == 0) { in processMsg()
/hostap-latest/src/utils/
Dos.h632 #define os_strncmp(s1, s2, n) strncmp((s1), (s2), (n))
748 #undef strncmp
749 #define strncmp OS_DO_NOT_USE_strncmp macro
Dedit_readline.c54 if (strncmp(pending_completions[pos], text, len) == 0) in readline_completion_func()
Dxml_libxml2.c218 if (strncmp(pos, "<?xml", 5) == 0) { in xml_node_to_str()
/hostap-latest/hs20/server/www/
Dremediation.php37 $cert = $user['methods'] == "TLS" || strncmp($username, "cert-", 5) == 0;
Dusers.php204 if (strncmp($row['identity'], "cert-", 5) != 0)
/hostap-latest/hostapd/
Dhostapd_cli_zephyr.c197 if (strncmp(resp, "FAIL", 4) == 0) in _wpa_ctrl_command()
278 if (strncmp(msg->msg, "DPP", 3) == 0) { in hostapd_cli_recv_pending()
Dhlr_auc_gw.c529 if (strncmp(buf, m->imsi, imsi_len) == 0 && in update_milenage_file()
/hostap-latest/hs20/client/
Dosu_client.c561 if (strncmp(uri, "./Wi-Fi/", 8) != 0) { in hs20_add_pps_mo()
2035 if (strncmp(buf, "OSU-PROVIDER ", 13) == 0) { in parse_osu_providers()
2051 if (strncmp(buf, "uri=", 4) == 0) { in parse_osu_providers()
2059 if (strncmp(buf, "methods=", 8) == 0) { in parse_osu_providers()
2064 if (strncmp(buf, "osu_ssid=", 9) == 0) { in parse_osu_providers()
2073 if (strncmp(buf, "osu_ssid2=", 10) == 0) { in parse_osu_providers()
2099 if (strncmp(buf, "friendly_name=", 14) == 0) { in parse_osu_providers()
2118 if (strncmp(buf, "desc=", 5) == 0) { in parse_osu_providers()
2137 if (strncmp(buf, "icon=", 5) == 0) { in parse_osu_providers()
/hostap-latest/src/wps/
Dhttpread.c284 if (0 == strncmp(hbp, "HTTP/", 5)) { in httpread_hdr_analyze()
/hostap-latest/src/crypto/
Dtls_openssl.c529 if (strncmp(name, "cert://", 7) == 0) { in cryptoapi_find_cert()
536 } else if (strncmp(name, "hash://", 7) == 0) { in cryptoapi_find_cert()
570 (strncmp(name, "cert://", 7) != 0 && in tls_cryptoapi_cert()
571 strncmp(name, "hash://", 7) != 0)) in tls_cryptoapi_cert()
674 if (name == NULL || strncmp(name, "cert_store://", 13) != 0) in tls_cryptoapi_ca_cert()
/hostap-latest/src/drivers/
Ddriver_hostap.c798 if (strncmp(custom, "MLME-MICHAELMICFAILURE.indication", 33) == 0) { in hostapd_wireless_event_wireless_custom()
Ddriver_atheros.c1266 } else if (strncmp(custom, "STA-TRAFFIC-STAT", 16) == 0) { in atheros_wireless_event_wireless_custom()