Home
last modified time | relevance | path

Searched refs:hdroff (Results 1 – 2 of 2) sorted by relevance

/linux/net/netfilter/
H A Dnf_nat_proto.c67 unsigned int iphdroff, unsigned int hdroff, in udp_manip_pkt() argument
73 if (skb_ensure_writable(skb, hdroff + sizeof(*hdr))) in udp_manip_pkt()
76 hdr = (struct udphdr *)(skb->data + hdroff); in udp_manip_pkt()
83 unsigned int iphdroff, unsigned int hdroff, in udplite_manip_pkt() argument
90 if (skb_ensure_writable(skb, hdroff + sizeof(*hdr))) in udplite_manip_pkt()
93 hdr = (struct udphdr *)(skb->data + hdroff); in udplite_manip_pkt()
101 unsigned int iphdroff, unsigned int hdroff, in sctp_manip_pkt() argument
113 if (skb->len >= hdroff + sizeof(*hdr)) in sctp_manip_pkt()
116 if (skb_ensure_writable(skb, hdroff + hdrsize)) in sctp_manip_pkt()
119 hdr = (struct sctphdr *)(skb->data + hdroff); in sctp_manip_pkt()
[all …]
/linux/net/core/
H A Dfilter.c6743 int hdroff = 0; in BPF_CALL_4() local
6766 if (ipv6_find_hdr(skb, &hdroff, IPPROTO_IPV6, NULL, NULL) < 0) in BPF_CALL_4()
6768 if (!pskb_pull(skb, hdroff)) in BPF_CALL_4()
6771 skb_postpull_rcsum(skb, skb_network_header(skb), hdroff); in BPF_CALL_4()