Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(512)

Unified Diff: src/internet/model/ipv6-header.h

Issue 337950043: Eliminate Visual Studio compiler warnings (Closed)
Patch Set: Update patch for latest module changes Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/internet/model/ipv6-extension-header.cc ('k') | src/internet/model/ipv6-header.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/internet/model/ipv6-header.h
===================================================================
--- a/src/internet/model/ipv6-header.h
+++ b/src/internet/model/ipv6-header.h
@@ -79,7 +79,7 @@
* \enum NextHeader_e
* \brief IPv6 next-header value
*/
- enum NextHeader_e
+ enum NextHeader_e :uint8_t
{
IPV6_EXT_HOP_BY_HOP = 0,
IPV6_IPV4 = 4,
@@ -193,6 +193,12 @@
void SetPayloadLength (uint16_t len);
/**
+ * \brief Set the "Payload length" field.
+ * \param len the length of the payload in bytes
+ */
+ void SetPayloadLength(uint32_t len);
+
+ /**
* \brief Get the "Payload length" field.
* \return the payload length
*/
« no previous file with comments | « src/internet/model/ipv6-extension-header.cc ('k') | src/internet/model/ipv6-header.cc » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b