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

123456

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/
H A Draw.h41 extern int raw_v4_input(struct sk_buff *skb, struct iphdr *iph, int hash);
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(struct iphdr *outer, struct iphdr *inner)
117 if (skb->network_header + sizeof(struct iphdr) <= skb->tail)
H A Ddsfield.h15 static inline __u8 ipv4_get_dsfield(struct iphdr *iph)
27 static inline void ipv4_change_dsfield(struct iphdr *iph,__u8 mask,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/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 Dif_tunnel.h28 struct iphdr iph;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/
H A Dxfrm4_mode_tunnel.c19 struct iphdr *outer_iph = ip_hdr(skb);
20 struct iphdr *inner_iph = ipip_hdr(skb);
26 static inline void ipip6_ecn_decapsulate(struct iphdr *iph, struct sk_buff *skb)
46 struct iphdr *iph, *top_iph;
96 struct iphdr *iph = ip_hdr(skb);
111 if (!pskb_may_pull(skb, sizeof(struct iphdr)))
H A Dah4.c17 static int ip_clear_mutable_options(struct iphdr *iph, __be32 *daddr)
20 int l = iph->ihl*4 - sizeof(struct iphdr);
60 struct iphdr *iph, *top_iph;
64 struct iphdr iph;
77 memcpy(iph+1, top_iph+1, top_iph->ihl*4 - sizeof(struct iphdr));
111 memcpy(top_iph+1, iph+1, top_iph->ihl*4 - sizeof(struct iphdr));
127 struct iphdr *iph;
183 ((struct iphdr*)work_buf)->protocol = ah->nexthdr;
197 struct iphdr *iph = (struct iphdr*)sk
[all...]
H A Dxfrm4_tunnel.c15 struct iphdr *iph = ip_hdr(skb);
36 x->props.header_len = sizeof(struct iphdr);
H A Dipip.c276 struct iphdr *iph = (struct iphdr*)skb->data;
330 struct iphdr *iph = (struct iphdr*)dp;
332 struct iphdr *eiph;
343 if (len < hlen + sizeof(struct iphdr))
345 eiph = (struct iphdr*)(dp + hlen);
458 static inline void ipip_ecn_decapsulate(const struct iphdr *outer_iph,
461 struct iphdr *inner_iph = ip_hdr(skb);
470 const struct iphdr *ip
[all...]
H A Dip_options.c46 memcpy(iph+sizeof(struct iphdr), opt->__data, opt->optlen);
118 dopt->rr = dopt->optlen + sizeof(struct iphdr);
132 dopt->ts = dopt->optlen + sizeof(struct iphdr);
194 dopt->srr = dopt->optlen + sizeof(struct iphdr);
201 dopt->cipso = dopt->optlen+sizeof(struct iphdr);
221 unsigned char *optptr = skb_network_header(skb) + sizeof(struct iphdr);
269 opt->optlen = ((struct iphdr *)iph)->ihl*4 - sizeof(struct iphdr);
270 optptr = iph + sizeof(struct iphdr);
275 iph = optptr - sizeof(struct iphdr);
[all...]
H A Dip_gre.c317 struct iphdr *iph = (struct iphdr*)skb->data;
385 struct iphdr *iph = (struct iphdr*)dp;
386 struct iphdr *eiph;
414 if (len < grehlen + sizeof(struct iphdr))
416 eiph = (struct iphdr*)(dp + grehlen);
529 static inline void ipgre_ecn_decapsulate(struct iphdr *iph, struct sk_buff *skb)
541 ipgre_ecn_encapsulate(u8 tos, struct iphdr *old_iph, struct sk_buff *skb)
553 struct iphdr *ip
[all...]
H A Dxfrm4_mode_beet.c32 struct iphdr *iph, *top_iph;
62 top_iph->ihl = sizeof(struct iphdr) / 4;
73 struct iphdr *iph = ip_hdr(skb);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/udhcpd/
H A Dpacket.h33 struct iphdr ip;
41 struct iphdr ip;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/netfilter/
H A Dipt_TOS.c32 struct iphdr *iph = ip_hdr(*pskb);
36 if (!skb_make_writable(pskb, sizeof(struct iphdr)))
H A Diptable_raw.c66 if ((*pskb)->len < sizeof(struct iphdr) ||
67 ip_hdrlen(*pskb) < sizeof(struct iphdr)) {
H A Dipt_LOG.c40 struct iphdr _iph, *ih;
78 && ih->ihl * 4 > sizeof(struct iphdr)) {
79 unsigned char _opt[4 * 15 - sizeof(struct iphdr)], *op;
82 optsize = ih->ihl * 4 - sizeof(struct iphdr);
203 = 8 + sizeof(struct iphdr),
205 = 8 + sizeof(struct iphdr),
207 = 8 + sizeof(struct iphdr),
210 = 8 + sizeof(struct iphdr),
212 = 8 + sizeof(struct iphdr),
H A Diptable_mangle.c94 const struct iphdr *iph;
100 if ((*pskb)->len < sizeof(struct iphdr)
101 || ip_hdrlen(*pskb) < sizeof(struct iphdr)) {
H A Dnf_nat_proto_tcp.c96 struct iphdr *iph = (struct iphdr *)((*pskb)->data + iphdroff);
112 iph = (struct iphdr *)((*pskb)->data + iphdroff);
H A Dnf_nat_proto_udp.c94 struct iphdr *iph = (struct iphdr *)((*pskb)->data + iphdroff);
103 iph = (struct iphdr *)((*pskb)->data + iphdroff);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/ipvs/
H A Dip_vs_proto_ah.c46 const struct iphdr *iph,
85 const struct iphdr *iph, unsigned int proto_off, int inverse)
134 struct iphdr _iph, *ih;
H A Dip_vs_proto_esp.c46 const struct iphdr *iph,
85 const struct iphdr *iph, unsigned int proto_off, int inverse)
133 struct iphdr _iph, *ih;
H A Dip_vs_xmit.c159 struct iphdr *iph = ip_hdr(skb);
229 struct iphdr *iph = ip_hdr(skb);
256 if (!ip_vs_make_skb_writable(&skb, sizeof(struct iphdr)))
320 struct iphdr *old_iph = ip_hdr(skb);
324 struct iphdr *iph; /* Our new IP header */
342 mtu = dst_mtu(&rt->u.dst) - sizeof(struct iphdr);
364 max_headroom = LL_RESERVED_SPACE(tdev) + sizeof(struct iphdr);
386 skb_push(skb, sizeof(struct iphdr));
399 iph->ihl = sizeof(struct iphdr)>>2;
437 struct iphdr *ip
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/s390/net/
H A Dqeth_eddp.h61 struct iphdr h;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv6/
H A Dsit.c221 struct iphdr *iph = (struct iphdr*)skb->data;
275 struct iphdr *iph = (struct iphdr*)dp;
361 static inline void ipip6_ecn_decapsulate(struct iphdr *iph, struct sk_buff *skb)
369 struct iphdr *iph;
427 struct iphdr *tiph = &tunnel->parms.iph;
432 struct iphdr *iph; /* Our new IP header */
502 mtu = dst_mtu(&rt->u.dst) - sizeof(struct iphdr);
533 max_headroom = LL_RESERVED_SPACE(tdev)+sizeof(struct iphdr);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iptables-1.4.12.1/extensions/
H A Dlibxt_TCPMSS.c32 __TCPMSS_help(sizeof(struct iphdr));
42 .min = 0, .max = UINT16_MAX - sizeof(struct iphdr),

Completed in 229 milliseconds

123456