summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/net/if_enc.h
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/sys/net/if_enc.h')
-rw-r--r--freebsd/sys/net/if_enc.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/freebsd/sys/net/if_enc.h b/freebsd/sys/net/if_enc.h
index 59a55fcf..941ed12a 100644
--- a/freebsd/sys/net/if_enc.h
+++ b/freebsd/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 */