xref: /linux/include/net/esp.h (revision 2d87650a3bf1b80f7d0d150ee1af3f8a89e5b7aa)
1 #ifndef _NET_ESP_H
2 #define _NET_ESP_H
3 
4 #include <linux/skbuff.h>
5 
6 struct ip_esp_hdr;
7 
8 static 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