Searched refs:iphdr (Results 1 - 25 of 208) sorted by relevance

123456789

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dip.h85 struct iphdr { struct
110 static inline struct iphdr *ip_hdr(const struct sk_buff *skb)
112 return (struct iphdr *)skb_network_header(skb);
115 static inline struct iphdr *ipip_hdr(const struct sk_buff *skb)
117 return (struct iphdr *)skb_transport_header(skb);
H A Dinet_lro.h51 struct iphdr *iph;
182 struct iphdr *iph, struct tcphdr *tcph);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv4/netfilter/
H A Dnf_nat_proto_sctp.c35 const struct iphdr *iph = (struct iphdr *)(skb->data + iphdroff);
45 iph = (struct iphdr *)(skb->data + iphdroff);
H A Dnf_nat_proto_udp.c37 const struct iphdr *iph = (struct iphdr *)(skb->data + iphdroff);
46 iph = (struct iphdr *)(skb->data + iphdroff);
H A Dnf_nat_proto_tcp.c38 const struct iphdr *iph = (struct iphdr *)(skb->data + iphdroff);
54 iph = (struct iphdr *)(skb->data + iphdroff);
H A Dnf_nat_proto_udplite.c37 const struct iphdr *iph = (struct iphdr *)(skb->data + iphdroff);
46 iph = (struct iphdr *)(skb->data + iphdroff);
H A Diptable_filter.c43 (skb->len < sizeof(struct iphdr) ||
44 ip_hdrlen(skb) < sizeof(struct iphdr)))
H A Diptable_raw.c30 (skb->len < sizeof(struct iphdr) ||
31 ip_hdrlen(skb) < sizeof(struct iphdr)))
H A Diptable_security.c48 (skb->len < sizeof(struct iphdr) ||
49 ip_hdrlen(skb) < sizeof(struct iphdr)))
H A Dipt_REJECT.c39 const struct iphdr *oiph;
40 struct iphdr *niph;
63 nskb = alloc_skb(sizeof(struct iphdr) + sizeof(struct tcphdr) +
71 niph = (struct iphdr *)skb_put(nskb, sizeof(struct iphdr));
73 niph->ihl = sizeof(struct iphdr) / 4;
H A Dipt_LOG.c40 struct iphdr _iph;
41 const struct iphdr *ih;
79 ih->ihl * 4 > sizeof(struct iphdr)) {
81 unsigned char _opt[4 * 15 - sizeof(struct iphdr)];
84 optsize = ih->ihl * 4 - sizeof(struct iphdr);
208 = 8 + sizeof(struct iphdr),
210 = 8 + sizeof(struct iphdr),
212 = 8 + sizeof(struct iphdr),
215 = 8 + sizeof(struct iphdr),
217 = 8 + sizeof(struct iphdr),
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/net/
H A Dinet_ecn.h54 static inline int IP_ECN_set_ce(struct iphdr *iph)
81 static inline void IP_ECN_clear(struct iphdr *iph)
86 static inline void ipv4_copy_dscp(unsigned int dscp, struct iphdr *inner)
117 if (skb->network_header + sizeof(struct iphdr) <= skb->tail)
H A Ddsfield.h15 static inline __u8 ipv4_get_dsfield(const struct iphdr *iph)
27 static inline void ipv4_change_dsfield(struct iphdr *iph,__u8 mask,
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/udhcpd/
H A Dpacket.h33 struct iphdr ip;
41 struct iphdr ip;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv4/
H A Dxfrm4_mode_transport.c23 struct iphdr *iph = ip_hdr(skb);
28 offsetof(struct iphdr, protocol);
H A Dxfrm4_mode_beet.c22 struct iphdr *iph = ip_hdr(skb);
42 struct iphdr *top_iph;
55 offsetof(struct iphdr, protocol);
75 top_iph->ihl = sizeof(struct iphdr) / 4;
86 struct iphdr *iph;
H A Dxfrm4_input.c28 const struct iphdr *iph = ip_hdr(skb);
44 XFRM_SPI_SKB_CB(skb)->daddroff = offsetof(struct iphdr, daddr);
51 struct iphdr *iph = ip_hdr(skb);
80 struct iphdr *iph;
H A Dxfrm4_mode_tunnel.c20 struct iphdr *inner_iph = ipip_hdr(skb);
33 struct iphdr *top_iph;
38 offsetof(struct iphdr, protocol);
75 if (!pskb_may_pull(skb, sizeof(struct iphdr)))
H A Dah4.c76 static int ip_clear_mutable_options(struct iphdr *iph, __be32 *daddr)
79 int l = iph->ihl*4 - sizeof(struct iphdr);
119 struct iphdr *iph;
123 struct iphdr *top_iph = ip_hdr(skb);
136 memcpy(top_iph+1, iph+1, top_iph->ihl*4 - sizeof(struct iphdr));
155 struct iphdr *iph, *top_iph;
189 memcpy(iph+1, top_iph+1, top_iph->ihl*4 - sizeof(struct iphdr));
235 memcpy(top_iph+1, iph+1, top_iph->ihl*4 - sizeof(struct iphdr));
248 struct iphdr *work_iph;
287 struct iphdr *ip
[all...]
H A Dnetfilter.c17 const struct iphdr *iph = ip_hdr(skb);
142 const struct iphdr *iph = ip_hdr(skb);
157 const struct iphdr *iph = ip_hdr(skb);
171 const struct iphdr *iph = ip_hdr(skb);
203 const struct iphdr *iph = ip_hdr(skb);
H A Dipip.c292 struct iphdr *iph = (struct iphdr *)skb->data;
347 static inline void ipip_ecn_decapsulate(const struct iphdr *outer_iph,
350 struct iphdr *inner_iph = ip_hdr(skb);
359 const struct iphdr *iph = ip_hdr(skb);
399 struct iphdr *tiph = &tunnel->parms.iph;
404 struct iphdr *old_iph = ip_hdr(skb);
405 struct iphdr *iph; /* Our new IP header */
449 mtu = dst_mtu(&rt->dst) - sizeof(struct iphdr);
481 max_headroom = (LL_RESERVED_SPACE(tdev)+sizeof(struct iphdr));
[all...]
H A Dinet_lro.c54 static int lro_tcp_ip_check(struct iphdr *iph, struct tcphdr *tcph,
104 struct iphdr *iph = lro_desc->iph;
131 static __wsum lro_tcp_data_csum(struct iphdr *iph, struct tcphdr *tcph, int len)
149 struct iphdr *iph, struct tcphdr *tcph,
189 static void lro_add_common(struct net_lro_desc *lro_desc, struct iphdr *iph,
219 struct iphdr *iph, struct tcphdr *tcph)
240 struct iphdr *iph, struct tcphdr *tcph)
262 struct iphdr *iph,
275 struct iphdr *iph,
337 struct iphdr *ip
[all...]
H A Dipcomp.c30 struct iphdr *iph = (struct iphdr *)skb->data;
119 x->props.header_len += sizeof(struct iphdr);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/netfilter/
H A Dxt_DSCP.c37 if (!skb_make_writable(skb, sizeof(struct iphdr)))
78 struct iphdr *iph = ip_hdr(skb);
85 if (!skb_make_writable(skb, sizeof(struct iphdr)))
105 if (!skb_make_writable(skb, sizeof(struct iphdr)))
/netgear-R7000-V1.0.7.12_1.2.5/src/router/udhcpd/
H A Dpacket.h27 struct iphdr ip;

Completed in 213 milliseconds

123456789