diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-05-30 10:47:00 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-05-30 10:47:00 +0000 |
commit | 27cac2b8baee822d18f3665a298f8b1b3abc63b6 (patch) | |
tree | 93a139c263b6ed7370738896c2c27e1aa329ef80 /sys/net | |
parent | 017446c66dd61b5f3bffbfd7ba804b9e8f110559 (diff) |
Add AUTH payload.
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/pfkeyv2.h | 8 |
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 |