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

Unified Diff: src/internet/model/icmpv6-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/global-router-interface.cc ('k') | src/internet/model/icmpv6-header.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/internet/model/icmpv6-header.h
===================================================================
--- a/src/internet/model/icmpv6-header.h
+++ b/src/internet/model/icmpv6-header.h
@@ -207,6 +207,16 @@
*/
void CalculatePseudoHeaderChecksum (Ipv6Address src, Ipv6Address dst, uint16_t length, uint8_t protocol);
+ /**
+ * \brief Calculate pseudo header checksum for IPv6.
+ * \param src source address
+ * \param dst destination address
+ * \param length length
+ * \param protocol the protocol number to use in the
+ * underlying IPv6 packet.
+ */
+ void CalculatePseudoHeaderChecksum(Ipv6Address src, Ipv6Address dst, uint32_t length, uint8_t protocol);
+
protected:
/**
* \brief Checksum enable or not.
« no previous file with comments | « src/internet/model/global-router-interface.cc ('k') | src/internet/model/icmpv6-header.cc » ('j') | no next file with comments »

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