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

#include <AODV.h>

Collaboration diagram for stru_NetSim_AODV_RREQ:

Data Fields

unsigned int Type:8
 
char JRGDU [6]
 
unsigned int Reserved:11
 Sent as 0; ignored on reception.
 
unsigned int HopCount:8
 
unsigned int RREQID
 
NETSIM_IPAddress DestinationIPAddress
 
unsigned int DestinationSequenceNumber
 
NETSIM_IPAddress OriginatorIPAddress
 
unsigned int OriginatorSequenceNumber
 
NETSIM_IPAddress LastAddress
 

Detailed Description

5.1. Route Request (RREQ) 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 |J|R|G|D|U| Reserved | Hop Count |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| RREQ ID |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Destination IP Address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Destination Sequence Number |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Originator IP Address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Originator Sequence Number |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
unsigned int Reserved
Sent as 0; ignored on reception.
Definition AODV.h:134

Definition at line 112 of file AODV.h.

Field Documentation

◆ DestinationIPAddress

NETSIM_IPAddress stru_NetSim_AODV_RREQ::DestinationIPAddress

The IP address of the destination for which a route is desired.

Definition at line 144 of file AODV.h.

◆ DestinationSequenceNumber

unsigned int stru_NetSim_AODV_RREQ::DestinationSequenceNumber

The latest sequence number received in the past by the originator for any route towards the destination.

Definition at line 145 of file AODV.h.

◆ HopCount

unsigned int stru_NetSim_AODV_RREQ::HopCount

The number of hops from the Originator IP Address to the node handling the request.

Definition at line 135 of file AODV.h.

◆ JRGDU

char stru_NetSim_AODV_RREQ::JRGDU[6]
J Join flag; reserved for multicast.
R Repair flag; reserved for multicast.
G Gratuitous RREP flag; indicates whether a
gratuitous RREP should be unicast to the node
specified in the Destination IP Address field (see
sections 6.3, 6.6.3).
D Destination only flag; indicates only the
destination may respond to this RREQ (see
section 6.5).
U Unknown sequence number; indicates the destination
sequence number is unknown (see section 6.3).

Definition at line 115 of file AODV.h.

◆ LastAddress

NETSIM_IPAddress stru_NetSim_AODV_RREQ::LastAddress

Definition at line 155 of file AODV.h.

◆ OriginatorIPAddress

NETSIM_IPAddress stru_NetSim_AODV_RREQ::OriginatorIPAddress

The IP address of the node which originated the Route Request.

Definition at line 149 of file AODV.h.

◆ OriginatorSequenceNumber

unsigned int stru_NetSim_AODV_RREQ::OriginatorSequenceNumber

The current sequence number to be used in the route entry pointing towards the originator of the route request.

Definition at line 150 of file AODV.h.

◆ Reserved

unsigned int stru_NetSim_AODV_RREQ::Reserved

Sent as 0; ignored on reception.

Definition at line 134 of file AODV.h.

◆ RREQID

unsigned int stru_NetSim_AODV_RREQ::RREQID

A sequence number uniquely identifying the particular RREQ when taken in conjunction with the originating node's IP address.

Definition at line 139 of file AODV.h.

◆ Type

unsigned int stru_NetSim_AODV_RREQ::Type

Definition at line 114 of file AODV.h.


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