summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_ipsp.h
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>1997-07-15 23:11:11 +0000
committerNiels Provos <provos@cvs.openbsd.org>1997-07-15 23:11:11 +0000
commit9843662ad45ddecb7ea944318208f9203baa4df9 (patch)
tree56b05097ec5be4d837ede02b382b61c0ac375118 /sys/netinet/ip_ipsp.h
parentb56305855b048ed0bf6503aa0a7765cf3d5b04ee (diff)
flags for tunnels and replacing existing routes, sysctl! + tiny bug fix
Diffstat (limited to 'sys/netinet/ip_ipsp.h')
-rw-r--r--sys/netinet/ip_ipsp.h34
1 files changed, 3 insertions, 31 deletions
diff --git a/sys/netinet/ip_ipsp.h b/sys/netinet/ip_ipsp.h
index 916bd228738..4f5e25b4a50 100644
--- a/sys/netinet/ip_ipsp.h
+++ b/sys/netinet/ip_ipsp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_ipsp.h,v 1.12 1997/07/14 08:46:38 provos Exp $ */
+/* $OpenBSD: ip_ipsp.h,v 1.13 1997/07/15 23:11:10 provos Exp $ */
/*
* The author of this code is John Ioannidis, ji@tla.org,
@@ -154,38 +154,10 @@ extern unsigned char ipseczeroes[];
/*
* Names for IPsec sysctl objects
*/
-#define IPSECCTL_ENCAP 28
-#define IPSECCTL_MAXID 29
+#define IPSECCTL_ENCAP 0
+#define IPSECCTL_MAXID 1
#define CTL_IPSEC_NAMES {\
- { 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 }, \
- { 0, 0 }, \
{ "encap", CTLTYPE_NODE }, \
}