[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:
parent
aa8223c7bb
commit
b0061ce49c
7 changed files with 15 additions and 11 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue