From 2c8e193f4551934ce55ecc0a5fffac9c8b64818a Mon Sep 17 00:00:00 2001 From: Guilherme Maciel Ferreira Date: Sat, 19 Nov 2011 14:59:57 -0200 Subject: [PATCH] Small documentation change in IP header classes: specifying the unit. --- src/ip/ipv4header.cpp | 2 +- src/ip/ipv6header.cpp | 2 +- src/ip/ipv6header.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ip/ipv4header.cpp b/src/ip/ipv4header.cpp index 6403d8d..e8e2cbf 100644 --- a/src/ip/ipv4header.cpp +++ b/src/ip/ipv4header.cpp @@ -72,7 +72,7 @@ uint8_t Ipv4Header::get_differentiated_services() const } /** - * @brief Get the packet total length. + * @brief Get the packet Total Length in bytes. * * The Total Length includes everything in the datagram - both header and data. * The maximum length is 65,535 bytes. diff --git a/src/ip/ipv6header.cpp b/src/ip/ipv6header.cpp index 6b521fa..be6227b 100644 --- a/src/ip/ipv6header.cpp +++ b/src/ip/ipv6header.cpp @@ -74,7 +74,7 @@ uint32_t Ipv6Header::get_flow_label() const } /** - * @brief Get the Payload Length field. + * @brief Get the Payload Length in bytes. * * This field tells how many bytes follow the 40-byte fixed length IPv6 header. * diff --git a/src/ip/ipv6header.h b/src/ip/ipv6header.h index 5628a47..cd287e3 100644 --- a/src/ip/ipv6header.h +++ b/src/ip/ipv6header.h @@ -30,7 +30,7 @@ * | (6) | | | | * +-------+---------------+-------+--------------+---------------+ | * | | | | | - * | payload length | next header | hop limit | | + * | payload length in bytes | next header | hop limit | | * | | | | | * +---------------+---------------+--------------+---------------+ | * | | | -- 1.7.1