Searched refs:poff (Results 1 – 5 of 5) sorted by relevance
/net/core/ |
D | flow_dissector.c | 85 int poff = proto_ports_offset(ip_proto); in __skb_flow_get_ports() local 92 if (poff >= 0) { in __skb_flow_get_ports() 95 ports = __skb_header_pointer(skb, thoff + poff, in __skb_flow_get_ports() 755 u32 poff = keys->control.thoff; in __skb_get_poff() local 763 doff = __skb_header_pointer(skb, poff + 12, sizeof(_doff), in __skb_get_poff() 766 return poff; in __skb_get_poff() 768 poff += max_t(u32, sizeof(struct tcphdr), (*doff & 0xF0) >> 2); in __skb_get_poff() 773 poff += sizeof(struct udphdr); in __skb_get_poff() 779 poff += sizeof(struct icmphdr); in __skb_get_poff() 782 poff += sizeof(struct icmp6hdr); in __skb_get_poff() [all …]
|
D | skbuff.c | 1838 static bool __splice_segment(struct page *page, unsigned int poff, in __splice_segment() argument 1855 poff += *off; in __splice_segment() 1862 if (spd_fill_page(spd, pipe, page, &flen, poff, in __splice_segment() 1865 poff += flen; in __splice_segment()
|
/net/netfilter/ |
D | nf_nat_sip.c | 180 unsigned int olen, matchend, poff, plen, buflen, n; in nf_nat_sip() local 209 "maddr=", &poff, &plen, in nf_nat_sip() 217 poff, plen, buffer, buflen)) { in nf_nat_sip() 226 "received=", &poff, &plen, in nf_nat_sip() 234 poff, plen, buffer, buflen)) { in nf_nat_sip() 243 "rport=", &poff, &plen, in nf_nat_sip() 250 poff, plen, buffer, buflen)) { in nf_nat_sip()
|
D | xt_hashlimit.c | 524 int poff; in hashlimit_init_dst() local 573 poff = proto_ports_offset(nexthdr); in hashlimit_init_dst() 574 if (poff >= 0) { in hashlimit_init_dst() 575 ports = skb_header_pointer(skb, protoff + poff, sizeof(_ports), in hashlimit_init_dst()
|
/net/ipv4/netfilter/ |
D | ipt_CLUSTERIP.c | 248 int poff; in clusterip_hashfn() local 250 poff = proto_ports_offset(iph->protocol); in clusterip_hashfn() 251 if (poff >= 0) { in clusterip_hashfn() 255 ports = skb_header_pointer(skb, iph->ihl * 4 + poff, 4, _ports); in clusterip_hashfn()
|