From 27cac2b8baee822d18f3665a298f8b1b3abc63b6 Mon Sep 17 00:00:00 2001 From: "Angelos D. Keromytis" Date: Wed, 30 May 2001 10:47:00 +0000 Subject: Add AUTH payload. --- sys/net/pfkeyv2.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3