summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/net/pfkeyv2.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/net/pfkeyv2.h b/sys/net/pfkeyv2.h
index ad46d758392..94bb0e2bce7 100644
--- a/sys/net/pfkeyv2.h
+++ b/sys/net/pfkeyv2.h
@@ -202,7 +202,8 @@ struct sadb_cred {
#define SADB_X_EXT_POLICY 25
#define SADB_X_EXT_LOCAL_CREDENTIALS 26
#define SADB_X_EXT_REMOTE_CREDENTIALS 27
-#define SADB_EXT_MAX 27
+#define SADB_X_EXT_LOCAL_AUTH 28
+#define SADB_EXT_MAX 28
/* Fix pfkeyv2.c struct pfkeyv2_socket if SATYPE_MAX > 31 */
#define SADB_SATYPE_UNSPEC 0
@@ -288,6 +289,11 @@ struct sadb_cred {
#define SADB_CREDTYPE_KEYNOTE 2
#define SADB_CREDTYPE_MAX 3
+#define SADB_AUTHTYPE_NONE 0
+#define SADB_AUTHTYPE_PASSPHRASE 1
+#define SADB_AUTHTYPE_RSA 2
+#define SADB_AUTHTYPE_MAX 2
+
#define FLOW_X_TYPE_USE 1
#define FLOW_X_TYPE_ACQUIRE 2
#define FLOW_X_TYPE_REQUIRE 3