diff options
author | Alberto Compagno <acompagn+fdio@cisco.com> | 2019-03-24 08:20:19 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2019-03-24 08:20:19 +0000 |
commit | d7e4753b9d8035f4898989708bf1dbcd79e59585 (patch) | |
tree | 1f8ece76895df23b43fe8a67bfc5bc0985998cc4 /libtransport/src/hicn/transport/core/packet.h | |
parent | 8aac03e30ed3fc291542de23e5c02d2c4e05a66f (diff) | |
parent | f9790f48a9f8c91e0c2142d7030b7e0f27c104f0 (diff) |
Merge "[HICN-6] ATS fixes"
Diffstat (limited to 'libtransport/src/hicn/transport/core/packet.h')
-rw-r--r-- | libtransport/src/hicn/transport/core/packet.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libtransport/src/hicn/transport/core/packet.h b/libtransport/src/hicn/transport/core/packet.h index 6d8bc7e0f..4ec93205a 100644 --- a/libtransport/src/hicn/transport/core/packet.h +++ b/libtransport/src/hicn/transport/core/packet.h @@ -178,6 +178,8 @@ class Packet : public std::enable_shared_from_this<Packet> { Packet &setTTL(uint8_t hops); uint8_t getTTL() const; + void resetPayload(); + private: virtual void resetForHash() = 0; void setSignatureSize(std::size_t size_bytes); |