A Discrete-Event Network Simulator
API
ns3::dsr::DsrRouteCache::Neighbor Struct Reference

Structure to manage neighbor state. More...

#include "dsr-rcache.h"

+ Collaboration diagram for ns3::dsr::DsrRouteCache::Neighbor:

Public Member Functions

 Neighbor ()
 
 Neighbor (Ipv4Address ip, Mac48Address mac, Time t)
 Constructor. More...
 

Public Attributes

bool close
 is route active More...
 
Time m_expireTime
 route expire time More...
 
Mac48Address m_hardwareAddress
 neighbor MAC address More...
 
Ipv4Address m_neighborAddress
 neightbor address More...
 

Detailed Description

Structure to manage neighbor state.

Definition at line 644 of file dsr-rcache.h.

Constructor & Destructor Documentation

◆ Neighbor() [1/2]

ns3::dsr::DsrRouteCache::Neighbor::Neighbor ( Ipv4Address  ip,
Mac48Address  mac,
Time  t 
)
inline

Constructor.

Parameters
ipIP address of neighbor
macMAC address of neighbor
texpiration time

Definition at line 658 of file dsr-rcache.h.

◆ Neighbor() [2/2]

ns3::dsr::DsrRouteCache::Neighbor::Neighbor ( )
inline

Definition at line 666 of file dsr-rcache.h.

Member Data Documentation

◆ close

bool ns3::dsr::DsrRouteCache::Neighbor::close

is route active

Definition at line 649 of file dsr-rcache.h.

Referenced by ns3::dsr::CloseNeighbor::operator()().

◆ m_expireTime

Time ns3::dsr::DsrRouteCache::Neighbor::m_expireTime

route expire time

Definition at line 648 of file dsr-rcache.h.

Referenced by ns3::dsr::CloseNeighbor::operator()().

◆ m_hardwareAddress

Mac48Address ns3::dsr::DsrRouteCache::Neighbor::m_hardwareAddress

neighbor MAC address

Definition at line 647 of file dsr-rcache.h.

◆ m_neighborAddress

Ipv4Address ns3::dsr::DsrRouteCache::Neighbor::m_neighborAddress

neightbor address

Definition at line 646 of file dsr-rcache.h.


The documentation for this struct was generated from the following file: