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

#include <DSR.h>

Collaboration diagram for stru_DSR_Ack_Option:

Data Fields

DSR_OPTION_TYPE nOptionType
 
unsigned int nOptionDataLen:8
 
unsigned int nIdentification:16
 
NETSIM_IPAddress sourceAddress
 
NETSIM_IPAddress DestAddress
 

Detailed Description

6.6. Acknowledgement Option
The Acknowledgement 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 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ACK Source Address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ACK Destination Address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Definition at line 491 of file DSR.h.

Field Documentation

◆ DestAddress

NETSIM_IPAddress stru_DSR_Ack_Option::DestAddress

The address of the node to which the acknowledgement is to be delivered.

Definition at line 509 of file DSR.h.

◆ nIdentification

unsigned int stru_DSR_Ack_Option::nIdentification

Copied from the Identification field of the Acknowledgement Request option of the packet being acknowledged.

Definition at line 502 of file DSR.h.

◆ nOptionDataLen

unsigned int stru_DSR_Ack_Option::nOptionDataLen

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

Definition at line 498 of file DSR.h.

◆ nOptionType

DSR_OPTION_TYPE stru_DSR_Ack_Option::nOptionType

Nodes not understanding this option will remove the option.

Definition at line 494 of file DSR.h.

◆ sourceAddress

NETSIM_IPAddress stru_DSR_Ack_Option::sourceAddress

The address of the node originating the acknowledgement.

Definition at line 506 of file DSR.h.


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