Home
last modified time | relevance | path

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

/Linux-v5.4/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-v5.4/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()
116 matchlen, buffer, buflen)) in nf_nat_ftp()
Dnf_nat_amanda.c32 unsigned int matchlen, in help() argument
67 protoff, matchoff, matchlen, in help()
Dnf_conntrack_ftp.c55 unsigned int matchlen,
385 unsigned int uninitialized_var(matchlen), uninitialized_var(matchoff); in help()
452 &matchoff, &matchlen, in help()
472 matchlen, fb_ptr + matchoff, in help()
473 matchlen, ntohl(th->seq) + matchoff); in help()
525 protoff, matchoff, matchlen, exp); in help()
Dnf_nat_irc.c36 unsigned int matchlen, in help() argument
89 matchlen, buffer, strlen(buffer))) { in help()
Dnf_conntrack_amanda.c44 unsigned int matchlen,
Dnf_conntrack_irc.c37 unsigned int matchlen,
/Linux-v5.4/kernel/bpf/
Dlpm_trie.c237 size_t matchlen; in trie_lookup_elem() local
243 matchlen = longest_prefix_match(trie, node, key); in trie_lookup_elem()
244 if (matchlen == trie->max_prefixlen) { in trie_lookup_elem()
253 if (matchlen < node->prefixlen) in trie_lookup_elem()
309 size_t matchlen = 0; in trie_update_elem() local
349 matchlen = longest_prefix_match(trie, node, key); in trie_update_elem()
351 if (node->prefixlen != matchlen || in trie_update_elem()
371 if (node->prefixlen == matchlen) { in trie_update_elem()
387 if (matchlen == key->prefixlen) { in trie_update_elem()
388 next_bit = extract_bit(node->data, matchlen); in trie_update_elem()
[all …]
/Linux-v5.4/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-v5.4/net/sctp/
Dipv6.c239 __u8 matchlen = 0; in sctp_v6_get_dst() local
345 if (matchlen > bmatchlen) { in sctp_v6_get_dst()
353 matchlen = bmatchlen; in sctp_v6_get_dst()
/Linux-v5.4/kernel/debug/kdb/
Dkdb_main.c232 int matchlen = strlen(match); in kdbgetenv() local
241 if ((strncmp(match, e, matchlen) == 0) in kdbgetenv()
242 && ((e[matchlen] == '\0') in kdbgetenv()
243 || (e[matchlen] == '='))) { in kdbgetenv()
/Linux-v5.4/drivers/nvme/host/
Dcore.c2423 size_t matchlen; in string_matches() local
2428 matchlen = strlen(match); in string_matches()
2429 WARN_ON_ONCE(matchlen > len); in string_matches()
2431 if (memcmp(idstr, match, matchlen)) in string_matches()
2434 for (; matchlen < len; matchlen++) in string_matches()
2435 if (idstr[matchlen] != ' ') in string_matches()
/Linux-v5.4/drivers/scsi/
Dscsi_transport_fc.c87 table[i].matchlen) == 0) { \
189 int matchlen; member
/Linux-v5.4/net/ipv6/
Daddrconf.c1462 int matchlen; member
1525 ret = score->matchlen; in ipv6_get_saddr_eval()
1625 score->matchlen = ret; in ipv6_get_saddr_eval()