Searched refs:hdroff (Results 1 – 2 of 2) sorted by relevance
| /linux/net/netfilter/ |
| H A D | nf_nat_proto.c | 67 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 sctp_manip_pkt() argument 96 if (skb->len >= hdroff + sizeof(*hdr)) in sctp_manip_pkt() 99 if (skb_ensure_writable(skb, hdroff + hdrsize)) in sctp_manip_pkt() 102 hdr = (struct sctphdr *)(skb->data + hdroff); in sctp_manip_pkt() 116 hdr->checksum = sctp_compute_cksum(skb, hdroff); in sctp_manip_pkt() 126 unsigned int iphdroff, unsigned int hdroff, in tcp_manip_pkt() argument 137 if (skb->len >= hdroff + sizeof(struct tcphdr)) in tcp_manip_pkt() [all …]
|
| /linux/net/core/ |
| H A D | filter.c | 7037 int hdroff = 0; in BPF_CALL_4() local 7060 if (ipv6_find_hdr(skb, &hdroff, IPPROTO_IPV6, NULL, NULL) < 0) in BPF_CALL_4() 7062 if (!pskb_pull(skb, hdroff)) in BPF_CALL_4() 7065 skb_postpull_rcsum(skb, skb_network_header(skb), hdroff); in BPF_CALL_4()
|