Lines Matching refs:poff
158 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()
1630 poff += sizeof(struct udphdr); in __skb_get_poff()
1636 poff += sizeof(struct icmphdr); in __skb_get_poff()
1639 poff += sizeof(struct icmp6hdr); in __skb_get_poff()
1642 poff += sizeof(struct igmphdr); in __skb_get_poff()
1645 poff += sizeof(struct dccp_hdr); in __skb_get_poff()
1648 poff += sizeof(struct sctphdr); in __skb_get_poff()
1652 return poff; in __skb_get_poff()