Index: src/common/packet.h |
=================================================================== |
--- a/src/common/packet.h |
+++ b/src/common/packet.h |
@@ -137,12 +137,9 @@ |
* The performance aspects of the Packet API are discussed in |
* \ref packetperf |
*/ |
-class Packet |
+class Packet : public RefCountBase |
{ |
public: |
- void Ref (void) const; |
- void Unref (void) const; |
- |
Ptr<Packet> Copy (void) const; |
/** |
@@ -414,7 +411,6 @@ |
Buffer m_buffer; |
TagList m_tagList; |
PacketMetadata m_metadata; |
- mutable uint32_t m_refCount; |
static uint32_t m_globalUid; |
}; |