Searched refs:ipv6hdr (Results 1 - 25 of 60) sorted by relevance

123

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/
H A Dinet_ecn.h92 struct ipv6hdr;
94 static inline int IP6_ECN_set_ce(struct ipv6hdr *iph)
102 static inline void IP6_ECN_clear(struct ipv6hdr *iph)
107 static inline void ipv6_copy_dscp(struct ipv6hdr *outer, struct ipv6hdr *inner)
122 if (skb->network_header + sizeof(struct ipv6hdr) <= skb->tail)
H A Ddsfield.h21 static inline __u8 ipv6_get_dsfield(struct ipv6hdr *ipv6h)
43 static inline void ipv6_change_dsfield(struct ipv6hdr *ipv6h,__u8 mask,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv6/
H A Dxfrm6_mode_beet.c36 struct ipv6hdr *iph, *top_iph;
51 skb->transport_header = skb->network_header + sizeof(struct ipv6hdr);
52 skb->network_header += offsetof(struct ipv6hdr, nexthdr);
62 struct ipv6hdr *ip6h;
64 int size = sizeof(struct ipv6hdr);
67 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr)))
H A Dxfrm6_mode_tunnel.c21 struct ipv6hdr *outer_iph = ipv6_hdr(skb);
22 struct ipv6hdr *inner_iph = ipipv6_hdr(skb);
50 struct ipv6hdr *iph, *top_iph;
58 skb->transport_header = skb->network_header + sizeof(struct ipv6hdr);
59 skb->network_header += offsetof(struct ipv6hdr, nexthdr);
96 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr)))
H A Dnetfilter.c14 struct ipv6hdr *iph = ipv6_hdr(skb);
64 struct ipv6hdr *iph = ipv6_hdr(skb);
76 struct ipv6hdr *iph = ipv6_hdr(*pskb);
87 struct ipv6hdr *ip6h = ipv6_hdr(skb);
H A Dah6.c83 static void ipv6_rearrange_destopt(struct ipv6hdr *iph, struct ipv6_opt_hdr *destopt)
146 static void ipv6_rearrange_rthdr(struct ipv6hdr *iph, struct ipv6_rt_hdr *rthdr)
176 static int ipv6_clear_mutable_options(struct ipv6hdr *iph, int len, int dir)
179 struct ipv6hdr *iph;
225 struct ipv6hdr *top_iph;
238 top_iph = (struct ipv6hdr *)skb->data;
250 extlen = skb_transport_offset(skb) - sizeof(struct ipv6hdr);
328 struct ipv6hdr *ip6h;
405 struct ipv6hdr *iph = (struct ipv6hdr*)sk
[all...]
H A Dxfrm6_mode_transport.c30 struct ipv6hdr *iph;
63 sizeof(struct ipv6hdr));
H A Dip6_input.c60 struct ipv6hdr *hdr;
105 IP6CB(skb)->nhoff = offsetof(struct ipv6hdr, nexthdr);
111 if (pkt_len + sizeof(struct ipv6hdr) > skb->len) {
115 if (pskb_trim_rcsum(skb, pkt_len + sizeof(struct ipv6hdr))) {
177 struct ipv6hdr *hdr;
232 struct ipv6hdr *hdr;
H A Dxfrm6_tunnel.c245 struct ipv6hdr *top_iph;
247 top_iph = (struct ipv6hdr *)skb->data;
248 top_iph->payload_len = htons(skb->len - sizeof(struct ipv6hdr));
260 struct ipv6hdr *iph = ipv6_hdr(skb);
316 x->props.header_len = sizeof(struct ipv6hdr);
H A Dip6_output.c167 struct ipv6hdr *hdr;
181 head_room += sizeof(struct ipv6hdr) + LL_RESERVED_SPACE(dst->dev);
202 skb_push(skb, sizeof(struct ipv6hdr));
266 struct ipv6hdr *hdr;
272 totlen = len + sizeof(struct ipv6hdr);
275 skb_put(skb, sizeof(struct ipv6hdr));
321 struct ipv6hdr *hdr = ipv6_hdr(skb);
330 offset = sizeof(struct ipv6hdr);
378 struct ipv6hdr *hdr = ipv6_hdr(skb);
536 u16 offset = sizeof(struct ipv6hdr);
[all...]
H A Dxfrm6_mode_ro.c48 struct ipv6hdr *iph;
H A Dipcomp6.c68 struct ipv6hdr *iph;
126 struct ipv6hdr *top_iph;
162 top_iph = (struct ipv6hdr *)skb->data;
164 top_iph->payload_len = htons(skb->len - sizeof(struct ipv6hdr));
180 struct ipv6hdr *iph = (struct ipv6hdr*)skb->data;
422 x->props.header_len += sizeof(struct ipv6hdr);
H A Dmip6.c133 struct ipv6hdr *iph = ipv6_hdr(skb);
149 struct ipv6hdr *iph;
155 iph = (struct ipv6hdr *)skb->data;
259 u16 offset = sizeof(struct ipv6hdr);
358 struct ipv6hdr *iph;
362 iph = (struct ipv6hdr *)skb->data;
386 u16 offset = sizeof(struct ipv6hdr);
H A Dicmp.c273 struct ipv6hdr *iph = ipv6_hdr(skb);
301 struct ipv6hdr *hdr = ipv6_hdr(skb);
435 len = min_t(unsigned int, len, IPV6_MIN_MTU - sizeof(struct ipv6hdr) -sizeof(struct icmp6hdr));
573 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr)))
576 nexthdr = ((struct ipv6hdr *)skb->data)->nexthdr;
579 inner_offset = ipv6_skip_exthdr(skb, sizeof(struct ipv6hdr), &nexthdr);
583 inner_offset = sizeof(struct ipv6hdr);
629 struct ipv6hdr *orig_hdr;
682 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr)))
685 orig_hdr = (struct ipv6hdr *) (hd
[all...]
H A Dip6_tunnel.c329 struct ipv6hdr *ipv6h = (struct ipv6hdr *) raw;
390 struct ipv6hdr *ipv6h = (struct ipv6hdr *) skb->data;
592 if (rel_msg && pskb_may_pull(skb, offset + sizeof(struct ipv6hdr))) {
622 struct ipv6hdr *ipv6h,
635 struct ipv6hdr *ipv6h,
679 struct ipv6hdr *ipv6h,
683 struct ipv6hdr *ipv6h = ipv6_hdr(skb);
776 ip6_tnl_addr_conflict(struct ip6_tnl *t, struct ipv6hdr *hd
[all...]
H A Desp6.c45 struct ipv6hdr *top_iph;
91 top_iph = (struct ipv6hdr *)__skb_push(skb, hdr_len);
143 struct ipv6hdr *iph;
261 struct ipv6hdr *iph = (struct ipv6hdr*)skb->data;
367 x->props.header_len += sizeof(struct ipv6hdr);
H A Dtunnel6.c95 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr)))
114 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr)))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/s390/net/
H A Dqeth_eddp.h65 struct ipv6hdr h;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv6/netfilter/
H A Dip6t_HL.c28 struct ipv6hdr *ip6h;
H A Dip6t_hl.c28 const struct ipv6hdr *ip6h = ipv6_hdr(skb);
H A Dip6t_REJECT.c46 struct ipv6hdr *oip6h = ipv6_hdr(oldskb), *ip6h;
104 nskb = alloc_skb(hh_len + 15 + dst->header_len + sizeof(struct ipv6hdr)
119 skb_put(nskb, sizeof(struct ipv6hdr));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/netfilter/
H A Dxt_length.c51 sizeof(struct ipv6hdr));
H A Dxt_DSCP.c60 if (!skb_make_writable(pskb, sizeof(struct ipv6hdr)))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dipv6.h127 struct ipv6hdr { struct
231 static inline struct ipv6hdr *ipv6_hdr(const struct sk_buff *skb)
233 return (struct ipv6hdr *)skb_network_header(skb);
236 static inline struct ipv6hdr *ipipv6_hdr(const struct sk_buff *skb)
238 return (struct ipv6hdr *)skb_transport_header(skb);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/
H A Dxfrm4_mode_tunnel.c70 struct ipv6hdr *ipv6h = (struct ipv6hdr*)iph;

Completed in 85 milliseconds

123