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 m_destination, m_nextHop, m_ourAdd, and m_source.

Member Data Documentation

◆ m_destination

◆ m_nextHop

◆ m_ourAdd

◆ m_source


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