src/common/packet.cc File Reference

#include "packet.h"
#include "ns3/assert.h"
#include "ns3/log.h"
#include "ns3/test.h"
#include <string>
#include <stdarg.h>
Include dependency graph for packet.cc:

Go to the source code of this file.

Classes

class  anonymous_namespace{packet.cc}::ATestTagBase
class  anonymous_namespace{packet.cc}::ATestTag< N >
class  anonymous_namespace{packet.cc}::ATestHeaderBase
class  anonymous_namespace{packet.cc}::ATestHeader< N >
class  anonymous_namespace{packet.cc}::ATestTrailerBase
class  anonymous_namespace{packet.cc}::ATestTrailer< N >
struct  anonymous_namespace{packet.cc}::Expected
class  ns3::PacketTest

Namespaces

namespace  ns3
 

Every class exported by the ns3 library is enclosed in the ns3 namespace.


namespace  anonymous_namespace{packet.cc}

Defines

#define E(a, b, c)   a,b,c
#define CHECK(p, n,...)   NS_TEST_ASSERT (DoCheck (p, __FILE__, __LINE__, n, __VA_ARGS__))

Functions

 NS_LOG_COMPONENT_DEFINE ("Packet")
std::ostream & ns3::operator<< (std::ostream &os, const Packet &packet)

Variables

static PacketTest ns3::g_packetTest

Define Documentation

#define CHECK ( p,
n,
...   )     NS_TEST_ASSERT (DoCheck (p, __FILE__, __LINE__, n, __VA_ARGS__))

Definition at line 770 of file packet.cc.

Referenced by ns3::PacketTest::RunTests().

#define E ( a,
b,
 )     a,b,c

Definition at line 768 of file packet.cc.

Referenced by ns3::CallbackTest::RunTests(), and ns3::PacketTest::RunTests().


Function Documentation

NS_LOG_COMPONENT_DEFINE ( "Packet"   ) 
Generated on Thu Dec 3 14:06:06 2009 for NS-3 by  doxygen 1.6.3