aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ipv6.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2007-04-11 00:06:25 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 01:25:28 -0400
commit39b89160df691045d1449cbaef43c02084c7543a (patch)
treebbe217599a1b84f3bf33c053e2c7d3bdf8bdd571 /include/linux/ipv6.h
parentb0061ce49c83657563b64ffcf1ec137110230d93 (diff)
[SK_BUFF]: Introduce ipipv6_hdr(), remove skb->h.ipv6h
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/ipv6.h')
-rw-r--r--include/linux/ipv6.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/ipv6.h b/include/linux/ipv6.h
index ec79c59b2077..b768fcc0a4c4 100644
--- a/include/linux/ipv6.h
+++ b/include/linux/ipv6.h
@@ -228,6 +228,11 @@ static inline struct ipv6hdr *ipv6_hdr(const struct sk_buff *skb)
228 return (struct ipv6hdr *)skb_network_header(skb); 228 return (struct ipv6hdr *)skb_network_header(skb);
229} 229}
230 230
231static inline struct ipv6hdr *ipipv6_hdr(const struct sk_buff *skb)
232{
233 return (struct ipv6hdr *)skb->h.raw;
234}
235
231/* 236/*
232 This structure contains results of exthdrs parsing 237 This structure contains results of exthdrs parsing
233 as offsets from skb->nh. 238 as offsets from skb->nh.