Merge commit 'v3.0' into x86/vdso
[pandora-kernel.git] / include / linux / ip.h
index f2f26db..bd0a2a8 100644 (file)
@@ -111,6 +111,11 @@ static inline struct iphdr *ip_hdr(const struct sk_buff *skb)
 {
        return (struct iphdr *)skb_network_header(skb);
 }
+
+static inline struct iphdr *ipip_hdr(const struct sk_buff *skb)
+{
+       return (struct iphdr *)skb_transport_header(skb);
+}
 #endif
 
 struct ip_auth_hdr {