|
A Discrete-Event Network Simulator
|
API
|
Go to the documentation of this file.
24 #ifndef OLSR_REPOSITORIES_H
25 #define OLSR_REPOSITORIES_H
30 #include "ns3/ipv4-address.h"
31 #include "ns3/nstime.h"
56 static inline std::ostream&
59 os <<
"IfaceAssocTuple(ifaceAddr=" << tuple.
ifaceAddr
61 <<
", time=" << tuple.
time <<
")";
88 static inline std::ostream&
93 <<
", symTime=" << tuple.
symTime
95 <<
", expTime=" << tuple.
time
124 static inline std::ostream&
129 <<
", willingness=" << (
int) tuple.
willingness <<
")";
145 static inline std::ostream&
227 static inline std::ostream&
230 os <<
"TopologyTuple(destAddr=" << tuple.
destAddr
253 static inline std::ostream&
256 os <<
"Association(networkAddr=" << tuple.
networkAddr
257 <<
", netmask=" << tuple.
netmask
284 static inline std::ostream&
287 os <<
"AssociationTuple(gatewayAddr=" << tuple.
gatewayAddr
289 <<
", netmask=" << tuple.
netmask
Ipv4Address address
Originator address of the message.
Time expirationTime
Time at which this tuple expires and must be removed.
bool retransmitted
Indicates whether the message has been retransmitted or not.
Ipv4Address networkAddr
IPv4 Network address.
uint16_t sequenceNumber
Message sequence number.
Ipv4Address mainAddr
Main address of the node.
An Interface Association Tuple.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
Time asymTime
The link is considered unidirectional until this time.
static std::ostream & operator<<(std::ostream &os, const PacketHeader &packet)
Ipv4Mask netmask
IPv4 Network mask.
Ipv4Address neighborMainAddr
Main address of a neighbor.
Ipv4Address localIfaceAddr
Interface address of the local node.
Time expirationTime
Time at which this tuple expires and must be removed.
Ipv4 addresses are stored in host order in this class.
std::set< Ipv4Address > MprSet
MPR Set type.
std::vector< TwoHopNeighborTuple > TwoHopNeighborSet
2-hop Neighbor Set type.
Time time
Time at which this tuple expires and must be removed.
std::vector< LinkTuple > LinkSet
Link Set type.
Ipv4Mask netmask
Netmask of network reachable through gatewayAddr.
Ipv4Address neighborIfaceAddr
Interface address of the neighbor node.
Ipv4Address ifaceAddr
Interface address of a node.
Time expirationTime
Time at which this tuple expires and must be removed.
std::vector< IfaceAssocTuple > IfaceAssocSet
Interface Association Set type.
Time expirationTime
Time at which this tuple expires and must be removed.
Ipv4Address neighborMainAddr
Main address of a neighbor node.
std::vector< NeighborTuple > NeighborSet
Neighbor Set type.
Ipv4Address mainAddr
Main address of a node which have selected this node as a MPR.
Ipv4Address lastAddr
Main address of a node which is a neighbor of the destination.
static bool operator==(const IfaceAssocTuple &a, const IfaceAssocTuple &b)
Simulation virtual time values and global simulation resolution.
Status
Status of the link (Symmetric or not Symmetric).
std::vector< Ipv4Address > ifaceList
List of interfaces which the message has been received on.
std::vector< Association > Associations
Association Set type.
uint16_t sequenceNumber
Sequence number.
std::vector< TopologyTuple > TopologySet
Topology Set type.
Ipv4Address twoHopNeighborAddr
Main address of a 2-hop neighbor with a symmetric link to nb_main_addr.
std::vector< AssociationTuple > AssociationSet
Association Set type.
Time expirationTime
Time at which this tuple expires and must be removed.
a class to represent an Ipv4 address mask
uint8_t willingness
A value between 0 and 7 specifying the node's willingness to carry traffic on behalf of other nodes.
Time time
Time at which this tuple expires and must be removed.
std::vector< MprSelectorTuple > MprSelectorSet
MPR Selector Set type.
Ipv4Address networkAddr
Network Address of network reachable through gatewayAddr.
Time symTime
The link is considered bidirectional until this time.
enum ns3::olsr::NeighborTuple::Status status
Status of the link.
Ipv4Address gatewayAddr
Main address of the gateway.
std::vector< DuplicateTuple > DuplicateSet
Duplicate Set type.
Ipv4Address destAddr
Main address of the destination.