summaryrefslogtreecommitdiffstats
path: root/sys/net/pfkeyv2.h
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2003-11-14 18:17:07 +0000
committerume <ume@FreeBSD.org>2003-11-14 18:17:07 +0000
commit49210c0b6a40701078a032dacd7fc12b4316b07e (patch)
tree608f55a0c0a002a2ec64f5383232141987b7e3d1 /sys/net/pfkeyv2.h
parentbad03e121037dd04ec493301a153a5b95bf7840b (diff)
downloadFreeBSD-src-49210c0b6a40701078a032dacd7fc12b4316b07e.zip
FreeBSD-src-49210c0b6a40701078a032dacd7fc12b4316b07e.tar.gz
fix comments.
Obtained from: KAME
Diffstat (limited to 'sys/net/pfkeyv2.h')
-rw-r--r--sys/net/pfkeyv2.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/net/pfkeyv2.h b/sys/net/pfkeyv2.h
index c0897e5..4a3fc84 100644
--- a/sys/net/pfkeyv2.h
+++ b/sys/net/pfkeyv2.h
@@ -1,5 +1,5 @@
/* $FreeBSD$ */
-/* $KAME: pfkeyv2.h,v 1.26 2001/06/27 10:49:49 sakane Exp $ */
+/* $KAME: pfkeyv2.h,v 1.37 2003/09/06 05:15:43 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -213,7 +213,7 @@ struct sadb_x_sa2 {
u_int8_t sadb_x_sa2_mode;
u_int8_t sadb_x_sa2_reserved1;
u_int16_t sadb_x_sa2_reserved2;
- u_int32_t sadb_x_sa2_sequence;
+ u_int32_t sadb_x_sa2_sequence; /* lowermost 32bit of sequence number */
u_int32_t sadb_x_sa2_reqid;
};
@@ -240,9 +240,7 @@ struct sadb_x_policy {
* This structure is aligned 8 bytes.
*/
struct sadb_x_ipsecrequest {
- u_int16_t sadb_x_ipsecrequest_len; /* structure length aligned to 8 bytes.
- * This value is true length of bytes.
- * Not in units of 64 bits. */
+ u_int16_t sadb_x_ipsecrequest_len; /* structure length in 64 bits. */
u_int16_t sadb_x_ipsecrequest_proto; /* See ipsec.h */
u_int8_t sadb_x_ipsecrequest_mode; /* See IPSEC_MODE_XX in ipsec.h. */
u_int8_t sadb_x_ipsecrequest_level; /* See IPSEC_LEVEL_XX in ipsec.h */
OpenPOWER on IntegriCloud