From: Guilherme Maciel Ferreira Date: Sat, 19 Nov 2011 16:59:57 +0000 (-0200) Subject: Small documentation change in IP header classes: specifying the unit. X-Git-Tag: v1.2~6 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=2c8e193f4551934ce55ecc0a5fffac9c8b64818a;p=pingcheck Small documentation change in IP header classes: specifying the unit. --- 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 | | * | | | | | * +---------------+---------------+--------------+---------------+ | * | | |