Searched refs:os_strncmp (Results 1 - 25 of 64) sorted by relevance

123

/freebsd-11-stable/contrib/wpa/wpa_supplicant/dbus/
H A Ddbus_new_helpers.c32 if (os_strncmp(dsc->dbus_interface, interface,
143 return !os_strncmp(registered_sig, sig, MAX_SIG_LEN);
254 if (!os_strncmp(property_dsc->dbus_property, property,
256 !os_strncmp(property_dsc->dbus_interface, interface,
270 if (os_strncmp(WPA_DBUS_PROPERTIES_GET, method,
292 if (!os_strncmp(WPA_DBUS_PROPERTIES_GET, method,
294 !os_strncmp(WPA_DBUS_PROPERTIES_SET, method,
296 !os_strncmp(WPA_DBUS_PROPERTIES_GETALL, method,
307 if (!os_strncmp(WPA_DBUS_PROPERTIES_GETALL, method,
334 if (!os_strncmp(method_ds
[all...]
/freebsd-11-stable/contrib/wpa/hostapd/
H A Dctrl_iface.c1425 } else if (os_strncmp(cmd, "wme_ac_", 7) == 0 ||
1426 os_strncmp(cmd, "wmm_ac_", 7) == 0) {
1993 if (os_strncmp(cmd, "ifname=", 7) == 0) {
2658 if (os_strncmp(pos, "req_mode=", 9) == 0) {
2951 } else if (os_strncmp(buf, "RELOG", 5) == 0) {
2954 } else if (os_strncmp(buf, "NOTE ", 5) == 0) {
2990 } else if (os_strncmp(buf, "MIB ", 4) == 0) {
2996 } else if (os_strncmp(buf, "STA ", 4) == 0) {
2999 } else if (os_strncmp(buf, "STA-NEXT ", 9) == 0) {
3005 } else if (os_strncmp(bu
[all...]
H A Dconfig_file.c303 if (os_strncmp(fname, "sqlite:", 7) == 0) {
339 if (user && os_strncmp(buf, "radius_accept_attr=", 19) == 0) {
485 if (os_strncmp(pos, "[ver=0]", 7) == 0) {
490 if (os_strncmp(pos, "[ver=1]", 7) == 0) {
495 if (os_strncmp(pos, "[2]", 3) == 0) {
521 } else if (os_strncmp(pos, "hash:", 5) == 0) {
546 } else if (os_strncmp(pos, "ssha1:", 6) == 0) {
552 } else if (os_strncmp(pos, "ssha256:", 8) == 0) {
558 } else if (os_strncmp(pos, "ssha512:", 8) == 0) {
592 if (os_strncmp(po
[all...]
H A Dhlr_auc_gw.c868 if (os_strncmp(cmd, "SIM-REQ-AUTH ", 13) == 0)
871 if (os_strncmp(cmd, "GSM-AUTH-REQ ", 13) == 0)
874 if (os_strncmp(cmd, "AKA-REQ-AUTH ", 13) == 0)
877 if (os_strncmp(cmd, "AKA-AUTS ", 9) == 0)
/freebsd-11-stable/contrib/wpa/src/utils/
H A Dos_none.c193 return os_strncmp(s1, s2, n);
215 int os_strncmp(const char *s1, const char *s2, size_t n) function
H A Dbrowser-system.c43 } else if (os_strncmp(url, "/osu/", 5) == 0) {
H A Dext_password_test.c58 if (os_strncmp(pos, name, nlen) == 0 && pos[nlen] == '=') {
H A Dbrowser-android.c43 } else if (os_strncmp(url, "/osu/", 5) == 0) {
H A Dbrowser-wpadebug.c43 } else if (os_strncmp(url, "/osu/", 5) == 0) {
H A Dos.h435 * os_strncmp - Compare two strings
443 int os_strncmp(const char *s1, const char *s2, size_t n);
538 #ifndef os_strncmp
539 #define os_strncmp(s1, s2, n) strncmp((s1), (s2), (n)) macro
H A Dos_internal.c371 return os_strncmp(s1, s2, n);
414 int os_strncmp(const char *s1, const char *s2, size_t n) function
476 if (os_strncmp(haystack, needle, len) == 0)
H A Djson.c362 os_strncmp(pos, "true", 4) == 0) ||
364 os_strncmp(pos, "false", 5) == 0) ||
366 os_strncmp(pos, "null", 4) == 0))) {
/freebsd-11-stable/contrib/wpa/wpa_supplicant/
H A Dctrl_iface.c125 if (os_strncmp(pos, "bssid ", 6) == 0) {
146 } else if (os_strncmp(pos, "ssid ", 5) == 0) {
382 if (os_strncmp(cmd, "2G", 2) == 0)
384 else if (os_strncmp(cmd, "5G", 2) == 0)
1175 os_strncmp(cmd, "any ", 4) == 0) {
1178 } else if (os_strncmp(cmd, "p2p_dev_addr=", 13) == 0) {
1187 } else if (os_strncmp(cmd, "multi_ap=", 9) == 0) {
2429 if (os_strncmp(cmd, "clear", 5) == 0) {
2521 if (cmd != NULL && os_strncmp(cmd, "LAST_ID=", 8) == 0) {
3186 if (os_strncmp(cm
[all...]
H A Dbgscan.c48 if (os_strncmp(name, bgscan_modules[i]->name, nlen) == 0) {
H A Dctrl_iface_unix.c84 if (len >= 5 && os_strncmp(buf, "PONG\n", 5) == 0)
165 } else if (os_strncmp(buf, "LEVEL ", 6) == 0) {
243 if (os_strncmp(pbuf, "DIR=", 4) == 0) {
512 if (os_strncmp(buf, "DIR=", 4) == 0) {
717 } else if (os_strncmp(wpa_s->global->params.ctrl_interface,
719 os_strncmp(wpa_s->global->params.ctrl_interface,
826 if (os_strncmp(buf, "DIR=", 4) == 0) {
1121 if (os_strncmp(ctrl, "@android:", 9) == 0) {
1134 if (os_strncmp(ctrl, "@abstract:", 10) != 0) {
1163 if (os_strncmp(ctr
[all...]
H A Dautoscan.c74 if (os_strncmp(name, autoscan_modules[i]->name, nlen) == 0) {
H A Dctrl_iface_udp.c282 if (os_strncmp(buf, "COOKIE=", 7) != 0) {
318 } else if (os_strncmp(pos, "LEVEL ", 6) == 0) {
646 if (os_strncmp(buf, "COOKIE=", 7) != 0) {
H A Dbgscan_learn.c118 os_strncmp(buf, "wpa_supplicant-bgscan-learn\n", 28) != 0) {
126 if (os_strncmp(buf, "BSS ", 4) == 0) {
141 if (os_strncmp(buf, "NEIGHBOR ", 9) == 0) {
/freebsd-11-stable/contrib/wpa/src/wps/
H A Dwps_er_ssdp.c49 if (os_strncmp(buf, "HTTP/1.1 200 OK", 15) != 0)
53 if (os_strncmp(buf, "NOTIFY ", 7) != 0)
H A Dhttp_client.c248 if (os_strncmp(url, "http://", 7) != 0)
329 if (os_strncmp(url, "http://", 7) == 0)
332 if (os_strncmp(base, "http://", 7) != 0)
/freebsd-11-stable/contrib/wpa/src/eap_peer/
H A Deap_wsc.c87 if (os_strncmp(pos + 9, "OPEN", 4) == 0)
89 else if (os_strncmp(pos + 9, "WPAPSK", 6) == 0)
91 else if (os_strncmp(pos + 9, "WPA2PSK", 7) == 0)
103 if (os_strncmp(pos + 9, "NONE", 4) == 0)
106 else if (os_strncmp(pos + 9, "WEP", 3) == 0)
109 else if (os_strncmp(pos + 9, "TKIP", 4) == 0)
111 else if (os_strncmp(pos + 9, "CCMP", 4) == 0)
200 os_strncmp((const char *) cfg.pin, "nfc-pw", 6) == 0) {
H A Deap_mschapv2.c411 if (pos && os_strncmp(pos, "E=", 2) == 0) {
421 if (pos && os_strncmp(pos, "R=", 2) == 0) {
431 if (pos && os_strncmp(pos, "C=", 2) == 0) {
459 if (pos && os_strncmp(pos, "V=", 2) == 0) {
469 if (pos && os_strncmp(pos, "M=", 2) == 0) {
/freebsd-11-stable/contrib/wpa/src/ap/
H A Dvlan_ioctl.c97 os_strncmp(if_request.u.device2, if_name,
/freebsd-11-stable/contrib/wpa/src/crypto/
H A Dtls_wolfssl.c609 if (os_strncmp(pos, "EMAIL:", 6) == 0) {
612 } else if (os_strncmp(pos, "DNS:", 4) == 0) {
615 } else if (os_strncmp(pos, "URI:", 4) == 0) {
626 if (os_strncmp(end + 1, "EMAIL:", 6) == 0 ||
627 os_strncmp(end + 1, "DNS:", 4) == 0 ||
628 os_strncmp(end + 1, "URI:", 4) == 0)
1144 if (ca_cert && os_strncmp(ca_cert, "probe://", 8) == 0) {
1152 if (ca_cert && os_strncmp(ca_cert, "hash://", 7) == 0) {
1156 if (os_strncmp(pos, "server/sha256/", 14) != 0) {
H A Dtls_openssl.c1714 if (os_strncmp(pos, "EMAIL:", 6) == 0) {
1717 } else if (os_strncmp(pos, "DNS:", 4) == 0) {
1720 } else if (os_strncmp(pos, "URI:", 4) == 0) {
1730 if (os_strncmp(end + 1, "EMAIL:", 6) == 0 ||
1731 os_strncmp(end + 1, "DNS:", 4) == 0 ||
1732 os_strncmp(end + 1, "URI:", 4) == 0)
2605 if (ca_cert && os_strncmp(ca_cert, "probe://", 8) == 0) {
2613 if (ca_cert && os_strncmp(ca_cert, "hash://", 7) == 0) {
2616 if (os_strncmp(pos, "server/sha256/", 14) != 0) {
2692 if (ca_cert && os_strncmp("keystor
[all...]

Completed in 310 milliseconds

123