Home
last modified time | relevance | path

Searched refs:iphdroff (Results 1 – 11 of 11) sorted by relevance

/net/ipv4/netfilter/
Dnf_nat_l3proto_ipv4.c79 unsigned int iphdroff, in nf_nat_ipv4_manip_pkt() argument
87 if (!skb_make_writable(skb, iphdroff + sizeof(*iph))) in nf_nat_ipv4_manip_pkt()
90 iph = (void *)skb->data + iphdroff; in nf_nat_ipv4_manip_pkt()
91 hdroff = iphdroff + iph->ihl * 4; in nf_nat_ipv4_manip_pkt()
93 if (!l4proto->manip_pkt(skb, &nf_nat_l3proto_ipv4, iphdroff, hdroff, in nf_nat_ipv4_manip_pkt()
96 iph = (void *)skb->data + iphdroff; in nf_nat_ipv4_manip_pkt()
109 unsigned int iphdroff, __sum16 *check, in nf_nat_ipv4_csum_update() argument
113 struct iphdr *iph = (struct iphdr *)(skb->data + iphdroff); in nf_nat_ipv4_csum_update()
Dnf_nat_proto_icmp.c59 unsigned int iphdroff, unsigned int hdroff, in icmp_manip_pkt() argument
Dnf_nat_proto_gre.c87 unsigned int iphdroff, unsigned int hdroff, in gre_manip_pkt() argument
/net/ipv6/netfilter/
Dnf_nat_l3proto_ipv6.c78 unsigned int iphdroff, in nf_nat_ipv6_manip_pkt() argument
88 if (!skb_make_writable(skb, iphdroff + sizeof(*ipv6h))) in nf_nat_ipv6_manip_pkt()
91 ipv6h = (void *)skb->data + iphdroff; in nf_nat_ipv6_manip_pkt()
93 hdroff = ipv6_skip_exthdr(skb, iphdroff + sizeof(*ipv6h), in nf_nat_ipv6_manip_pkt()
99 !l4proto->manip_pkt(skb, &nf_nat_l3proto_ipv6, iphdroff, hdroff, in nf_nat_ipv6_manip_pkt()
104 ipv6h = (void *)skb->data + iphdroff; in nf_nat_ipv6_manip_pkt()
116 unsigned int iphdroff, __sum16 *check, in nf_nat_ipv6_csum_update() argument
120 const struct ipv6hdr *ipv6h = (struct ipv6hdr *)(skb->data + iphdroff); in nf_nat_ipv6_csum_update()
Dnf_nat_proto_icmpv6.c60 unsigned int iphdroff, unsigned int hdroff, in icmpv6_manip_pkt() argument
70 l3proto->csum_update(skb, iphdroff, &hdr->icmp6_cksum, in icmpv6_manip_pkt()
/net/netfilter/
Dnf_nat_proto_tcp.c37 unsigned int iphdroff, unsigned int hdroff, in tcp_manip_pkt() argument
72 l3proto->csum_update(skb, iphdroff, &hdr->check, tuple, maniptype); in tcp_manip_pkt()
Dnf_nat_proto_udp.c36 unsigned int iphdroff, unsigned int hdroff, in udp_manip_pkt() argument
57 l3proto->csum_update(skb, iphdroff, &hdr->check, in udp_manip_pkt()
Dnf_nat_proto_udplite.c36 unsigned int iphdroff, unsigned int hdroff, in udplite_manip_pkt() argument
58 l3proto->csum_update(skb, iphdroff, &hdr->check, tuple, maniptype); in udplite_manip_pkt()
Dnf_nat_proto_dccp.c39 unsigned int iphdroff, unsigned int hdroff, in dccp_manip_pkt() argument
69 l3proto->csum_update(skb, iphdroff, &hdr->dccph_checksum, in dccp_manip_pkt()
Dnf_nat_proto_unknown.c43 unsigned int iphdroff, unsigned int hdroff, in unknown_manip_pkt() argument
Dnf_nat_proto_sctp.c33 unsigned int iphdroff, unsigned int hdroff, in sctp_manip_pkt() argument