Searched refs:hdroff (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/net/netfilter/ |
D | nf_nat_proto.c | 66 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() 84 unsigned int iphdroff, unsigned int hdroff, in udplite_manip_pkt() argument 91 if (skb_ensure_writable(skb, hdroff + sizeof(*hdr))) in udplite_manip_pkt() 94 hdr = (struct udphdr *)(skb->data + hdroff); in udplite_manip_pkt() 102 unsigned int iphdroff, unsigned int hdroff, in sctp_manip_pkt() argument 114 if (skb->len >= hdroff + sizeof(*hdr)) in sctp_manip_pkt() 117 if (skb_ensure_writable(skb, hdroff + hdrsize)) in sctp_manip_pkt() 120 hdr = (struct sctphdr *)(skb->data + hdroff); in sctp_manip_pkt() [all …]
|
/Linux-v5.4/net/core/ |
D | filter.c | 5076 int hdroff = 0; in BPF_CALL_4() local 5098 if (ipv6_find_hdr(skb, &hdroff, IPPROTO_IPV6, NULL, NULL) < 0) in BPF_CALL_4() 5100 if (!pskb_pull(skb, hdroff)) in BPF_CALL_4() 5103 skb_postpull_rcsum(skb, skb_network_header(skb), hdroff); in BPF_CALL_4()
|