Searched refs:hdroff (Results 1 - 14 of 14) sorted by relevance

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/net/ipv4/netfilter/
H A Dnf_nat_proto_sctp.c38 unsigned int hdroff = iphdroff + iph->ihl*4; local
42 if (!skb_make_writable(skb, hdroff + sizeof(*hdr)))
46 hdr = (struct sctphdr *)(skb->data + hdroff);
60 crc32 = sctp_start_cksum((u8 *)hdr, skb_headlen(skb) - hdroff);
H A Dnf_nat_proto_udp.c39 unsigned int hdroff = iphdroff + iph->ihl*4; local
43 if (!skb_make_writable(skb, hdroff + sizeof(*hdr)))
47 hdr = (struct udphdr *)(skb->data + hdroff);
H A Dnf_nat_proto_dccp.c43 unsigned int hdroff = iphdroff + iph->ihl * 4; local
48 if (skb->len >= hdroff + sizeof(struct dccp_hdr))
51 if (!skb_make_writable(skb, hdroff + hdrsize))
55 hdr = (struct dccp_hdr *)(skb->data + hdroff);
H A Dnf_nat_proto_tcp.c40 unsigned int hdroff = iphdroff + iph->ihl*4; local
48 if (skb->len >= hdroff + sizeof(struct tcphdr))
51 if (!skb_make_writable(skb, hdroff + hdrsize))
55 hdr = (struct tcphdr *)(skb->data + hdroff);
H A Dnf_nat_proto_gre.c90 unsigned int hdroff = iphdroff + iph->ihl * 4; local
94 if (!skb_make_writable(skb, hdroff + sizeof(*pgreh) - 8))
97 greh = (void *)skb->data + hdroff;
H A Dnf_nat_proto_icmp.c62 unsigned int hdroff = iphdroff + iph->ihl*4; local
64 if (!skb_make_writable(skb, hdroff + sizeof(*hdr)))
67 hdr = (struct icmphdr *)(skb->data + hdroff);
H A Dnf_nat_proto_udplite.c39 unsigned int hdroff = iphdroff + iph->ihl*4; local
43 if (!skb_make_writable(skb, hdroff + sizeof(*hdr)))
47 hdr = (struct udphdr *)(skb->data + hdroff);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/net/ipv4/netfilter/
H A Dnf_nat_proto_sctp.c38 unsigned int hdroff = iphdroff + iph->ihl*4; local
42 if (!skb_make_writable(skb, hdroff + sizeof(*hdr)))
46 hdr = (struct sctphdr *)(skb->data + hdroff);
60 crc32 = sctp_start_cksum((u8 *)hdr, skb_headlen(skb) - hdroff);
H A Dnf_nat_proto_udp.c39 unsigned int hdroff = iphdroff + iph->ihl*4; local
43 if (!skb_make_writable(skb, hdroff + sizeof(*hdr)))
47 hdr = (struct udphdr *)(skb->data + hdroff);
H A Dnf_nat_proto_dccp.c43 unsigned int hdroff = iphdroff + iph->ihl * 4; local
48 if (skb->len >= hdroff + sizeof(struct dccp_hdr))
51 if (!skb_make_writable(skb, hdroff + hdrsize))
55 hdr = (struct dccp_hdr *)(skb->data + hdroff);
H A Dnf_nat_proto_tcp.c40 unsigned int hdroff = iphdroff + iph->ihl*4; local
48 if (skb->len >= hdroff + sizeof(struct tcphdr))
51 if (!skb_make_writable(skb, hdroff + hdrsize))
55 hdr = (struct tcphdr *)(skb->data + hdroff);
H A Dnf_nat_proto_gre.c90 unsigned int hdroff = iphdroff + iph->ihl * 4; local
94 if (!skb_make_writable(skb, hdroff + sizeof(*pgreh) - 8))
97 greh = (void *)skb->data + hdroff;
H A Dnf_nat_proto_icmp.c62 unsigned int hdroff = iphdroff + iph->ihl*4; local
64 if (!skb_make_writable(skb, hdroff + sizeof(*hdr)))
67 hdr = (struct icmphdr *)(skb->data + hdroff);
H A Dnf_nat_proto_udplite.c39 unsigned int hdroff = iphdroff + iph->ihl*4; local
43 if (!skb_make_writable(skb, hdroff + sizeof(*hdr)))
47 hdr = (struct udphdr *)(skb->data + hdroff);

Completed in 120 milliseconds