summaryrefslogtreecommitdiffstats
path: root/include/net/esp.h
diff options
context:
space:
mode:
authorMathias Krause <mathias.krause@secunet.com>2013-10-18 12:09:05 +0200
committerSteffen Klassert <steffen.klassert@secunet.com>2013-10-29 06:39:42 +0100
commit1c5ad13f7c2b2afe30e43858d04fff979dc9d243 (patch)
treefc68ea62c7d59c08b464ad47daea13db0adf1484 /include/net/esp.h
parent123b0d1ba0a98ef12550d82b79ccb8d89090f871 (diff)
downloadop-kernel-dev-1c5ad13f7c2b2afe30e43858d04fff979dc9d243.zip
op-kernel-dev-1c5ad13f7c2b2afe30e43858d04fff979dc9d243.tar.gz
net: esp{4,6}: get rid of struct esp_data
struct esp_data consists of a single pointer, vanishing the need for it to be a structure. Fold the pointer into 'data' direcly, removing one level of pointer indirection. Signed-off-by: Mathias Krause <mathias.krause@secunet.com> Cc: Steffen Klassert <steffen.klassert@secunet.com> Cc: Herbert Xu <herbert@gondor.apana.org.au> Cc: "David S. Miller" <davem@davemloft.net> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'include/net/esp.h')
-rw-r--r--include/net/esp.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/net/esp.h b/include/net/esp.h
index 706b740..c92213c 100644
--- a/include/net/esp.h
+++ b/include/net/esp.h
@@ -3,13 +3,6 @@
#include <linux/skbuff.h>
-struct crypto_aead;
-
-struct esp_data {
- /* Confidentiality & Integrity */
- struct crypto_aead *aead;
-};
-
void *pskb_put(struct sk_buff *skb, struct sk_buff *tail, int len);
struct ip_esp_hdr;
OpenPOWER on IntegriCloud