x86/amd-iommu: Add per IOMMU reference counting
[linux/fpc-iii.git] / include / net / esp.h
blobd58451331dbde8a0d9b4231a61bd4957f62cdeec
1 #ifndef _NET_ESP_H
2 #define _NET_ESP_H
4 #include <linux/skbuff.h>
6 struct crypto_aead;
8 struct esp_data {
9 /* 0..255 */
10 int padlen;
12 /* Confidentiality & Integrity */
13 struct crypto_aead *aead;
16 extern void *pskb_put(struct sk_buff *skb, struct sk_buff *tail, int len);
18 struct ip_esp_hdr;
20 static inline struct ip_esp_hdr *ip_esp_hdr(const struct sk_buff *skb)
22 return (struct ip_esp_hdr *)skb_transport_header(skb);
25 #endif