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

#include <olsr-header.h>

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


struct  LinkMessage

Public Member Functions

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

Public Attributes

uint8_t hTime
std::vector< LinkMessagelinkMessages
uint8_t willingness

Detailed Description

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

Member Function Documentation

Time ns3::olsr::MessageHeader::Hello::GetHTime ( ) const

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

References ns3::olsr::EmfToSeconds(), and hTime.

Referenced by OlsrHelloTestCase::DoRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

uint32_t ns3::olsr::MessageHeader::Hello::GetSerializedSize ( void  ) const
void ns3::olsr::MessageHeader::Hello::Print ( std::ostream &  os) const

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

void ns3::olsr::MessageHeader::Hello::SetHTime ( Time  time)

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

References ns3::Time::GetSeconds(), hTime, and ns3::olsr::SecondsToEmf().

Referenced by OlsrHelloTestCase::DoRun(), and ns3::olsr::RoutingProtocol::SendHello().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

uint8_t ns3::olsr::MessageHeader::Hello::hTime

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

Referenced by GetHTime(), and SetHTime().

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