DESERT 3.5.1
Loading...
Searching...
No Matches
hdr_uwicrp_data Struct Reference

#include <uwicrp-hdr-data.h>

Public Member Functions

nsaddr_t * list_of_hops ()
 
int & pointer_to_list_of_hops ()
 
int & list_of_hops_length ()
 

Static Public Member Functions

static int & offset ()
 
static struct hdr_uwicrp_dataaccess (const Packet *p)
 

Public Attributes

nsaddr_t list_of_hops_ [MAX_HOP_NUMBER]
 
int pointer_to_list_of_hops_
 
int list_of_hops_length_
 

Static Public Attributes

static int offset_ = 0
 

Detailed Description

hdr_uwicrp_data describes data packets used by UWICRP

Definition at line 53 of file uwicrp-hdr-data.h.

Member Function Documentation

◆ access()

static struct hdr_uwicrp_data * hdr_uwicrp_data::access ( const Packet *  p)
inlinestatic

Definition at line 72 of file uwicrp-hdr-data.h.

◆ list_of_hops()

nsaddr_t * hdr_uwicrp_data::list_of_hops ( )
inline

Pointer to the list_of_hops_ variable.

Definition at line 81 of file uwicrp-hdr-data.h.

◆ list_of_hops_length()

int & hdr_uwicrp_data::list_of_hops_length ( )
inline

Reference to the list_of_hops_length_ variable.

Definition at line 99 of file uwicrp-hdr-data.h.

◆ offset()

static int & hdr_uwicrp_data::offset ( )
inlinestatic

Reference to the offset_ variable.

Definition at line 66 of file uwicrp-hdr-data.h.

◆ pointer_to_list_of_hops()

int & hdr_uwicrp_data::pointer_to_list_of_hops ( )
inline

Reference to the pointer_to_list_of_hops_ variable.

Definition at line 90 of file uwicrp-hdr-data.h.

Member Data Documentation

◆ list_of_hops_

nsaddr_t hdr_uwicrp_data::list_of_hops_[MAX_HOP_NUMBER]

List of IPs saved in the header.

Definition at line 55 of file uwicrp-hdr-data.h.

◆ list_of_hops_length_

int hdr_uwicrp_data::list_of_hops_length_

Current number of IPs stored in the header.

Definition at line 59 of file uwicrp-hdr-data.h.

◆ offset_

int hdr_uwicrp_data::offset_ = 0
static

Required by the PacketHeaderManager.

Offset used to access in hdr_uwicrp_data packets header.

Definition at line 60 of file uwicrp-hdr-data.h.

◆ pointer_to_list_of_hops_

int hdr_uwicrp_data::pointer_to_list_of_hops_

Pointer used to keep track of the last IPs processed.

Definition at line 57 of file uwicrp-hdr-data.h.


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