--- a/src/common/packet.cc Mon Mar 29 20:01:19 2010 -0400
+++ b/src/common/packet.cc Tue Mar 30 12:55:14 2010 -0400
@@ -126,6 +126,12 @@
: m_buffer (),
m_byteTagList (),
m_packetTagList (),
+ /* The upper 32 bits of the packet id in
+ * metadata is for the system id. For non-
+ * distributed simulations, this is simply
+ * zero. The lower 32 bits are for the
+ * global UID
+ */
m_metadata ((uint64_t)Simulator::GetSystemId () << 32 | m_globalUid, 0),
m_nixVector (0)
{
@@ -162,6 +168,12 @@
: m_buffer (size),
m_byteTagList (),
m_packetTagList (),
+ /* The upper 32 bits of the packet id in
+ * metadata is for the system id. For non-
+ * distributed simulations, this is simply
+ * zero. The lower 32 bits are for the
+ * global UID
+ */
m_metadata ((uint64_t)Simulator::GetSystemId () << 32 | m_globalUid, size),
m_nixVector (0)
{
@@ -182,6 +194,12 @@
: m_buffer (),
m_byteTagList (),
m_packetTagList (),
+ /* The upper 32 bits of the packet id in
+ * metadata is for the system id. For non-
+ * distributed simulations, this is simply
+ * zero. The lower 32 bits are for the
+ * global UID
+ */
m_metadata ((uint64_t)Simulator::GetSystemId () << 32 | m_globalUid, size),
m_nixVector (0)
{