summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-05-30 18:22:11 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-05-30 18:22:11 +0000
commit13c9a876d44719b984957b22b48b824b3bec09fd (patch)
treea4d6ea161c79436f90aa8d7eb212c3b4c6e98c3d /sys/net
parentbd3fb59c4adaed26324f1cdce8037a65263c0d11 (diff)
Add comments on what the credential types are.
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/pfkeyv2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pfkeyv2.h b/sys/net/pfkeyv2.h
index f9415e33752..7677e8d4a29 100644
--- a/sys/net/pfkeyv2.h
+++ b/sys/net/pfkeyv2.h
@@ -286,8 +286,8 @@ struct sadb_cred {
#define PFKEYV2_SENDMESSAGE_BROADCAST 3
#define SADB_CREDTYPE_NONE 0
-#define SADB_CREDTYPE_X509 1
-#define SADB_CREDTYPE_KEYNOTE 2
+#define SADB_CREDTYPE_X509 1 /* ASN1 encoding of the certificate */
+#define SADB_CREDTYPE_KEYNOTE 2 /* NUL-terminated buffer */
#define SADB_CREDTYPE_MAX 3
#define PFKEYV2_AUTH_LOCAL 0