A Discrete-Event Network Simulator
API
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. More...
 

Public Attributes

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

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 47 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 59 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: