Home
last modified time | relevance | path

Searched refs:matchoff (Results 1 – 9 of 9) sorted by relevance

/net/netfilter/
Dnf_conntrack_sip.c233 unsigned int *matchoff, unsigned int *matchlen, in ct_sip_parse_request() argument
275 *matchoff = dptr - start; in ct_sip_parse_request()
364 unsigned int *matchoff, unsigned int *matchlen) in ct_sip_get_header() argument
409 *matchoff = dptr - start; in ct_sip_get_header()
421 *matchoff = dptr - start + shift; in ct_sip_get_header()
432 unsigned int *matchoff, unsigned int *matchlen) in ct_sip_next_header() argument
449 *matchoff = dptr - start; in ct_sip_next_header()
453 *matchoff += shift; in ct_sip_next_header()
462 unsigned int *matchoff, unsigned int *matchlen) in ct_sip_walk_headers() argument
469 type, matchoff, matchlen); in ct_sip_walk_headers()
[all …]
Dnf_nat_sip.c35 unsigned int matchoff, unsigned int matchlen, in mangle_packet() argument
46 matchoff += dataoff - baseoff; in mangle_packet()
49 protoff, matchoff, matchlen, in mangle_packet()
54 matchoff += dataoff - baseoff; in mangle_packet()
57 protoff, matchoff, matchlen, in mangle_packet()
93 unsigned int matchoff, unsigned int matchlen, in map_addr() argument
122 matchoff, matchlen, buffer, buflen); in map_addr()
132 unsigned int matchlen, matchoff; in map_sip_addr() local
137 &matchoff, &matchlen, &addr, &port) <= 0) in map_sip_addr()
140 matchoff, matchlen, &addr, port); in map_sip_addr()
[all …]
Dnf_nat_ftp.c63 unsigned int matchoff, in nf_nat_ftp() argument
74 pr_debug("FTP_NAT: type %i, off %u len %u\n", type, matchoff, matchlen); in nf_nat_ftp()
111 if (!nf_nat_mangle_tcp_packet(skb, ct, ctinfo, protoff, matchoff, in nf_nat_ftp()
Dnf_conntrack_ftp.c55 unsigned int matchoff,
386 unsigned int uninitialized_var(matchlen), uninitialized_var(matchoff); in help()
453 &matchoff, &matchlen, in help()
473 matchlen, fb_ptr + matchoff, in help()
474 matchlen, ntohl(th->seq) + matchoff); in help()
526 protoff, matchoff, matchlen, exp); in help()
Dnf_nat_amanda.c30 unsigned int matchoff, in help() argument
67 protoff, matchoff, matchlen, in help()
Dnf_nat_irc.c32 unsigned int matchoff, in help() argument
86 ret = nf_nat_mangle_tcp_packet(skb, ct, ctinfo, protoff, matchoff, in help()
Dnf_conntrack_amanda.c45 unsigned int matchoff,
Dnf_conntrack_irc.c40 unsigned int matchoff,
/net/netfilter/ipvs/
Dip_vs_pe_sip.c31 unsigned int *matchoff, unsigned int *matchlen) in get_callid() argument
36 SIP_HDR_CALL_ID, matchoff, in get_callid()
42 dataoff += *matchoff; in get_callid()
50 if (*matchoff + *matchlen == datalen) in get_callid()
55 if (*(dptr + *matchoff + *matchlen) != '\r' && in get_callid()
56 *(dptr + *matchoff + *matchlen) != '\n') in get_callid()
60 IP_VS_DEBUG_CALLID(dptr + *matchoff, *matchlen), in get_callid()
69 unsigned int dataoff, datalen, matchoff, matchlen; in ip_vs_sip_fill_param() local
91 if (get_callid(dptr, 0, datalen, &matchoff, &matchlen)) in ip_vs_sip_fill_param()
97 p->pe_data = kmemdup(dptr + matchoff, matchlen, GFP_ATOMIC); in ip_vs_sip_fill_param()