Home
last modified time | relevance | path

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

/linux-6.15/net/netfilter/
H A Dnf_nat_proto.c66 unsigned int iphdroff, unsigned int hdroff, in udp_manip_pkt() argument
75 hdr = (struct udphdr *)(skb->data + hdroff); in udp_manip_pkt()
92 hdr = (struct udphdr *)(skb->data + hdroff); in udplite_manip_pkt()
112 if (skb->len >= hdroff + sizeof(*hdr)) in sctp_manip_pkt()
118 hdr = (struct sctphdr *)(skb->data + hdroff); in sctp_manip_pkt()
159 hdr = (struct tcphdr *)(skb->data + hdroff); in tcp_manip_pkt()
292 greh = (void *)skb->data + hdroff; in gre_manip_pkt()
359 unsigned int hdroff; in nf_nat_ipv4_manip_pkt() local
365 hdroff = iphdroff + iph->ihl * 4; in nf_nat_ipv4_manip_pkt()
389 int hdroff; in nf_nat_ipv6_manip_pkt() local
[all …]
/linux-6.15/net/core/
H A Dfilter.c6619 int hdroff = 0; in BPF_CALL_4() local
6642 if (ipv6_find_hdr(skb, &hdroff, IPPROTO_IPV6, NULL, NULL) < 0) in BPF_CALL_4()
6644 if (!pskb_pull(skb, hdroff)) in BPF_CALL_4()
6647 skb_postpull_rcsum(skb, skb_network_header(skb), hdroff); in BPF_CALL_4()