From d0f62fbb87cc05490ead64a710d5229b9bb1e242 Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Wed, 6 Sep 2006 17:06:45 +0200 Subject: [PATCH] start of rationale for packets --- src/common/packet.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/common/packet.h b/src/common/packet.h index f0f469863..ef803914a 100644 --- a/src/common/packet.h +++ b/src/common/packet.h @@ -31,6 +31,13 @@ namespace ns3 { /** * \brief network packets + * + * Each network packet contains a byte buffer and a list of tags. + * The byte buffer stores the serialized content of the chunks added + * to a packet. The serialized representation of these chunks is expected + * to match that of real network packets bit for bit (although nothing + * forces you to do this) which means that the content of a packet buffer + * is expected to be that of a real packet. */ class Packet { public: