sdio: add new function for RAW (Read after Write) operation
[safe/jmp/linux-2.6] / 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 {