A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::dsr::LinkKey Struct Reference

The maintenance buffer is responsible for maintaining packet next hop delivery The data packet is saved in maintenance buffer whenever the data packet is sent out of send buffer. More...

#include "dsr-maintain-buff.h"

+ Collaboration diagram for ns3::dsr::LinkKey:

Public Member Functions

bool operator< (const LinkKey &o) const
 Compare maintain Buffer entries.
 

Public Attributes

Ipv4Address m_destination
 destination address
 
Ipv4Address m_nextHop
 next hop address
 
Ipv4Address m_ourAdd
 local address
 
Ipv4Address m_source
 source address
 

Detailed Description

The maintenance buffer is responsible for maintaining packet next hop delivery The data packet is saved in maintenance buffer whenever the data packet is sent out of send buffer.

Definition at line 40 of file dsr-maintain-buff.h.

Member Function Documentation

◆ operator<()

bool ns3::dsr::LinkKey::operator< ( const LinkKey o) const
inline

Compare maintain Buffer entries.

Parameters
oobject to compare
Returns
true if equal

Definition at line 52 of file dsr-maintain-buff.h.

References ns3::Create(), m_destination, m_nextHop, m_ourAdd, and m_source.

+ Here is the call graph for this function:

Member Data Documentation

◆ m_destination

Ipv4Address ns3::dsr::LinkKey::m_destination

destination address

Definition at line 43 of file dsr-maintain-buff.h.

Referenced by operator<().

◆ m_nextHop

Ipv4Address ns3::dsr::LinkKey::m_nextHop

next hop address

Definition at line 45 of file dsr-maintain-buff.h.

Referenced by operator<().

◆ m_ourAdd

Ipv4Address ns3::dsr::LinkKey::m_ourAdd

local address

Definition at line 44 of file dsr-maintain-buff.h.

Referenced by ns3::dsr::DsrRouting::CancelLinkPacketTimer(), and operator<().

◆ m_source


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