A Discrete-Event Network Simulator
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 (Ipv4Address ip, Mac48Address mac, Time t)
 Constructor. More...
 Neighbor ()

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 641 of file dsr-rcache.h.

Constructor & Destructor Documentation

◆ Neighbor() [1/2]

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


ipIP address of neighbor
macMAC address of neighbor
texpiration time

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

◆ Neighbor() [2/2]

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

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

Member Data Documentation

◆ close

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

is route active

Definition at line 646 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 645 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 644 of file dsr-rcache.h.

◆ m_neighborAddress

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

neightbor address

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

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