NetSim Source Code Help v14.4
All 13 Components
 
Loading...
Searching...
No Matches
stru_NetSim_AODV_RREP Struct Reference

#include <AODV.h>

Collaboration diagram for stru_NetSim_AODV_RREP:

Data Fields

unsigned int Type:8
 
char RA [3]
 
unsigned int Reserved:9
 Sent as 0; ignored on reception.
 
unsigned int PrefixSz:5
 
unsigned int HopCount:8
 
NETSIM_IPAddress DestinationIPaddress
 
unsigned int DestinationSequenceNumber
 The destination sequence number associated to the route.
 
NETSIM_IPAddress OriginatorIPaddress
 The IP address of the node which originated the RREQ for which the route is supplied.
 
unsigned int Lifetime
 The time in milliseconds for which nodes receiving the RREP consider the route to be valid.
 
NETSIM_IPAddress LastAddress
 

Detailed Description

5.2. Route Reply (RREP) Message Format
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type |R|A| Reserved |Prefix Sz| Hop Count |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Destination IP address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Destination Sequence Number |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Originator IP address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
unsigned int Reserved
Sent as 0; ignored on reception.
Definition AODV.h:189
unsigned int Lifetime
The time in milliseconds for which nodes receiving the RREP consider the route to be valid.
Definition AODV.h:205

Definition at line 179 of file AODV.h.

Field Documentation

◆ DestinationIPaddress

NETSIM_IPAddress stru_NetSim_AODV_RREP::DestinationIPaddress

Definition at line 202 of file AODV.h.

◆ DestinationSequenceNumber

unsigned int stru_NetSim_AODV_RREP::DestinationSequenceNumber

The destination sequence number associated to the route.

Definition at line 203 of file AODV.h.

◆ HopCount

unsigned int stru_NetSim_AODV_RREP::HopCount

The number of hops from the Originator IP Address to the Destination IP Address. For multicast route requests this indicates the number of hops to the multicast tree member sending the RREP.

Definition at line 196 of file AODV.h.

◆ LastAddress

NETSIM_IPAddress stru_NetSim_AODV_RREP::LastAddress

Definition at line 206 of file AODV.h.

◆ Lifetime

unsigned int stru_NetSim_AODV_RREP::Lifetime

The time in milliseconds for which nodes receiving the RREP consider the route to be valid.

Definition at line 205 of file AODV.h.

◆ OriginatorIPaddress

NETSIM_IPAddress stru_NetSim_AODV_RREP::OriginatorIPaddress

The IP address of the node which originated the RREQ for which the route is supplied.

Definition at line 204 of file AODV.h.

◆ PrefixSz

unsigned int stru_NetSim_AODV_RREP::PrefixSz

If nonzero, the 5-bit Prefix Size specifies that the indicated next hop may be used for any nodes with the same routing prefix (as defined by the Prefix Size) as the requested destination.

Definition at line 190 of file AODV.h.

◆ RA

char stru_NetSim_AODV_RREP::RA[3]
R Repair flag; used for multicast.
A Acknowledgment required; see sections 5.4 and 6.7.

Definition at line 182 of file AODV.h.

◆ Reserved

unsigned int stru_NetSim_AODV_RREP::Reserved

Sent as 0; ignored on reception.

Definition at line 189 of file AODV.h.

◆ Type

unsigned int stru_NetSim_AODV_RREP::Type

Definition at line 181 of file AODV.h.


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