diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1999-04-11 19:41:42 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1999-04-11 19:41:42 +0000 |
commit | 7ab4566c34fb0c170d5805b34cd71d628eb1b501 (patch) | |
tree | 2a3692c04b3c0ed1032a41936fd4cdecb7b23796 /sys/netinet/ip_ipsp.h | |
parent | ecae586b2a272f8463fb63b561d690b87f1d8b4c (diff) |
Introduce net.inet.{ah,esp}.enable sysctl controls that are off by default.
If you are going to use either of AH or ESP or both, enable these in
/etc/sysctl.conf. Also correct the IPSec debugging sysctl code, it is now
named net.inet.ip.encdebug. Some corrected function signatures too.
Diffstat (limited to 'sys/netinet/ip_ipsp.h')
-rw-r--r-- | sys/netinet/ip_ipsp.h | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/sys/netinet/ip_ipsp.h b/sys/netinet/ip_ipsp.h index e963410849f..f8016b565fb 100644 --- a/sys/netinet/ip_ipsp.h +++ b/sys/netinet/ip_ipsp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_ipsp.h,v 1.28 1999/03/27 21:04:19 provos Exp $ */ +/* $OpenBSD: ip_ipsp.h,v 1.29 1999/04/11 19:41:39 niklas Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), @@ -379,24 +379,6 @@ htonq(u_int64_t q) #error "Please fix <machine/endian.h>" #endif -/* - * Names for IPsec sysctl objects - */ -#define IPSECCTL_PFKEY 0 -#define IPSECCTL_MAXID 1 - -#define CTL_IPSEC_NAMES {\ - { "pfkey", CTLTYPE_NODE }, \ -} - -#define PFKEYCTL_ENCDEBUG 1 -#define PFKEYCTL_MAXID 2 - -#define PFKEYCTL_NAMES {\ - { 0, 0 }, \ - { "encdebug", CTLTYPE_INT }, \ -} - #ifdef _KERNEL extern int encdebug; extern int ipsec_in_use; |