[SK_BUFF]: Introduce ipip_hdr(), remove skb->h.ipiph
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
aa8223c7bb
commit
b0061ce49c
@@ -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->h.raw;
|
||||
}
|
||||
#endif
|
||||
|
||||
struct ip_auth_hdr {
|
||||
|
||||
Reference in New Issue
Block a user