summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_ipcomp.h
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2004-02-17 12:07:45 +0000
committermarkus <markus@openbsd.org>2004-02-17 12:07:45 +0000
commit9060eb962488049c6e1eaa5f62bc2c1bb1b8505c (patch)
treef163b5d03d689fc6c90ac61fc0f346b80091894a /sys/netinet/ip_ipcomp.h
parentRegen with correct hd(4) description. (diff)
downloadwireguard-openbsd-9060eb962488049c6e1eaa5f62bc2c1bb1b8505c.tar.xz
wireguard-openbsd-9060eb962488049c6e1eaa5f62bc2c1bb1b8505c.zip
switch to sysctl_int_arr(); ok henning, deraadt
Diffstat (limited to 'sys/netinet/ip_ipcomp.h')
-rw-r--r--sys/netinet/ip_ipcomp.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/netinet/ip_ipcomp.h b/sys/netinet/ip_ipcomp.h
index 9597be23477..501e0db7bcc 100644
--- a/sys/netinet/ip_ipcomp.h
+++ b/sys/netinet/ip_ipcomp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_ipcomp.h,v 1.5 2003/02/19 19:19:54 jason Exp $ */
+/* $OpenBSD: ip_ipcomp.h,v 1.6 2004/02/17 12:07:45 markus Exp $ */
/*
* Copyright (c) 2001 Jean-Jacques Bernard-Gundol (jj@wabbitt.org)
@@ -75,6 +75,11 @@ struct ipcomp {
{ "enable", CTLTYPE_INT}, \
}
+#define IPCOMPCTL_VARS { \
+ NULL, \
+ &ipcomp_enable, \
+}
+
#ifdef _KERNEL
extern int ipcomp_enable;
extern struct ipcompstat ipcompstat;