Blame view
include/net/esp.h
434 Bytes
1da177e4c Linux-2.6.12-rc2 |
1 2 |
#ifndef _NET_ESP_H #define _NET_ESP_H |
38320c70d [IPSEC]: Use cryp... |
3 |
#include <linux/skbuff.h> |
1da177e4c Linux-2.6.12-rc2 |
4 |
|
38320c70d [IPSEC]: Use cryp... |
5 |
struct crypto_aead; |
1da177e4c Linux-2.6.12-rc2 |
6 |
|
38320c70d [IPSEC]: Use cryp... |
7 8 9 10 11 12 |
struct esp_data { /* 0..255 */ int padlen; /* Confidentiality & Integrity */ struct crypto_aead *aead; |
1da177e4c Linux-2.6.12-rc2 |
13 |
}; |
1da177e4c Linux-2.6.12-rc2 |
14 |
extern void *pskb_put(struct sk_buff *skb, struct sk_buff *tail, int len); |
87bdc48d3 [IPSEC]: Get rid ... |
15 16 17 18 19 20 |
struct ip_esp_hdr; static inline struct ip_esp_hdr *ip_esp_hdr(const struct sk_buff *skb) { return (struct ip_esp_hdr *)skb_transport_header(skb); } |
1da177e4c Linux-2.6.12-rc2 |
21 |
#endif |