blob: a43be85aedc44594265695e98452ae491b852d83 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef _NET_ESP_H
2#define _NET_ESP_H
3
Herbert Xu38320c72008-01-28 19:35:05 -08004#include <linux/skbuff.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -07005
Herbert Xu87bdc482007-10-10 15:45:25 -07006struct 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
Linus Torvalds1da177e2005-04-16 15:20:36 -070013#endif