Home
last modified time | relevance | path

Searched refs:poff (Results 1 – 5 of 5) sorted by relevance

/net/core/
Dflow_dissector.c158 static __be16 skb_flow_get_be16(const struct sk_buff *skb, int poff, in skb_flow_get_be16() argument
163 u = __skb_header_pointer(skb, poff, sizeof(_u), data, hlen, &_u); in skb_flow_get_be16()
202 int poff = proto_ports_offset(ip_proto); in __skb_flow_get_ports() local
209 if (poff >= 0) { in __skb_flow_get_ports()
212 ports = __skb_header_pointer(skb, thoff + poff, in __skb_flow_get_ports()
1607 u32 poff = keys->control.thoff; in __skb_get_poff() local
1612 return poff; in __skb_get_poff()
1620 doff = __skb_header_pointer(skb, poff + 12, sizeof(_doff), in __skb_get_poff()
1623 return poff; in __skb_get_poff()
1625 poff += max_t(u32, sizeof(struct tcphdr), (*doff & 0xF0) >> 2); in __skb_get_poff()
[all …]
Dskbuff.c2362 static bool __splice_segment(struct page *page, unsigned int poff, in __splice_segment() argument
2379 poff += *off; in __splice_segment()
2386 if (spd_fill_page(spd, pipe, page, &flen, poff, in __splice_segment()
2389 poff += flen; in __splice_segment()
/net/netfilter/
Dnf_nat_sip.c182 unsigned int olen, matchend, poff, plen, buflen, n; in nf_nat_sip() local
211 "maddr=", &poff, &plen, in nf_nat_sip()
219 poff, plen, buffer, buflen)) { in nf_nat_sip()
228 "received=", &poff, &plen, in nf_nat_sip()
236 poff, plen, buffer, buflen)) { in nf_nat_sip()
245 "rport=", &poff, &plen, in nf_nat_sip()
252 poff, plen, buffer, buflen)) { in nf_nat_sip()
Dxt_hashlimit.c643 int poff; in hashlimit_init_dst() local
692 poff = proto_ports_offset(nexthdr); in hashlimit_init_dst()
693 if (poff >= 0) { in hashlimit_init_dst()
694 ports = skb_header_pointer(skb, protoff + poff, sizeof(_ports), in hashlimit_init_dst()
/net/ipv4/netfilter/
Dipt_CLUSTERIP.c343 int poff; in clusterip_hashfn() local
345 poff = proto_ports_offset(iph->protocol); in clusterip_hashfn()
346 if (poff >= 0) { in clusterip_hashfn()
350 ports = skb_header_pointer(skb, iph->ihl * 4 + poff, 4, _ports); in clusterip_hashfn()