32   : m_prefix (
"::"), m_tag (0), m_prefixLen (0), m_metric (16)
 
   40     .SetGroupName (
"Internet")
 
  147     .SetGroupName (
"Internet")
 
  160   for (std::list<RipNgRte>::const_iterator iter = 
m_rteList.begin ();
 
  182   for (std::list<RipNgRte>::const_iterator iter = 
m_rteList.begin ();
 
  186       i.
Next(iter->GetSerializedSize ());
 
  206   NS_ASSERT_MSG (temp == 1, 
"RipNG received a message with mismatch version, aborting.");
 
  208   uint16_t temp16 = i.
ReadU16 ();
 
  209   NS_ASSERT_MSG (temp16 == 0, 
"RipNG received a message with invalid filled flags, aborting.");
 
  211   uint8_t rteNumber = (i.
GetSize () - 4)/20;
 
  212   for (uint8_t n=0; n<rteNumber; n++)
 
Command_e
Commands to be used in RipNg headers. 
 
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system. 
 
virtual TypeId GetInstanceTypeId(void) const 
Return the instance type identifier. 
 
virtual uint32_t Deserialize(Buffer::Iterator start)
Deserialize the packet. 
 
void SetPrefix(Ipv6Address prefix)
Set the prefix. 
 
uint8_t m_prefixLen
prefix length 
 
iterator in a Buffer instance 
 
Ipv6Address m_prefix
prefix 
 
uint8_t m_metric
route metric 
 
void WriteU16(uint16_t data)
 
Ipv6Address GetPrefix(void) const 
Get the prefix. 
 
void WriteHtonU16(uint16_t data)
 
void Next(void)
go forward by one byte 
 
void SetRouteTag(uint16_t routeTag)
Set the route tag. 
 
static TypeId GetTypeId(void)
Get the type ID. 
 
virtual void Serialize(Buffer::Iterator start) const 
Serialize the packet. 
 
void Set(char const *address)
Sets an Ipv6Address by parsing the input C-string. 
 
uint16_t GetRouteTag(void) const 
Get the route tag. 
 
std::ostream & operator<<(std::ostream &os, const Angles &a)
print a struct Angles to output 
 
void SetRouteMetric(uint8_t routeMetric)
Set the route metric. 
 
Every class exported by the ns3 library is enclosed in the ns3 namespace. 
 
virtual void Print(std::ostream &os) const 
 
void Read(uint8_t *buffer, uint32_t size)
 
uint8_t GetPrefixLen(void) const 
Get the prefix length. 
 
#define NS_ASSERT_MSG(condition, message)
At runtime, in debugging builds, if this condition is not true, the program prints the message to out...
 
virtual uint32_t GetSerializedSize(void) const 
Get the serialized size of the packet. 
 
Describes an IPv6 address. 
 
void WriteU8(uint8_t data)
 
uint8_t GetRouteMetric(void) const 
Get the route metric. 
 
void Write(uint8_t const *buffer, uint32_t size)
 
uint16_t ReadNtohU16(void)
 
RipNg Routing Table Entry (RTE) - see RFC 2080 
 
uint32_t GetSize(void) const 
 
a unique identifier for an interface. 
 
TypeId SetParent(TypeId tid)
Set the parent TypeId. 
 
void SetPrefixLen(uint8_t prefixLen)
Set the prefix length. 
 
void Serialize(uint8_t buf[16]) const 
Serialize this address to a 16-byte buffer.