Namespaces | |
anonymous_namespace{olsr-routing-protocol.cc} | |
Classes | |
struct | Association |
Association. More... | |
struct | AssociationTuple |
An Association Tuple. More... | |
class | Bug780Test |
See Bug 780 More... | |
struct | DuplicateTuple |
The type "list of interface addresses". More... | |
class | HelloRegressionTest |
Trivial (still useful) test of OLSR operation. More... | |
struct | IfaceAssocTuple |
An Interface Association Tuple. More... | |
struct | LinkTuple |
A Link Tuple. More... | |
class | MessageHeader |
Doxygen introspection did not find any typical Config paths. More... | |
struct | MprSelectorTuple |
An MPR-Selector Tuple. More... | |
struct | NeighborTuple |
A Neighbor Tuple. More... | |
class | OlsrMprTestCase |
Testcase for MPR computation mechanism. More... | |
class | OlsrProtocolTestSuite |
class | PacketHeader |
Doxygen introspection did not find any typical Config paths. More... | |
class | RegressionTestSuite |
class | RoutingProtocol |
OLSR routing protocol for IPv4. More... | |
struct | RoutingTableEntry |
An OLSR's routing table entry. More... | |
class | TcRegressionTest |
Less trivial test of OLSR Topology Control message generation. More... | |
struct | TopologyTuple |
A Topology Tuple. More... | |
struct | TwoHopNeighborTuple |
A 2-hop Tuple. More... | |
Typedefs | |
typedef std::vector< Association > | Associations |
Association Set type. More... | |
typedef std::vector < AssociationTuple > | AssociationSet |
Association Set type. More... | |
typedef std::vector < DuplicateTuple > | DuplicateSet |
Duplicate Set type. More... | |
typedef std::vector < IfaceAssocTuple > | IfaceAssocSet |
Interface Association Set type. More... | |
typedef std::vector< LinkTuple > | LinkSet |
Link Set type. More... | |
typedef std::vector < MessageHeader > | MessageList |
typedef std::vector < MprSelectorTuple > | MprSelectorSet |
MPR Selector Set type. More... | |
typedef std::set< Ipv4Address > | MprSet |
MPR Set type. More... | |
typedef std::vector < NeighborTuple > | NeighborSet |
Neighbor Set type. More... | |
typedef std::vector < TopologyTuple > | TopologySet |
Topology Set type. More... | |
typedef std::vector < TwoHopNeighborTuple > | TwoHopNeighborSet |
2-hop Neighbor Set type. More... | |
Functions | |
double | EmfToSeconds (uint8_t olsrFormat) |
Converts a number of seconds in the mantissa/exponent format to a decimal number. More... | |
NS_LOG_COMPONENT_DEFINE ("OlsrHeader") | |
NS_LOG_COMPONENT_DEFINE ("OlsrRoutingProtocol") | |
static std::ostream & | operator<< (std::ostream &os, const IfaceAssocTuple &tuple) |
static std::ostream & | operator<< (std::ostream &os, const LinkTuple &tuple) |
static std::ostream & | operator<< (std::ostream &os, const NeighborTuple &tuple) |
static std::ostream & | operator<< (std::ostream &os, const TwoHopNeighborTuple &tuple) |
static std::ostream & | operator<< (std::ostream &os, const TopologyTuple &tuple) |
static std::ostream & | operator<< (std::ostream &os, const Association &tuple) |
static std::ostream & | operator<< (std::ostream &os, const AssociationTuple &tuple) |
static std::ostream & | operator<< (std::ostream &os, const PacketHeader &packet) |
static std::ostream & | operator<< (std::ostream &os, const MessageHeader &message) |
static std::ostream & | operator<< (std::ostream &os, const MessageList &messages) |
static bool | operator== (const IfaceAssocTuple &a, const IfaceAssocTuple &b) |
static bool | operator== (const LinkTuple &a, const LinkTuple &b) |
static bool | operator== (const NeighborTuple &a, const NeighborTuple &b) |
static bool | operator== (const TwoHopNeighborTuple &a, const TwoHopNeighborTuple &b) |
static bool | operator== (const MprSelectorTuple &a, const MprSelectorTuple &b) |
static bool | operator== (const DuplicateTuple &a, const DuplicateTuple &b) |
static bool | operator== (const TopologyTuple &a, const TopologyTuple &b) |
static bool | operator== (const Association &a, const Association &b) |
static bool | operator== (const AssociationTuple &a, const AssociationTuple &b) |
uint8_t | SecondsToEmf (double seconds) |
Converts a decimal number of seconds to the mantissa/exponent format. More... | |
static void | SetVelocity (Ptr< Node > node, Vector vel) |
Variables | |
ns3::olsr::OlsrProtocolTestSuite | g_olsrProtocolTestSuite |
ns3::olsr::RegressionTestSuite | g_olsrRegressionTestSuite |
typedef std::vector<Association> ns3::olsr::Associations |
Association Set type.
Definition at line 298 of file olsr-repositories.h.
typedef std::vector<AssociationTuple> ns3::olsr::AssociationSet |
Association Set type.
Definition at line 297 of file olsr-repositories.h.
typedef std::vector<DuplicateTuple> ns3::olsr::DuplicateSet |
Duplicate Set type.
Definition at line 295 of file olsr-repositories.h.
typedef std::vector<IfaceAssocTuple> ns3::olsr::IfaceAssocSet |
Interface Association Set type.
Definition at line 296 of file olsr-repositories.h.
typedef std::vector<LinkTuple> ns3::olsr::LinkSet |
Link Set type.
Definition at line 291 of file olsr-repositories.h.
typedef std::vector<MessageHeader> ns3::olsr::MessageList |
Definition at line 450 of file olsr-header.h.
typedef std::vector<MprSelectorTuple> ns3::olsr::MprSelectorSet |
MPR Selector Set type.
Definition at line 290 of file olsr-repositories.h.
typedef std::set<Ipv4Address> ns3::olsr::MprSet |
MPR Set type.
Definition at line 289 of file olsr-repositories.h.
typedef std::vector<NeighborTuple> ns3::olsr::NeighborSet |
Neighbor Set type.
Definition at line 292 of file olsr-repositories.h.
typedef std::vector<TopologyTuple> ns3::olsr::TopologySet |
Topology Set type.
Definition at line 294 of file olsr-repositories.h.
typedef std::vector<TwoHopNeighborTuple> ns3::olsr::TwoHopNeighborSet |
2-hop Neighbor Set type.
Definition at line 293 of file olsr-repositories.h.
double ns3::olsr::EmfToSeconds | ( | uint8_t | olsrFormat | ) |
Converts a number of seconds in the mantissa/exponent format to a decimal number.
olsr_format | number of seconds in mantissa/exponent format. |
Definition at line 87 of file olsr-header.cc.
References OLSR_C.
Referenced by ns3::OlsrEmfTestCase::DoRun(), ns3::olsr::MessageHeader::Hello::GetHTime(), and ns3::olsr::MessageHeader::GetVTime().
ns3::olsr::NS_LOG_COMPONENT_DEFINE | ( | "OlsrHeader" | ) |
ns3::olsr::NS_LOG_COMPONENT_DEFINE | ( | "OlsrRoutingProtocol" | ) |
|
inlinestatic |
Definition at line 59 of file olsr-repositories.h.
References ns3::olsr::IfaceAssocTuple::ifaceAddr, ns3::olsr::IfaceAssocTuple::mainAddr, and ns3::olsr::IfaceAssocTuple::time.
|
inlinestatic |
Definition at line 90 of file olsr-repositories.h.
References ns3::olsr::LinkTuple::asymTime, ns3::olsr::LinkTuple::localIfaceAddr, ns3::olsr::LinkTuple::neighborIfaceAddr, ns3::olsr::LinkTuple::symTime, and ns3::olsr::LinkTuple::time.
|
inlinestatic |
Definition at line 124 of file olsr-repositories.h.
References ns3::olsr::NeighborTuple::neighborMainAddr, ns3::olsr::NeighborTuple::status, ns3::olsr::NeighborTuple::STATUS_SYM, and ns3::olsr::NeighborTuple::willingness.
|
inlinestatic |
Definition at line 144 of file olsr-repositories.h.
References ns3::olsr::TwoHopNeighborTuple::expirationTime, ns3::olsr::TwoHopNeighborTuple::neighborMainAddr, and ns3::olsr::TwoHopNeighborTuple::twoHopNeighborAddr.
|
inlinestatic |
Definition at line 223 of file olsr-repositories.h.
References ns3::olsr::TopologyTuple::destAddr, ns3::olsr::TopologyTuple::expirationTime, ns3::olsr::TopologyTuple::lastAddr, and ns3::olsr::TopologyTuple::sequenceNumber.
|
inlinestatic |
Definition at line 248 of file olsr-repositories.h.
References ns3::olsr::Association::netmask, and ns3::olsr::Association::networkAddr.
|
inlinestatic |
Definition at line 278 of file olsr-repositories.h.
References ns3::olsr::AssociationTuple::expirationTime, ns3::olsr::AssociationTuple::gatewayAddr, ns3::olsr::AssociationTuple::netmask, and ns3::olsr::AssociationTuple::networkAddr.
|
inlinestatic |
Definition at line 438 of file olsr-header.h.
References ns3::olsr::PacketHeader::Print().
|
inlinestatic |
Definition at line 444 of file olsr-header.h.
References ns3::olsr::MessageHeader::Print().
|
inlinestatic |
Definition at line 452 of file olsr-header.h.
|
inlinestatic |
Definition at line 52 of file olsr-repositories.h.
References ns3::olsr::IfaceAssocTuple::ifaceAddr, and ns3::olsr::IfaceAssocTuple::mainAddr.
|
inlinestatic |
Definition at line 83 of file olsr-repositories.h.
References ns3::olsr::LinkTuple::localIfaceAddr, and ns3::olsr::LinkTuple::neighborIfaceAddr.
|
inlinestatic |
Definition at line 116 of file olsr-repositories.h.
References ns3::olsr::NeighborTuple::neighborMainAddr, ns3::olsr::NeighborTuple::status, and ns3::olsr::NeighborTuple::willingness.
|
inlinestatic |
Definition at line 154 of file olsr-repositories.h.
References ns3::olsr::TwoHopNeighborTuple::neighborMainAddr, and ns3::olsr::TwoHopNeighborTuple::twoHopNeighborAddr.
|
inlinestatic |
Definition at line 170 of file olsr-repositories.h.
References ns3::olsr::MprSelectorTuple::mainAddr.
|
inlinestatic |
Definition at line 195 of file olsr-repositories.h.
References ns3::olsr::DuplicateTuple::address, and ns3::olsr::DuplicateTuple::sequenceNumber.
|
inlinestatic |
Definition at line 215 of file olsr-repositories.h.
References ns3::olsr::TopologyTuple::destAddr, ns3::olsr::TopologyTuple::lastAddr, and ns3::olsr::TopologyTuple::sequenceNumber.
|
inlinestatic |
Definition at line 241 of file olsr-repositories.h.
References ns3::olsr::Association::netmask, and ns3::olsr::Association::networkAddr.
|
inlinestatic |
Definition at line 270 of file olsr-repositories.h.
References ns3::olsr::AssociationTuple::gatewayAddr, ns3::olsr::AssociationTuple::netmask, and ns3::olsr::AssociationTuple::networkAddr.
uint8_t ns3::olsr::SecondsToEmf | ( | double | seconds | ) |
Converts a decimal number of seconds to the mantissa/exponent format.
seconds | decimal number of seconds we want to convert. |
Definition at line 48 of file olsr-header.cc.
References NS_ASSERT, and OLSR_C.
Referenced by ns3::OlsrEmfTestCase::DoRun(), ns3::olsr::MessageHeader::Hello::SetHTime(), and ns3::olsr::MessageHeader::SetVTime().
|
static |
Definition at line 54 of file bug780-test.cc.
References ns3::Object::GetObject().
Referenced by ns3::olsr::Bug780Test::CreateNodes(), ns3::LteX2HandoverMeasuresTestCase::DoRun(), and main().
|
static |
ns3::olsr::RegressionTestSuite ns3::olsr::g_olsrRegressionTestSuite |