Searched refs:os_strncmp (Results 1 - 25 of 64) sorted by last modified time

123

/freebsd-11-stable/contrib/wpa/src/wps/
H A Dwps_er.c1191 if (os_strncmp(uri, "/event/", 7) == 0) {
1274 if (filter && os_strncmp(filter, "ifname=", 7) == 0) {
H A Dwps_registrar.c2773 os_strncmp(wps->peer_dev.manufacturer, "Apple ", 6) == 0 &&
/freebsd-11-stable/contrib/wpa/wpa_supplicant/
H A Dwpa_supplicant.c4142 os_strncmp(driver, wpa_drivers[i]->name, len) ==
H A Dwpa_cli.c3918 if (os_strncmp(pos, "IFNAME=", 7) == 0) {
H A Dp2p_supplicant.c2037 if (os_strncmp(wpa_s->ifname, P2P_MGMT_DEVICE_PREFIX,
6755 } else if (os_strncmp(config_method, "display", 7) == 0)
6757 else if (os_strncmp(config_method, "keypad", 6) == 0)
6759 else if (os_strncmp(config_method, "pbc", 3) == 0 ||
6760 os_strncmp(config_method, "pushbutton", 10) == 0)
H A Dinterworking.c1517 os_strncmp(cred->private_key, "keystore://", 11) == 0) {
H A Ddpp_supplicant.c500 if (os_strncmp(pos, "configurator", 12) == 0)
502 else if (os_strncmp(pos, "enrollee", 8) == 0)
504 else if (os_strncmp(pos, "either", 6) == 0)
514 wpa_s->dpp_netrole_ap = os_strncmp(pos, "ap", 2) == 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 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 Dctrl_iface_named_pipe.c301 } else if (os_strncmp(buf, "LEVEL ", 6) == 0) {
388 if (os_strncmp(params, "SDDL=", 5) == 0)
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 Dconfig_file.c452 } else if (os_strncmp(pos, "blob-base64-", 12) == 0) {
H A Dconfig.c493 if (os_strncmp(value, "ext:", 4) == 0) {
1615 if (os_strncmp(value, "ext:", 4) == 0) {
1628 if (os_strncmp(value, "hash:", 5) != 0) {
1917 if (os_strncmp(pos, "P2P-", 4) == 0) {
3322 os_strncmp(value, "ext:", 4) == 0) {
4958 if (os_strncmp(pos, field->name, flen) != 0 ||
4974 if (os_strncmp(pos, "wmm_ac_", 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) {
H A Dbgscan.c48 if (os_strncmp(name, bgscan_modules[i]->name, nlen) == 0) {
H A Dautoscan.c74 if (os_strncmp(name, autoscan_modules[i]->name, nlen) == 0) {
/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/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 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 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 Djson.c362 os_strncmp(pos, "true", 4) == 0) ||
364 os_strncmp(pos, "false", 5) == 0) ||
366 os_strncmp(pos, "null", 4) == 0))) {
H A Dbrowser-wpadebug.c43 } else if (os_strncmp(url, "/osu/", 5) == 0) {
/freebsd-11-stable/contrib/wpa/src/tls/
H A Dtlsv1_cred.c198 if (cert && os_strncmp(cert, "hash://", 7) == 0) {
200 if (os_strncmp(pos, "server/sha256/", 14) != 0) {
226 if (cert && os_strncmp(cert, "probe://", 8) == 0) {
/freebsd-11-stable/contrib/wpa/src/radius/
H A Dradius_server.c676 if (os_strncmp(pos, "tls-", 4) == 0)
2912 if (os_strncmp(pos, "disconnect ", 11) == 0) {
2915 } else if (os_strncmp(req, "coa ", 4) == 0) {
/freebsd-11-stable/contrib/wpa/src/p2p/
H A Dp2p_build.c467 if (os_strncmp(adv->svc_name, P2PS_WILD_HASH_STR,

Completed in 361 milliseconds

123