[SK_BUFF]: Introduce skb_reset_transport_header(skb)
[deliverable/linux.git] / include / linux / skbuff.h
index 9cb674b12b29c7a23b07265d60ae1c09b6084938..7c1f1756e482dd587f00ea2237afd86f9b8e292a 100644 (file)
@@ -247,7 +247,6 @@ struct sk_buff {
        } h;
 
        union {
-               struct ipv6hdr  *ipv6h;
                unsigned char   *raw;
        } nh;
 
@@ -958,6 +957,11 @@ static inline void skb_reserve(struct sk_buff *skb, int len)
        skb->tail += len;
 }
 
+static inline void skb_reset_transport_header(struct sk_buff *skb)
+{
+       skb->h.raw = skb->data;
+}
+
 static inline unsigned char *skb_network_header(const struct sk_buff *skb)
 {
        return skb->nh.raw;
This page took 0.02664 seconds and 5 git commands to generate.