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

Public Attributes

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

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 48 of file dsr-gratuitous-reply-table.h.

Constructor & Destructor Documentation

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 61 of file dsr-gratuitous-reply-table.h.

Member Data Documentation

Time ns3::dsr::GraReplyEntry::m_gratReplyHoldoff

gratuitous reply holdoff time

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

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

Ipv4Address ns3::dsr::GraReplyEntry::m_hearFrom

heard from address

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

Ipv4Address ns3::dsr::GraReplyEntry::m_replyTo

reply to address

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


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