net: esp{4,6}: remove padlen from struct esp_data
[deliverable/linux.git] / include / net / esp.h
CommitLineData
1da177e4
LT
1#ifndef _NET_ESP_H
2#define _NET_ESP_H
3
38320c70 4#include <linux/skbuff.h>
1da177e4 5
38320c70 6struct crypto_aead;
1da177e4 7
38320c70 8struct esp_data {
38320c70
HX
9 /* Confidentiality & Integrity */
10 struct crypto_aead *aead;
1da177e4
LT
11};
12
7b3852a2 13void *pskb_put(struct sk_buff *skb, struct sk_buff *tail, int len);
1da177e4 14
87bdc48d
HX
15struct ip_esp_hdr;
16
17static 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
This page took 0.634609 seconds and 5 git commands to generate.