src/common/packet.h
changeset 91 8066ef8d9274
parent 90 d670ba9f726e
child 92 cd2ed251318a
--- a/src/common/packet.h	Fri Sep 08 18:45:48 2006 +0200
+++ b/src/common/packet.h	Fri Sep 08 18:51:47 2006 +0200
@@ -222,10 +222,14 @@
 	 * \returns a pointer to the internal buffer of the packet.
 	 */
 	uint8_t const *peekData (void) const;
+
+	uint32_t getUid (void) const;
 private:
     Packet (Buffer buffer, Tags tags);
     Buffer m_buffer;
     Tags m_tags;
+	uint32_t m_uid;
+	static uint32_t m_global_uid;
 };
 
 }; // namespace ns3