A Discrete-Event Network Simulator
API
Classes | Namespaces | Typedefs | Functions
olsr-header.h File Reference
#include <stdint.h>
#include <vector>
#include "ns3/header.h"
#include "ns3/ipv4-address.h"
#include "ns3/nstime.h"

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

 ns3
 Every class exported by the ns3 library is enclosed in the ns3 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. More...
 
static std::ostream & ns3::olsr::operator<< (std::ostream &os, const PacketHeader &packet)
 
static std::ostream & ns3::olsr::operator<< (std::ostream &os, const MessageHeader &message)
 
static std::ostream & ns3::olsr::operator<< (std::ostream &os, const MessageList &messages)
 
uint8_t ns3::olsr::SecondsToEmf (double seconds)
 Converts a decimal number of seconds to the mantissa/exponent format. More...