Home
last modified time | relevance | path

Searched refs:matchlen (Results 1 – 19 of 19) sorted by relevance

/linux-6.1.9/net/netfilter/ipvs/
Dip_vs_pe_sip.c32 unsigned int *matchoff, unsigned int *matchlen) in get_callid() argument
38 matchlen); in get_callid()
47 if (*matchlen > IP_VS_PEDATA_MAXLEN) in get_callid()
51 if (*matchoff + *matchlen == datalen) in get_callid()
56 if (*(dptr + *matchoff + *matchlen) != '\r' && in get_callid()
57 *(dptr + *matchoff + *matchlen) != '\n') in get_callid()
61 IP_VS_DEBUG_CALLID(dptr + *matchoff, *matchlen), in get_callid()
62 *matchlen); in get_callid()
70 unsigned int dataoff, datalen, matchoff, matchlen; in ip_vs_sip_fill_param() local
92 if (get_callid(dptr, 0, datalen, &matchoff, &matchlen)) in ip_vs_sip_fill_param()
[all …]
/linux-6.1.9/net/netfilter/
Dnf_conntrack_sip.c239 unsigned int *matchoff, unsigned int *matchlen, in ct_sip_parse_request() argument
282 *matchlen = end - dptr; in ct_sip_parse_request()
370 unsigned int *matchoff, unsigned int *matchlen) in ct_sip_get_header() argument
424 *matchlen = hdr->match_len(ct, dptr, limit, &shift); in ct_sip_get_header()
425 if (!*matchlen) in ct_sip_get_header()
438 unsigned int *matchoff, unsigned int *matchlen) in ct_sip_next_header() argument
456 *matchlen = hdr->match_len(ct, dptr, limit, &shift); in ct_sip_next_header()
457 if (!*matchlen) in ct_sip_next_header()
468 unsigned int *matchoff, unsigned int *matchlen) in ct_sip_walk_headers() argument
475 type, matchoff, matchlen); in ct_sip_walk_headers()
[all …]
Dnf_nat_sip.c37 unsigned int matchoff, unsigned int matchlen, in mangle_packet() argument
51 protoff, matchoff, matchlen, in mangle_packet()
59 protoff, matchoff, matchlen, in mangle_packet()
66 *datalen += buflen - matchlen; in mangle_packet()
95 unsigned int matchoff, unsigned int matchlen, in map_addr() argument
124 matchoff, matchlen, buffer, buflen); in map_addr()
134 unsigned int matchlen, matchoff; in map_sip_addr() local
139 &matchoff, &matchlen, &addr, &port) <= 0) in map_sip_addr()
142 matchoff, matchlen, &addr, port); in map_sip_addr()
153 unsigned int coff, matchoff, matchlen; in nf_nat_sip() local
[all …]
Dnf_nat_ftp.c68 unsigned int matchlen, in nf_nat_ftp() argument
78 pr_debug("type %i, off %u len %u\n", type, matchoff, matchlen); in nf_nat_ftp()
103 matchlen, buffer, buflen)) in nf_nat_ftp()
Dnf_nat_amanda.c32 unsigned int matchlen, in help() argument
55 protoff, matchoff, matchlen, in help()
Dnf_nat_irc.c36 unsigned int matchlen, in help() argument
77 matchlen, buffer, strlen(buffer))) { in help()
Dnf_conntrack_ftp.c51 unsigned int matchlen,
381 unsigned int matchlen, matchoff; in help() local
451 &matchoff, &matchlen, in help()
471 matchlen, fb_ptr + matchoff, in help()
472 matchlen, ntohl(th->seq) + matchoff); in help()
524 protoff, matchoff, matchlen, exp); in help()
Dnf_conntrack_amanda.c44 unsigned int matchlen,
Dnf_conntrack_irc.c37 unsigned int matchlen,
/linux-6.1.9/kernel/bpf/
Dlpm_trie.c239 size_t matchlen; in trie_lookup_elem() local
245 matchlen = longest_prefix_match(trie, node, key); in trie_lookup_elem()
246 if (matchlen == trie->max_prefixlen) { in trie_lookup_elem()
255 if (matchlen < node->prefixlen) in trie_lookup_elem()
312 size_t matchlen = 0; in trie_update_elem() local
352 matchlen = longest_prefix_match(trie, node, key); in trie_update_elem()
354 if (node->prefixlen != matchlen || in trie_update_elem()
374 if (node->prefixlen == matchlen) { in trie_update_elem()
390 if (matchlen == key->prefixlen) { in trie_update_elem()
391 next_bit = extract_bit(node->data, matchlen); in trie_update_elem()
[all …]
/linux-6.1.9/include/linux/netfilter/
Dnf_conntrack_sip.h127 unsigned int matchlen);
145 unsigned int matchlen,
171 unsigned int *matchlen, union nf_inet_addr *addr,
176 unsigned int *matchlen);
180 unsigned int *matchoff, unsigned int *matchlen,
185 unsigned int *matchlen, union nf_inet_addr *addr,
196 unsigned int *matchoff, unsigned int *matchlen);
Dnf_conntrack_amanda.h14 unsigned int matchlen,
Dnf_conntrack_irc.h15 unsigned int matchlen,
Dnf_conntrack_ftp.h34 unsigned int matchlen,
/linux-6.1.9/net/sctp/
Dipv6.c288 __u8 matchlen = 0; in sctp_v6_get_dst() local
401 if (matchlen > bmatchlen) { in sctp_v6_get_dst()
409 matchlen = bmatchlen; in sctp_v6_get_dst()
/linux-6.1.9/kernel/debug/kdb/
Dkdb_main.c252 int matchlen = strlen(match); in kdbgetenv() local
261 if ((strncmp(match, e, matchlen) == 0) in kdbgetenv()
262 && ((e[matchlen] == '\0') in kdbgetenv()
263 || (e[matchlen] == '='))) { in kdbgetenv()
/linux-6.1.9/drivers/nvme/host/
Dcore.c2680 size_t matchlen; in string_matches() local
2685 matchlen = strlen(match); in string_matches()
2686 WARN_ON_ONCE(matchlen > len); in string_matches()
2688 if (memcmp(idstr, match, matchlen)) in string_matches()
2691 for (; matchlen < len; matchlen++) in string_matches()
2692 if (idstr[matchlen] != ' ') in string_matches()
/linux-6.1.9/drivers/scsi/
Dscsi_transport_fc.c93 table[i].matchlen) == 0) { \
151 int matchlen; member
198 int matchlen; member
/linux-6.1.9/net/ipv6/
Daddrconf.c1471 int matchlen; member
1534 ret = score->matchlen; in ipv6_get_saddr_eval()
1634 score->matchlen = ret; in ipv6_get_saddr_eval()