xref: /linux/include/net/esp.h (revision 12f020338a2ca5db99db40b3cf8e4df88744c541)
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