]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame_incremental - include/net/esp.h
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu
[mirror_ubuntu-artful-kernel.git] / include / net / esp.h
... / ...
CommitLineData
1#ifndef _NET_ESP_H
2#define _NET_ESP_H
3
4#include <linux/skbuff.h>
5
6struct crypto_aead;
7
8struct esp_data {
9 /* 0..255 */
10 int padlen;
11
12 /* Confidentiality & Integrity */
13 struct crypto_aead *aead;
14};
15
16extern void *pskb_put(struct sk_buff *skb, struct sk_buff *tail, int len);
17
18struct ip_esp_hdr;
19
20static inline struct ip_esp_hdr *ip_esp_hdr(const struct sk_buff *skb)
21{
22 return (struct ip_esp_hdr *)skb_transport_header(skb);
23}
24
25#endif