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