Home
last modified time | relevance | path

Searched refs:match_len (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/wpa/src/wps/
H A Dwps_upnp_web.c865 int match_len; in web_get_action() local
879 match_len = os_strlen(urn_wfawlanconfig) - 1; in web_get_action()
880 if (os_strncasecmp(b, match, match_len)) in web_get_action()
882 b += match_len; in web_get_action()
992 int match_len; in web_connection_parse_subscribe() local
1034 match_len = os_strlen(match); in web_connection_parse_subscribe()
1035 if (os_strncasecmp(h, match, match_len) == 0) { in web_connection_parse_subscribe()
1036 h += match_len; in web_connection_parse_subscribe()
1040 match_len = os_strlen(match); in web_connection_parse_subscribe()
1041 if (os_strncasecmp(h, match, match_len) != 0) { in web_connection_parse_subscribe()
[all …]
H A Dupnp_xml.c193 int match_len = os_strlen(item); in xml_get_first_item() local
206 if (!os_strncasecmp(tagname, match, match_len) && in xml_get_first_item()
208 (tagname[match_len] == '>' || in xml_get_first_item()
209 !isgraph(tagname[match_len]))) { in xml_get_first_item()
/freebsd/contrib/ntp/libntp/lib/isc/win32/
H A Dinterfaceiter.c399 int match_len; in GAA_find_prefix() local
410 match_len = 0; in GAA_find_prefix()
427 if (pfx_len > match_len && pfx_len < max_len && in GAA_find_prefix()
430 match_len = pfx_len; in GAA_find_prefix()
442 nbytes = match_len / 8; in GAA_find_prefix()
443 nbits = match_len % 8; in GAA_find_prefix()
448 return ((unsigned char)match_len); in GAA_find_prefix()
/freebsd/contrib/libedit/
H A Dfilecomplete.c721 size_t matches_num, maxlen, match_len, match_display=1; in fn_complete2() local
767 match_len = strlen(matches[i]); in fn_complete2()
768 if (match_len > maxlen) in fn_complete2()
769 maxlen = match_len; in fn_complete2()
/freebsd/contrib/wpa/src/crypto/
H A Dtls_wolfssl.c673 size_t match_len, int full) in domain_suffix_match() argument
686 if (match_len > len || (full && match_len != len)) in domain_suffix_match()
689 if (os_strncasecmp(val + len - match_len, match, match_len) != 0) in domain_suffix_match()
692 if (match_len == len) in domain_suffix_match()
695 if (val[len - match_len - 1] == '.') in domain_suffix_match()
704 size_t match_len, int full) in tls_match_suffix_helper() argument
729 match_len, full) == 1) { in tls_match_suffix_helper()
761 match, match_len, full) == 1) { in tls_match_suffix_helper()
H A Dtls_openssl.c1913 size_t match_len, int full) in domain_suffix_match() argument
1925 if (match_len > len || (full && match_len != len)) in domain_suffix_match()
1928 if (os_strncasecmp((const char *) val + len - match_len, match, in domain_suffix_match()
1929 match_len) != 0) in domain_suffix_match()
1932 if (match_len == len) in domain_suffix_match()
1935 if (val[len - match_len - 1] == '.') in domain_suffix_match()
2159 size_t match_len, int full) in tls_match_suffix_helper() argument
2183 match, match_len, full) == 1) { in tls_match_suffix_helper()
2215 match, match_len, full) == 1) { in tls_match_suffix_helper()
/freebsd/contrib/wpa/src/ap/
H A Dap_drv_ops.h446 const u8 *match, size_t match_len, in hostapd_drv_register_frame() argument
452 match_len, multicast); in hostapd_drv_register_frame()
/freebsd/sys/dev/mlx5/mlx5_core/
H A Dmlx5_fs_tree.c
/freebsd/contrib/wpa/hs20/client/
H A Dosu_client.c520 size_t match_len, len, i; in server_dnsname_suffix_match() local
523 match_len = os_strlen(fqdn); in server_dnsname_suffix_match()
532 if (match_len > len) in server_dnsname_suffix_match()
535 if (os_strncasecmp(val + len - match_len, fqdn, match_len) != 0) in server_dnsname_suffix_match()
538 if (match_len == len) in server_dnsname_suffix_match()
541 if (val[len - match_len - 1] == '.') in server_dnsname_suffix_match()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_support_format_mtree.c426 int match_len = 0; in bid_keycmp() local
433 ++match_len; in bid_keycmp()
445 return (match_len); in bid_keycmp()
/freebsd/contrib/wpa/hostapd/
H A Dctrl_iface.c2432 size_t match_len; in hostapd_ctrl_register_frame() local
2441 match_len = end - pos; in hostapd_ctrl_register_frame()
2444 match_len = os_strlen(pos) / 2; in hostapd_ctrl_register_frame()
2446 if (hexstr2bin(pos, match, match_len)) in hostapd_ctrl_register_frame()
2449 return hostapd_drv_register_frame(hapd, type, match, match_len, in hostapd_ctrl_register_frame()
/freebsd/contrib/wpa/src/drivers/
H A Ddriver_nl80211.c2420 u16 type, const u8 *match, size_t match_len, in nl80211_register_frame() argument
2429 wpa_snprintf_hex(buf, sizeof(buf), match, match_len); in nl80211_register_frame()
2437 nla_put(msg, NL80211_ATTR_FRAME_MATCH, match_len, match)) { in nl80211_register_frame()
2449 match, match_len); in nl80211_register_frame()
2480 const u8 *match, size_t match_len, in nl80211_register_action_frame2() argument
2485 type, match, match_len, multicast); in nl80211_register_action_frame2()
2490 const u8 *match, size_t match_len) in nl80211_register_action_frame() argument
2492 return nl80211_register_action_frame2(bss, match, match_len, false); in nl80211_register_action_frame()
13958 const u8 *match, size_t match_len, in testing_nl80211_register_frame() argument
13967 return nl80211_register_frame(bss, handle, type, match, match_len, in testing_nl80211_register_frame()
H A Ddriver.h5218 const u8 *match, size_t match_len,