1#ifndef _NET_ESP_H 2#define _NET_ESP_H 3 4#include <linux/skbuff.h> 5 6struct ip_esp_hdr; 7 8static inline struct ip_esp_hdr *ip_esp_hdr(const struct sk_buff *skb) 9{ 10 return (struct ip_esp_hdr *)skb_transport_header(skb); 11} 12 13#endif 14
1#ifndef _NET_ESP_H 2#define _NET_ESP_H 3 4#include <linux/skbuff.h> 5 6struct ip_esp_hdr; 7 8static inline struct ip_esp_hdr *ip_esp_hdr(const struct sk_buff *skb) 9{ 10 return (struct ip_esp_hdr *)skb_transport_header(skb); 11} 12 13#endif 14