A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
olsr-header.h File Reference
#include <stdint.h>
#include <vector>
#include "ns3/header.h"
#include "ns3/ipv4-address.h"
#include "ns3/nstime.h"
+ Include dependency graph for olsr-header.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ns3::olsr::MessageHeader::Hna::Association
struct  ns3::olsr::MessageHeader::Hello
struct  ns3::olsr::MessageHeader::Hna
struct  ns3::olsr::MessageHeader::Hello::LinkMessage
class  ns3::olsr::MessageHeader
struct  ns3::olsr::MessageHeader::Mid
class  ns3::olsr::PacketHeader
struct  ns3::olsr::MessageHeader::Tc

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.
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.