summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>1997-07-14 08:46:41 +0000
committerNiels Provos <provos@cvs.openbsd.org>1997-07-14 08:46:41 +0000
commitaf2f31378b24787947acccc4300ac8f758a21a6a (patch)
treebb957450f0084f3727a9ff9da7c1aef0c601b00b /sys/netinet
parent7006507a77d548d4097a5759763d35e3afedee13 (diff)
sysctl...
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ip_ipsp.h37
1 files changed, 32 insertions, 5 deletions
diff --git a/sys/netinet/ip_ipsp.h b/sys/netinet/ip_ipsp.h
index 56cbb2b2701..916bd228738 100644
--- a/sys/netinet/ip_ipsp.h
+++ b/sys/netinet/ip_ipsp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_ipsp.h,v 1.11 1997/07/11 23:37:59 provos Exp $ */
+/* $OpenBSD: ip_ipsp.h,v 1.12 1997/07/14 08:46:38 provos Exp $ */
/*
* The author of this code is John Ioannidis, ji@tla.org,
@@ -154,12 +154,39 @@ extern unsigned char ipseczeroes[];
/*
* Names for IPsec sysctl objects
*/
-#define IPSECCTL_ENCDEBUG 1 /* turn debugging on/off */
-#define IPSECCTL_MAXID 2
+#define IPSECCTL_ENCAP 28
+#define IPSECCTL_MAXID 29
-#define IPSECCTL_NAMES {\
+#define CTL_IPSEC_NAMES {\
{ 0, 0 }, \
- { "encdebug", CTLTYPE_INT }, \
+ { 0, 0 }, \
+ { 0, 0 }, \
+ { 0, 0 }, \
+ { 0, 0 }, \
+ { 0, 0 }, \
+ { 0, 0 }, \
+ { 0, 0 }, \
+ { 0, 0 }, \
+ { 0, 0 }, \
+ { 0, 0 }, \
+ { 0, 0 }, \
+ { 0, 0 }, \
+ { 0, 0 }, \
+ { 0, 0 }, \
+ { 0, 0 }, \
+ { 0, 0 }, \
+ { 0, 0 }, \
+ { 0, 0 }, \
+ { 0, 0 }, \
+ { 0, 0 }, \
+ { 0, 0 }, \
+ { 0, 0 }, \
+ { 0, 0 }, \
+ { 0, 0 }, \
+ { 0, 0 }, \
+ { 0, 0 }, \
+ { 0, 0 }, \
+ { "encap", CTLTYPE_NODE }, \
}
#ifdef _KERNEL