Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | #ifndef _NET_ESP_H |
2 | #define _NET_ESP_H | |
3 | ||
38320c70 | 4 | #include <linux/skbuff.h> |
1da177e4 | 5 | |
38320c70 | 6 | struct crypto_aead; |
1da177e4 | 7 | |
38320c70 | 8 | struct esp_data { |
38320c70 HX |
9 | /* Confidentiality & Integrity */ |
10 | struct crypto_aead *aead; | |
1da177e4 LT |
11 | }; |
12 | ||
7b3852a2 | 13 | void *pskb_put(struct sk_buff *skb, struct sk_buff *tail, int len); |
1da177e4 | 14 | |
87bdc48d HX |
15 | struct ip_esp_hdr; |
16 | ||
17 | static inline struct ip_esp_hdr *ip_esp_hdr(const struct sk_buff *skb) | |
18 | { | |
19 | return (struct ip_esp_hdr *)skb_transport_header(skb); | |
20 | } | |
21 | ||
1da177e4 | 22 | #endif |