| Namespaces | |
| namespace | 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 | 
| A Duplicate Tuple.  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 | 
| This header can store HELP, TC, MID and HNA messages.  More... | |
| struct | MprSelectorTuple | 
| An MPR-Selector Tuple.  More... | |
| struct | NeighborTuple | 
| A Neighbor Tuple.  More... | |
| class | OlsrState | 
| This class encapsulates all data structures needed for maintaining internal state of an OLSR node.  More... | |
| class | PacketHeader | 
| The basic layout of any packet in OLSR is as follows (omitting IP and UDP headers):  More... | |
| 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. | |
| typedef std::vector< AssociationTuple > | AssociationSet | 
| Association Set type. | |
| typedef std::vector< DuplicateTuple > | DuplicateSet | 
| Duplicate Set type. | |
| typedef std::vector< IfaceAssocTuple > | IfaceAssocSet | 
| Interface Association Set type. | |
| typedef std::vector< LinkTuple > | LinkSet | 
| Link Set type. | |
| typedef std::vector< MessageHeader > | MessageList | 
| typedef std::vector< MprSelectorTuple > | MprSelectorSet | 
| MPR Selector Set type. | |
| typedef std::set< Ipv4Address > | MprSet | 
| MPR Set type. | |
| typedef std::vector< NeighborTuple > | NeighborSet | 
| Neighbor Set type. | |
| typedef std::vector< TopologyTuple > | TopologySet | 
| Topology Set type. | |
| typedef std::vector< TwoHopNeighborTuple > | TwoHopNeighborSet | 
| 2-hop Neighbor Set type. | |
| Enumerations | |
| enum class | LinkType : uint8_t { LinkType::UNSPEC_LINK = 0 , LinkType::ASYM_LINK = 1 , LinkType::SYM_LINK = 2 , LinkType::LOST_LINK = 3 } | 
| OLSR link types.  More... | |
| enum class | NeighborType : uint8_t { NeighborType::NOT_NEIGH = 0 , NeighborType::SYM_NEIGH = 1 , NeighborType::MPR_NEIGH = 2 } | 
| OLSR neighbor types.  More... | |
| enum | Willingness : uint8_t { NEVER = 0 , LOW = 1 , DEFAULT = 3 , HIGH = 6 , ALWAYS = 7 } | 
| Willingness for forwarding packets from other nodes.  More... | |
| Functions | |
| double | EmfToSeconds (uint8_t olsrFormat) | 
| Converts a number of seconds in the mantissa/exponent format to a decimal number. | |
| std::ostream & | operator<< (std::ostream &os, const Association &tuple) | 
| std::ostream & | operator<< (std::ostream &os, const AssociationTuple &tuple) | 
| std::ostream & | operator<< (std::ostream &os, const IfaceAssocTuple &tuple) | 
| std::ostream & | operator<< (std::ostream &os, const LinkTuple &tuple) | 
| std::ostream & | operator<< (std::ostream &os, const MessageHeader &message) | 
| std::ostream & | operator<< (std::ostream &os, const MessageList &messages) | 
| std::ostream & | operator<< (std::ostream &os, const NeighborTuple &tuple) | 
| std::ostream & | operator<< (std::ostream &os, const PacketHeader &packet) | 
| std::ostream & | operator<< (std::ostream &os, const TopologyTuple &tuple) | 
| std::ostream & | operator<< (std::ostream &os, const TwoHopNeighborTuple &tuple) | 
| std::ostream & | operator<< (std::ostream &os, LinkType linkType) | 
| Stream insertion operator for OLSR link type. | |
| std::ostream & | operator<< (std::ostream &os, NeighborType neighborType) | 
| Stream insertion operator for OLSR link type. | |
| std::ostream & | operator<< (std::ostream &os, Willingness willingness) | 
| Stream insertion operator for OLSR willingness. | |
| bool | operator== (const Association &a, const Association &b) | 
| bool | operator== (const AssociationTuple &a, const AssociationTuple &b) | 
| bool | operator== (const DuplicateTuple &a, const DuplicateTuple &b) | 
| bool | operator== (const IfaceAssocTuple &a, const IfaceAssocTuple &b) | 
| bool | operator== (const LinkTuple &a, const LinkTuple &b) | 
| bool | operator== (const MprSelectorTuple &a, const MprSelectorTuple &b) | 
| bool | operator== (const NeighborTuple &a, const NeighborTuple &b) | 
| bool | operator== (const TopologyTuple &a, const TopologyTuple &b) | 
| bool | operator== (const TwoHopNeighborTuple &a, const TwoHopNeighborTuple &b) | 
| uint8_t | SecondsToEmf (double seconds) | 
| Converts a decimal number of seconds to the mantissa/exponent format. | |
| typedef std::vector<Association> ns3::olsr::Associations | 
Association Set type.
Definition at line 326 of file olsr-repositories.h.
| typedef std::vector<AssociationTuple> ns3::olsr::AssociationSet | 
Association Set type.
Definition at line 325 of file olsr-repositories.h.
| typedef std::vector<DuplicateTuple> ns3::olsr::DuplicateSet | 
Duplicate Set type.
Definition at line 323 of file olsr-repositories.h.
| typedef std::vector<IfaceAssocTuple> ns3::olsr::IfaceAssocSet | 
Interface Association Set type.
Definition at line 324 of file olsr-repositories.h.
| typedef std::vector<LinkTuple> ns3::olsr::LinkSet | 
Link Set type.
Definition at line 319 of file olsr-repositories.h.
| typedef std::vector<MessageHeader> ns3::olsr::MessageList | 
Definition at line 692 of file olsr-header.h.
| typedef std::vector<MprSelectorTuple> ns3::olsr::MprSelectorSet | 
MPR Selector Set type.
Definition at line 318 of file olsr-repositories.h.
| typedef std::set<Ipv4Address> ns3::olsr::MprSet | 
MPR Set type.
Definition at line 317 of file olsr-repositories.h.
| typedef std::vector<NeighborTuple> ns3::olsr::NeighborSet | 
Neighbor Set type.
Definition at line 320 of file olsr-repositories.h.
| typedef std::vector<TopologyTuple> ns3::olsr::TopologySet | 
Topology Set type.
Definition at line 322 of file olsr-repositories.h.
| typedef std::vector<TwoHopNeighborTuple> ns3::olsr::TwoHopNeighborSet | 
2-hop Neighbor Set type.
Definition at line 321 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.
| olsrFormat | number of seconds in mantissa/exponent format. | 
Definition at line 81 of file olsr-header.cc.
References OLSR_C.
Referenced by ns3::olsr::MessageHeader::Hello::GetHTime(), ns3::olsr::MessageHeader::GetVTime(), and ns3::olsr::MessageHeader::Hello::Print().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | inline | 
Definition at line 280 of file olsr-repositories.h.
References ns3::olsr::Association::netmask, and ns3::olsr::Association::networkAddr.
| 
 | inline | 
