Go to the source code of this file.
Namespaces | |
ns3 | |
Every class exported by the ns3 library is enclosed in the ns3 namespace. | |
ns3::olsr | |
Macros | |
#define | IPV4_ADDRESS_SIZE 4 |
#define | OLSR_C 0.0625 |
Scaling factor used in RFC 3626. More... | |
#define | OLSR_MSG_HEADER_SIZE 12 |
#define | OLSR_PKT_HEADER_SIZE 4 |
Functions | |
double | ns3::olsr::EmfToSeconds (uint8_t olsrFormat) |
Converts a number of seconds in the mantissa/exponent format to a decimal number. More... | |
uint8_t | ns3::olsr::SecondsToEmf (double seconds) |
Converts a decimal number of seconds to the mantissa/exponent format. More... | |
#define IPV4_ADDRESS_SIZE 4 |
Definition at line 28 of file olsr-header.cc.
Referenced by ns3::olsr::MessageHeader::Mid::Deserialize(), ns3::olsr::MessageHeader::Hello::Deserialize(), ns3::olsr::MessageHeader::Tc::Deserialize(), ns3::olsr::MessageHeader::Hna::Deserialize(), ns3::olsr::MessageHeader::Mid::GetSerializedSize(), ns3::olsr::MessageHeader::Hello::GetSerializedSize(), ns3::olsr::MessageHeader::Tc::GetSerializedSize(), ns3::olsr::MessageHeader::Hna::GetSerializedSize(), and ns3::olsr::MessageHeader::Hello::Serialize().
#define OLSR_C 0.0625 |
Scaling factor used in RFC 3626.
Definition at line 40 of file olsr-header.cc.
Referenced by ns3::olsr::EmfToSeconds(), and ns3::olsr::SecondsToEmf().
#define OLSR_MSG_HEADER_SIZE 12 |
Definition at line 29 of file olsr-header.cc.
Referenced by ns3::olsr::MessageHeader::Deserialize(), and ns3::olsr::MessageHeader::GetSerializedSize().
#define OLSR_PKT_HEADER_SIZE 4 |
Definition at line 30 of file olsr-header.cc.
Referenced by ns3::olsr::PacketHeader::GetSerializedSize().