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

#include <DSR.h>

Data Fields

DSR_OPTION_TYPE nOptionType
 
unsigned int nOptionDataLen:8
 
unsigned int nIdentification:16
 

Detailed Description

6.5. Acknowledgement Request Option
The Acknowledgement Request option in a DSR Options header is encoded
as follows:
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Option Type | Opt Data Len | Identification |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Definition at line 451 of file DSR.h.

Field Documentation

◆ nIdentification

unsigned int stru_DSR_Ack_Request_Option::nIdentification

The Identification field is set to a unique value and is copied into the Identification field of the Acknowledgement option when returned by the node receiving the packet over this hop.

Definition at line 464 of file DSR.h.

◆ nOptionDataLen

unsigned int stru_DSR_Ack_Request_Option::nOptionDataLen

8-bit unsigned integer. Length of the option, in octets, excluding the Option Type and Opt Data Len fields.

Definition at line 459 of file DSR.h.

◆ nOptionType

DSR_OPTION_TYPE stru_DSR_Ack_Request_Option::nOptionType

Nodes not understanding this option will remove the option and return a Route Error.

Definition at line 454 of file DSR.h.


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