Home
last modified time | relevance | path

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

/linux/net/netfilter/ipvs/
H A 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/net/netfilter/
H A 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()
508 ct_sip_parse_header_uri(const struct nf_conn * ct,const char * dptr,unsigned int * dataoff,unsigned int datalen,enum sip_header_types type,int * in_header,unsigned int * matchoff,unsigned int * matchlen,union nf_inet_addr * addr,__be16 * port) ct_sip_parse_header_uri() argument
541 ct_sip_parse_param(const struct nf_conn * ct,const char * dptr,unsigned int dataoff,unsigned int datalen,const char * name,unsigned int * matchoff,unsigned int * matchlen) ct_sip_parse_param() argument
569 ct_sip_parse_address_param(const struct nf_conn * ct,const char * dptr,unsigned int dataoff,unsigned int datalen,const char * name,unsigned int * matchoff,unsigned int * matchlen,union nf_inet_addr * addr,bool delim) ct_sip_parse_address_param() argument
596 ct_sip_parse_numerical_param(const struct nf_conn * ct,const char * dptr,unsigned int dataoff,unsigned int datalen,const char * name,unsigned int * matchoff,unsigned int * matchlen,unsigned int * val) ct_sip_parse_numerical_param() argument
627 unsigned int matchoff, matchlen; ct_sip_parse_transport() local
731 ct_sip_get_sdp_header(const struct nf_conn * ct,const char * dptr,unsigned int dataoff,unsigned int datalen,enum sdp_header_types type,enum sdp_header_types term,unsigned int * matchoff,unsigned int * matchlen) ct_sip_get_sdp_header() argument
785 ct_sip_parse_sdp_addr(const struct nf_conn * ct,const char * dptr,unsigned int dataoff,unsigned int datalen,enum sdp_header_types type,enum sdp_header_types term,unsigned int * matchoff,unsigned int * matchlen,union nf_inet_addr * addr) ct_sip_parse_sdp_addr() argument
1011 sdp_media_type(const char * dptr,unsigned int matchoff,unsigned int matchlen) sdp_media_type() argument
1033 unsigned int matchoff, matchlen; process_sdp() local
1228 unsigned int matchoff, matchlen; process_register_request() local
1334 unsigned int matchoff, matchlen, coff = 0; process_register_response() local
1414 unsigned int matchoff, matchlen, matchend; process_sip_response() local
1460 unsigned int matchoff, matchlen; process_sip_request() local
1537 unsigned int matchoff, matchlen, clen; sip_help_tcp() local
[all...]
H A 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
378 nf_nat_sip_expect(struct sk_buff * skb,unsigned int protoff,unsigned int dataoff,const char ** dptr,unsigned int * datalen,struct nf_conntrack_expect * exp,unsigned int matchoff,unsigned int matchlen) nf_nat_sip_expect() argument
441 unsigned int matchoff, matchlen; mangle_content_len() local
472 unsigned int matchlen, matchoff; mangle_sdp_packet() local
506 nf_nat_sdp_port(struct sk_buff * skb,unsigned int protoff,unsigned int dataoff,const char ** dptr,unsigned int * datalen,unsigned int matchoff,unsigned int matchlen,u_int16_t port) nf_nat_sdp_port() argument
[all...]
H A 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()
H A Dnf_nat_amanda.c32 unsigned int matchlen, in help() argument
55 protoff, matchoff, matchlen, in help()
H A Dnf_nat_irc.c36 unsigned int matchlen, in help() argument
77 matchlen, buffer, strlen(buffer))) { in help()
H A 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()
H A Dnf_conntrack_amanda.c44 unsigned int matchlen,
H A Dnf_conntrack_irc.c37 unsigned int matchlen,
206 * (21+MINMATCHLEN)-7-dccprotos[i].matchlen bytes valid in help()
/linux/kernel/bpf/
H A Dlpm_trie.c252 size_t matchlen; in trie_lookup_elem() local
258 matchlen = __longest_prefix_match(trie, node, key); in trie_lookup_elem()
259 if (matchlen == trie->max_prefixlen) { in trie_lookup_elem()
268 if (matchlen < node->prefixlen) in trie_lookup_elem()
332 size_t matchlen = 0; in trie_update_elem() local
363 matchlen = longest_prefix_match(trie, node, key); in trie_update_elem()
365 if (node->prefixlen != matchlen || in trie_update_elem()
388 if (node->prefixlen == matchlen) { in trie_update_elem()
416 if (matchlen == key->prefixlen) { in trie_update_elem()
417 next_bit = extract_bit(node->data, matchlen); in trie_update_elem()
466 size_t matchlen = 0; trie_delete_elem() local
664 size_t matchlen = 0; trie_get_next_key() local
[all...]
/linux/include/linux/netfilter/
H A 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);
H A Dnf_conntrack_amanda.h14 unsigned int matchlen,
H A Dnf_conntrack_irc.h15 unsigned int matchlen,
H A Dnf_conntrack_ftp.h34 unsigned int matchlen,
/linux/kernel/debug/kdb/
H A Dkdb_main.c237 int matchlen = strlen(match); in kdbgetenv() local
246 if ((strncmp(match, e, matchlen) == 0) in kdbgetenv()
247 && ((e[matchlen] == '\0') in kdbgetenv()
248 || (e[matchlen] == '='))) { in kdbgetenv()
/linux/drivers/nvme/host/
H A Dcore.c3041 size_t matchlen; in string_matches() local
3046 matchlen = strlen(match); in string_matches()
3047 WARN_ON_ONCE(matchlen > len); in string_matches()
3049 if (memcmp(idstr, match, matchlen)) in string_matches()
3052 for (; matchlen < len; matchlen++) in string_matches()
3053 if (idstr[matchlen] != ' ') in string_matches()
/linux/drivers/scsi/
H A Dscsi_transport_fc.c93 table[i].matchlen) == 0) { \
152 int matchlen; member
199 int matchlen; member
/linux/net/ipv6/
H A Daddrconf.c1532 int matchlen; member
1598 ret = score->matchlen; in ipv6_get_saddr_eval()
1698 score->matchlen = ret; in ipv6_get_saddr_eval()