/linux-4.1.27/net/netfilter/ |
D | nf_nat_proto_tcp.c | 37 unsigned int iphdroff, unsigned int hdroff, in tcp_manip_pkt() argument 48 if (skb->len >= hdroff + sizeof(struct tcphdr)) in tcp_manip_pkt() 51 if (!skb_make_writable(skb, hdroff + hdrsize)) in tcp_manip_pkt() 54 hdr = (struct tcphdr *)(skb->data + hdroff); in tcp_manip_pkt()
|
D | nf_nat_proto_sctp.c | 33 unsigned int iphdroff, unsigned int hdroff, in sctp_manip_pkt() argument 39 if (!skb_make_writable(skb, hdroff + sizeof(*hdr))) in sctp_manip_pkt() 42 hdr = (struct sctphdr *)(skb->data + hdroff); in sctp_manip_pkt() 52 hdr->checksum = sctp_compute_cksum(skb, hdroff); in sctp_manip_pkt()
|
D | nf_nat_proto_dccp.c | 39 unsigned int iphdroff, unsigned int hdroff, in dccp_manip_pkt() argument 47 if (skb->len >= hdroff + sizeof(struct dccp_hdr)) in dccp_manip_pkt() 50 if (!skb_make_writable(skb, hdroff + hdrsize)) in dccp_manip_pkt() 53 hdr = (struct dccp_hdr *)(skb->data + hdroff); in dccp_manip_pkt()
|
D | nf_nat_proto_udp.c | 36 unsigned int iphdroff, unsigned int hdroff, in udp_manip_pkt() argument 43 if (!skb_make_writable(skb, hdroff + sizeof(*hdr))) in udp_manip_pkt() 45 hdr = (struct udphdr *)(skb->data + hdroff); in udp_manip_pkt()
|
D | nf_nat_proto_udplite.c | 36 unsigned int iphdroff, unsigned int hdroff, in udplite_manip_pkt() argument 43 if (!skb_make_writable(skb, hdroff + sizeof(*hdr))) in udplite_manip_pkt() 46 hdr = (struct udphdr *)(skb->data + hdroff); in udplite_manip_pkt()
|
D | nf_nat_proto_unknown.c | 43 unsigned int iphdroff, unsigned int hdroff, in unknown_manip_pkt() argument
|
/linux-4.1.27/net/ipv4/netfilter/ |
D | nf_nat_proto_icmp.c | 59 unsigned int iphdroff, unsigned int hdroff, in icmp_manip_pkt() argument 65 if (!skb_make_writable(skb, hdroff + sizeof(*hdr))) in icmp_manip_pkt() 68 hdr = (struct icmphdr *)(skb->data + hdroff); in icmp_manip_pkt()
|
D | nf_nat_proto_gre.c | 87 unsigned int iphdroff, unsigned int hdroff, in gre_manip_pkt() argument 96 if (!skb_make_writable(skb, hdroff + sizeof(*pgreh) - 8)) in gre_manip_pkt() 99 greh = (void *)skb->data + hdroff; in gre_manip_pkt()
|
D | nf_nat_l3proto_ipv4.c | 85 unsigned int hdroff; in nf_nat_ipv4_manip_pkt() local 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()
|
/linux-4.1.27/net/ipv6/netfilter/ |
D | nf_nat_proto_icmpv6.c | 60 unsigned int iphdroff, unsigned int hdroff, in icmpv6_manip_pkt() argument 66 if (!skb_make_writable(skb, hdroff + sizeof(*hdr))) in icmpv6_manip_pkt() 69 hdr = (struct icmp6hdr *)(skb->data + hdroff); in icmpv6_manip_pkt()
|
D | nf_nat_l3proto_ipv6.c | 85 int hdroff; in nf_nat_ipv6_manip_pkt() local 93 hdroff = ipv6_skip_exthdr(skb, iphdroff + sizeof(*ipv6h), in nf_nat_ipv6_manip_pkt() 95 if (hdroff < 0) in nf_nat_ipv6_manip_pkt() 99 !l4proto->manip_pkt(skb, &nf_nat_l3proto_ipv6, iphdroff, hdroff, in nf_nat_ipv6_manip_pkt()
|
/linux-4.1.27/include/net/netfilter/ |
D | nf_nat_l4proto.h | 19 unsigned int iphdroff, unsigned int hdroff,
|