Searched refs:hdroff (Results 1 – 2 of 2) sorted by relevance
/linux/net/netfilter/ |
H A 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 …]
|
/linux/net/core/ |
H A D | filter.c | 6552 int hdroff = 0; in BPF_CALL_4() local 6575 if (ipv6_find_hdr(skb, &hdroff, IPPROTO_IPV6, NULL, NULL) < 0) in BPF_CALL_4() 6577 if (!pskb_pull(skb, hdroff)) in BPF_CALL_4() 6580 skb_postpull_rcsum(skb, skb_network_header(skb), hdroff); in BPF_CALL_4()
|