]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/ip.h
libata: add whitelist for devices with known good pata-sata bridges
[linux-2.6-omap-h63xx.git] / include / linux / ip.h
index f2f26db16f5718d6762b4be31c353c5e376485d3..bd0a2a8631c60e6620578acc68c363540aea1755 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 {