/net/ipv4/netfilter/ |
D | nf_nat_l3proto_ipv4.c | 79 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()
|
D | nf_nat_proto_icmp.c | 59 unsigned int iphdroff, unsigned int hdroff, in icmp_manip_pkt() argument
|
D | nf_nat_proto_gre.c | 87 unsigned int iphdroff, unsigned int hdroff, in gre_manip_pkt() argument
|
/net/ipv6/netfilter/ |
D | nf_nat_l3proto_ipv6.c | 78 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()
|
D | nf_nat_proto_icmpv6.c | 60 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/ |
D | nf_nat_proto_tcp.c | 37 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()
|
D | nf_nat_proto_udp.c | 36 unsigned int iphdroff, unsigned int hdroff, in udp_manip_pkt() argument 57 l3proto->csum_update(skb, iphdroff, &hdr->check, in udp_manip_pkt()
|
D | nf_nat_proto_udplite.c | 36 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()
|
D | nf_nat_proto_dccp.c | 39 unsigned int iphdroff, unsigned int hdroff, in dccp_manip_pkt() argument 69 l3proto->csum_update(skb, iphdroff, &hdr->dccph_checksum, in dccp_manip_pkt()
|
D | nf_nat_proto_unknown.c | 43 unsigned int iphdroff, unsigned int hdroff, in unknown_manip_pkt() argument
|
D | nf_nat_proto_sctp.c | 33 unsigned int iphdroff, unsigned int hdroff, in sctp_manip_pkt() argument
|