Definition at line 308 of file olsr-repositories.h.
References ns3::olsr::AssociationTuple::expirationTime, ns3::olsr::AssociationTuple::gatewayAddr, ns3::olsr::AssociationTuple::netmask, and ns3::olsr::AssociationTuple::networkAddr.
| 
 | inline | 
Definition at line 90 of file olsr-repositories.h.
References ns3::olsr::IfaceAssocTuple::ifaceAddr, ns3::olsr::IfaceAssocTuple::mainAddr, and ns3::olsr::IfaceAssocTuple::time.
| 
 | inline | 
Definition at line 120 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.
| 
 | inline | 
Definition at line 685 of file olsr-header.h.
References ns3::olsr::MessageHeader::Print().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | inline | 
Definition at line 694 of file olsr-header.h.
| 
 | inline | 
Definition at line 158 of file olsr-repositories.h.
References ns3::olsr::NeighborTuple::neighborMainAddr, ns3::olsr::NeighborTuple::status, ns3::olsr::NeighborTuple::STATUS_SYM, and ns3::olsr::NeighborTuple::willingness.
| 
 | inline | 
Definition at line 678 of file olsr-header.h.
References ns3::olsr::PacketHeader::Print().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | inline | 
Definition at line 257 of file olsr-repositories.h.
References ns3::olsr::TopologyTuple::destAddr, ns3::olsr::TopologyTuple::expirationTime, ns3::olsr::TopologyTuple::lastAddr, and ns3::olsr::TopologyTuple::sequenceNumber.
| 
 | inline | 
Definition at line 179 of file olsr-repositories.h.
References ns3::olsr::TwoHopNeighborTuple::expirationTime, ns3::olsr::TwoHopNeighborTuple::neighborMainAddr, and ns3::olsr::TwoHopNeighborTuple::twoHopNeighborAddr.
| 
 | inline | 
Stream insertion operator for OLSR link type.
| os | Output stream. | 
| linkType | OLSR link type. | 
Definition at line 126 of file olsr-routing-protocol.cc.
References ASYM_LINK, LOST_LINK, SYM_LINK, and UNSPEC_LINK.
| 
 | inline | 
Stream insertion operator for OLSR link type.
| os | Output stream. | 
| neighborType | OLSR neighbor type. | 
Definition at line 164 of file olsr-routing-protocol.cc.
| 
 | inline | 
| 
 | inline | 
Definition at line 275 of file olsr-repositories.h.
References ns3::olsr::Association::netmask, and ns3::olsr::Association::networkAddr.
| 
 | inline | 
Definition at line 302 of file olsr-repositories.h.
References ns3::olsr::AssociationTuple::gatewayAddr, ns3::olsr::AssociationTuple::netmask, and ns3::olsr::AssociationTuple::networkAddr.
| 
 | inline | 
Definition at line 231 of file olsr-repositories.h.
References ns3::olsr::DuplicateTuple::address, and ns3::olsr::DuplicateTuple::sequenceNumber.
| 
 | inline | 
Definition at line 85 of file olsr-repositories.h.
References ns3::olsr::IfaceAssocTuple::ifaceAddr, and ns3::olsr::IfaceAssocTuple::mainAddr.
Definition at line 115 of file olsr-repositories.h.
References ns3::olsr::LinkTuple::localIfaceAddr, and ns3::olsr::LinkTuple::neighborIfaceAddr.
| 
 | inline | 
Definition at line 206 of file olsr-repositories.h.
References ns3::olsr::MprSelectorTuple::mainAddr.
| 
 | inline | 
Definition at line 152 of file olsr-repositories.h.
References ns3::olsr::NeighborTuple::neighborMainAddr, ns3::olsr::NeighborTuple::status, and ns3::olsr::NeighborTuple::willingness.
| 
 | inline | 
Definition at line 251 of file olsr-repositories.h.
References ns3::olsr::TopologyTuple::destAddr, ns3::olsr::TopologyTuple::lastAddr, and ns3::olsr::TopologyTuple::sequenceNumber.
| 
 | inline | 
Definition at line 189 of file olsr-repositories.h.
References ns3::olsr::TwoHopNeighborTuple::neighborMainAddr, and ns3::olsr::TwoHopNeighborTuple::twoHopNeighborAddr.
| 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 38 of file olsr-header.cc.
References NS_ASSERT, NS_ASSERT_MSG, and OLSR_C.
Referenced by ns3::olsr::MessageHeader::Hello::SetHTime(), and ns3::olsr::MessageHeader::SetVTime().
 Here is the caller graph for this function:
 Here is the caller graph for this function: