summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuiz Otavio O Souza <luiz@netgate.com>2015-09-15 15:56:06 -0500
committerLuiz Otavio O Souza <luiz@netgate.com>2015-10-20 12:04:11 -0500
commit18ab46f827b189bd22a77b9ad89c4b348663eca7 (patch)
tree560810d6a40d5ded7daa35324d0941ef33a8fc05
parent8778d265c656e499fbc5ff31e2740eb4789c618e (diff)
downloadFreeBSD-src-18ab46f827b189bd22a77b9ad89c4b348663eca7.zip
FreeBSD-src-18ab46f827b189bd22a77b9ad89c4b348663eca7.tar.gz
MFC r282982:
Summary: Remove spurious, extra, next header comments. Correct the name of the pad length field. TAG: IPSEC-HEAD Issue: #4841
-rw-r--r--sys/netipsec/esp.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/netipsec/esp.h b/sys/netipsec/esp.h
index eb37397..8eb0963 100644
--- a/sys/netipsec/esp.h
+++ b/sys/netipsec/esp.h
@@ -42,8 +42,7 @@ struct esp {
/*variable size, 32bit bound*/ /* Initialization Vector */
/*variable size*/ /* Payload data */
/*variable size*/ /* padding */
- /*8bit*/ /* pad size */
- /*8bit*/ /* next header */
+ /*8bit*/ /* pad length */
/*8bit*/ /* next header */
/*variable size, 32bit bound*/ /* Authentication data (new IPsec) */
};
@@ -53,8 +52,7 @@ struct newesp {
u_int32_t esp_seq; /* Sequence number */
/*variable size*/ /* (IV and) Payload data */
/*variable size*/ /* padding */
- /*8bit*/ /* pad size */
- /*8bit*/ /* next header */
+ /*8bit*/ /* pad length */
/*8bit*/ /* next header */
/*variable size, 32bit bound*/ /* Authentication data */
};
OpenPOWER on IntegriCloud