Searched refs:hdroff (Results 1 – 2 of 2) sorted by relevance
/net/netfilter/ |
D | nf_nat_proto.c | 66 unsigned int iphdroff, unsigned int hdroff, in udp_manip_pkt() argument 72 if (skb_ensure_writable(skb, hdroff + sizeof(*hdr))) in udp_manip_pkt() 75 hdr = (struct udphdr *)(skb->data + hdroff); in udp_manip_pkt() 82 unsigned int iphdroff, unsigned int hdroff, in udplite_manip_pkt() argument 89 if (skb_ensure_writable(skb, hdroff + sizeof(*hdr))) in udplite_manip_pkt() 92 hdr = (struct udphdr *)(skb->data + hdroff); in udplite_manip_pkt() 100 unsigned int iphdroff, unsigned int hdroff, in sctp_manip_pkt() argument 112 if (skb->len >= hdroff + sizeof(*hdr)) in sctp_manip_pkt() 115 if (skb_ensure_writable(skb, hdroff + hdrsize)) in sctp_manip_pkt() 118 hdr = (struct sctphdr *)(skb->data + hdroff); in sctp_manip_pkt() [all …]
|
/net/core/ |
D | filter.c | 5767 int hdroff = 0; in BPF_CALL_4() local 5789 if (ipv6_find_hdr(skb, &hdroff, IPPROTO_IPV6, NULL, NULL) < 0) in BPF_CALL_4() 5791 if (!pskb_pull(skb, hdroff)) in BPF_CALL_4() 5794 skb_postpull_rcsum(skb, skb_network_header(skb), hdroff); in BPF_CALL_4()
|