From c766945411eb532507b6f9931e809f31053da263 Mon Sep 17 00:00:00 2001 From: Markus Friedl Date: Fri, 26 Nov 2004 13:07:53 +0000 Subject: add pfkey sysctl subtree; ok deraadt --- sys/sys/socket.h | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/sys/socket.h b/sys/sys/socket.h index 6fdb8135d12..8c8371389eb 100644 --- a/sys/sys/socket.h +++ b/sys/sys/socket.h @@ -1,4 +1,4 @@ -/* $OpenBSD: socket.h,v 1.47 2004/02/24 21:43:56 tedu Exp $ */ +/* $OpenBSD: socket.h,v 1.48 2004/11/26 13:07:52 markus Exp $ */ /* $NetBSD: socket.h,v 1.14 1996/02/09 18:25:36 christos Exp $ */ /* @@ -302,6 +302,17 @@ struct sockcred { { "iflist", CTLTYPE_STRUCT }, \ } +/* + * PF_KEY - Key Management + */ +#define NET_KEY_SADB_DUMP 1 /* return SADB */ +#define NET_KEY_MAXID 2 + +#define CTL_NET_KEY_NAMES { \ + { 0, 0 }, \ + { "sadb_dump", CTLTYPE_STRUCT }, \ +} + /* * PF_BPF not really a family, but connected under CTL_NET */ @@ -315,7 +326,6 @@ struct sockcred { { "maxbufsize", CTLTYPE_INT }, \ } - /* * Maximum queue length specifiable by listen(2). */ -- cgit v1.2.3