changeset 806 | 0190f1b49dc8 |
parent 789 | 1e19322e9012 |
child 815 | 37bb15dd01b1 |
--- a/src/common/packet.h Thu May 31 14:30:07 2007 +0200 +++ b/src/common/packet.h Thu May 31 14:30:34 2007 +0200 @@ -32,6 +32,8 @@ namespace ns3 { +class PacketPrinter; + /** * \brief network packets * @@ -254,6 +256,7 @@ uint32_t GetUid (void) const; void Print (std::ostream &os) const; + void Print (std::ostream &os, const PacketPrinter &printer) const; private: Packet (Buffer buffer, Tags tags, PacketHistory history, uint32_t uid); Buffer m_buffer;