#include "olsr-repositories.h"
#include "ns3/header.h"
#include "ns3/ipv4-address.h"
#include "ns3/nstime.h"
#include <stdint.h>
#include <vector>
Go to the source code of this file.
Classes | |
struct | ns3::olsr::MessageHeader::Hna::Association |
Association item structure. More... | |
struct | ns3::olsr::MessageHeader::Hello |
HELLO Message Format. More... | |
struct | ns3::olsr::MessageHeader::Hna |
HNA (Host Network Association) Message Format. More... | |
struct | ns3::olsr::MessageHeader::Hello::LinkMessage |
Link message item. More... | |
class | ns3::olsr::MessageHeader |
This header can store HELP, TC, MID and HNA messages. More... | |
struct | ns3::olsr::MessageHeader::Mid |
MID Message Format. More... | |
class | ns3::olsr::PacketHeader |
The basic layout of any packet in OLSR is as follows (omitting IP and UDP headers): More... | |
struct | ns3::olsr::MessageHeader::Tc |
TC Message Format. More... | |
Namespaces | |
namespace | ns3 |
Every class exported by the ns3 library is enclosed in the ns3 namespace. | |
namespace | ns3::olsr |
Typedefs | |
typedef std::vector< MessageHeader > | ns3::olsr::MessageList |
Functions | |
double | ns3::olsr::EmfToSeconds (uint8_t olsrFormat) |
Converts a number of seconds in the mantissa/exponent format to a decimal number. | |
std::ostream & | ns3::olsr::operator<< (std::ostream &os, const MessageHeader &message) |
std::ostream & | ns3::olsr::operator<< (std::ostream &os, const MessageList &messages) |
std::ostream & | ns3::olsr::operator<< (std::ostream &os, const PacketHeader &packet) |
uint8_t | ns3::olsr::SecondsToEmf (double seconds) |
Converts a decimal number of seconds to the mantissa/exponent format. | |