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. |