A Discrete-Event Network Simulator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::olsr::MessageHeader::Tc Struct Reference

#include <olsr-header.h>

+ Collaboration diagram for ns3::olsr::MessageHeader::Tc:

Public Member Functions

uint32_t Deserialize (Buffer::Iterator start, uint32_t messageSize)
uint32_t GetSerializedSize (void) const
void Print (std::ostream &os) const
void Serialize (Buffer::Iterator start) const

Public Attributes

uint16_t ansn
std::vector< Ipv4AddressneighborAddresses

Detailed Description

Definition at line 300 of file olsr-header.h.

Member Function Documentation

uint32_t ns3::olsr::MessageHeader::Tc::Deserialize ( Buffer::Iterator  start,
uint32_t  messageSize 

Definition at line 445 of file olsr-header.cc.

References IPV4_ADDRESS_SIZE, NS_ASSERT, ns3::Buffer::Iterator::ReadNtohU16(), ns3::Buffer::Iterator::ReadNtohU32(), and visualizer.core::start().

+ Here is the call graph for this function:

uint32_t ns3::olsr::MessageHeader::Tc::GetSerializedSize ( void  ) const

Definition at line 418 of file olsr-header.cc.


void ns3::olsr::MessageHeader::Tc::Print ( std::ostream &  os) const

Definition at line 424 of file olsr-header.cc.

void ns3::olsr::MessageHeader::Tc::Serialize ( Buffer::Iterator  start) const

Definition at line 430 of file olsr-header.cc.

References visualizer.core::start(), ns3::Buffer::Iterator::WriteHtonU16(), and ns3::Buffer::Iterator::WriteHtonU32().

+ Here is the call graph for this function:

Member Data Documentation

uint16_t ns3::olsr::MessageHeader::Tc::ansn
std::vector<Ipv4Address> ns3::olsr::MessageHeader::Tc::neighborAddresses

The documentation for this struct was generated from the following files: