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

The gratuitous table entries, it maintains the already sent gratuitous route reply entries. More...

#include "dsr-gratuitous-reply-table.h"

+ Collaboration diagram for ns3::dsr::GraReplyEntry:

Public Member Functions

 GraReplyEntry (Ipv4Address t, Ipv4Address f, Time h)
 Constructor.
 

Public Attributes

Time m_gratReplyHoldoff
 gratuitous reply holdoff time
 
Ipv4Address m_hearFrom
 heard from address
 
Ipv4Address m_replyTo
 reply to address
 

Detailed Description

The gratuitous table entries, it maintains the already sent gratuitous route reply entries.

When the node "promiscuously" received a packet destined for other nodes, and inferred a shorter route for the data packet, it will construct a route reply and send back to the source

Definition at line 39 of file dsr-gratuitous-reply-table.h.

Constructor & Destructor Documentation

◆ GraReplyEntry()

ns3::dsr::GraReplyEntry::GraReplyEntry ( Ipv4Address t,
Ipv4Address f,
Time h )
inline

Constructor.

Parameters
tIPv4 address to reply to
fIPv4 address to hear from
hgratuitous hold off time

Definition at line 52 of file dsr-gratuitous-reply-table.h.

Member Data Documentation

◆ m_gratReplyHoldoff

Time ns3::dsr::GraReplyEntry::m_gratReplyHoldoff

gratuitous reply holdoff time

Definition at line 43 of file dsr-gratuitous-reply-table.h.

Referenced by ns3::dsr::DsrGraReply::IsExpired::operator()().

◆ m_hearFrom

Ipv4Address ns3::dsr::GraReplyEntry::m_hearFrom

heard from address

Definition at line 42 of file dsr-gratuitous-reply-table.h.

◆ m_replyTo

Ipv4Address ns3::dsr::GraReplyEntry::m_replyTo

reply to address

Definition at line 41 of file dsr-gratuitous-reply-table.h.


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