Home
last modified time | relevance | path

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

/linux/net/netfilter/
H A Dnf_conntrack_sip.c332 unsigned int *matchoff, unsigned int *matchlen, in ct_sip_parse_request() argument
368 *matchlen = end - dptr; in ct_sip_parse_request()
456 unsigned int *matchoff, unsigned int *matchlen) in ct_sip_get_header() argument
510 *matchlen = hdr->match_len(ct, dptr, limit, &shift); in ct_sip_get_header()
511 if (!*matchlen) in ct_sip_get_header()
524 unsigned int *matchoff, unsigned int *matchlen) in ct_sip_next_header() argument
542 *matchlen = hdr->match_len(ct, dptr, limit, &shift); in ct_sip_next_header()
543 if (!*matchlen) in ct_sip_next_header()
554 unsigned int *matchoff, unsigned int *matchlen) in ct_sip_walk_headers() argument
561 type, matchoff, matchlen); in ct_sip_walk_headers()
594 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
620 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
648 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
675 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
706 unsigned int matchoff, matchlen; ct_sip_parse_transport() local
810 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
864 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
1089 sdp_media_type(const char * dptr,unsigned int matchoff,unsigned int matchlen) sdp_media_type() argument
1111 unsigned int matchoff, matchlen; process_sdp() local
1314 unsigned int matchoff, matchlen; process_register_request() local
1420 unsigned int matchoff, matchlen, coff = 0; process_register_response() local
1500 unsigned int matchoff, matchlen, matchend; process_sip_response() local
1548 unsigned int matchoff, matchlen; process_sip_request() local
1626 unsigned int matchoff, matchlen; 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()
97 unsigned int matchoff, unsigned int matchlen, in map_addr() argument
129 matchoff, matchlen, buffer, buflen); in map_sip_addr()
139 unsigned int matchlen, matchoff; in map_sip_addr()
144 &matchoff, &matchlen, &addr, &port) <= 0) in map_sip_addr()
147 matchoff, matchlen, &addr, port); in nf_nat_sip()
158 unsigned int coff, matchoff, matchlen; in nf_nat_sip()
136 unsigned int matchlen, matchoff; map_sip_addr() local
155 unsigned int coff, matchoff, matchlen; nf_nat_sip() local
381 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
446 unsigned int matchoff, matchlen; mangle_content_len() local
476 unsigned int matchlen, matchoff; mangle_sdp_packet() local
510 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()
/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);
/linux/net/sctp/
H A Dipv6.c289 __u8 matchlen = 0; in sctp_v6_get_dst()
403 if (matchlen > bmatchlen) { in sctp_v6_get_dst()
411 matchlen = bmatchlen; in sctp_v6_get_dst()
287 __u8 matchlen = 0; sctp_v6_get_dst() local
/linux/kernel/debug/kdb/
H A Dkdb_main.c234 int matchlen = strlen(match); in kdbgetenv() local
243 if ((strncmp(match, e, matchlen) == 0) in kdbgetenv()
244 && ((e[matchlen] == '\0') in kdbgetenv()
245 || (e[matchlen] == '='))) { in kdbgetenv()
/linux/drivers/nvme/host/
H A Dcore.c3110 size_t matchlen; in nvme_init_subnqn()
3115 matchlen = strlen(match); in nvme_init_subnqn()
3116 WARN_ON_ONCE(matchlen > len); in nvme_init_subnqn()
3118 if (memcmp(idstr, match, matchlen)) in nvme_init_subnqn()
3121 for (; matchlen < len; matchlen++) in nvme_init_subnqn()
3122 if (idstr[matchlen] != ' ') in nvme_init_subnqn()
3077 size_t matchlen; string_matches() local
/linux/drivers/scsi/
H A Dscsi_transport_fc.c94 table[i].matchlen) == 0) { \
153 int matchlen; member
200 int matchlen; member
/linux/net/ipv6/
H A Daddrconf.c1535 int matchlen;
1601 ret = score->matchlen; in ipv6_get_saddr_eval()
1701 score->matchlen = ret; in ipv6_get_saddr_eval()
1532 int matchlen; global() member