summaryrefslogtreecommitdiffstats
path: root/sys/net/if_enc.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/if_enc.h')
-rw-r--r--sys/net/if_enc.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/net/if_enc.h b/sys/net/if_enc.h
index 59a55fc..941ed12 100644
--- a/sys/net/if_enc.h
+++ b/sys/net/if_enc.h
@@ -30,6 +30,13 @@
#ifndef _NET_IF_ENC_H
#define _NET_IF_ENC_H
-extern struct ifnet *encif;
+struct ipsec_ctx_data {
+ struct mbuf **mp;
+ struct secasvar *sav;
+ uint8_t af;
+#define IPSEC_ENC_BEFORE 0x01
+#define IPSEC_ENC_AFTER 0x02
+ uint8_t enc;
+};
#endif /* _NET_IF_ENC_H */
OpenPOWER on IntegriCloud