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

#include <sun-hdr-data.h>

Public Member Functions

uint8_t * list_of_hops ()
 
u_int8_t & list_of_hops_length ()
 
int8_t & pointer ()
 

Static Public Member Functions

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

Public Attributes

uint8_t list_of_hops_ [MAX_HOP_NUMBER]
 
int8_t pointer_to_list_of_hops_
 
u_int8_t list_of_hops_length_
 

Static Public Attributes

static int offset_ = 0
 

Detailed Description

hdr_sun_data describes data packets used by UWSUN

Definition at line 54 of file sun-hdr-data.h.

Member Function Documentation

◆ access()

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

Definition at line 100 of file sun-hdr-data.h.

◆ list_of_hops()

uint8_t * hdr_sun_data::list_of_hops ( )
inline

Pointer to the list_of_hops_ variable.

Definition at line 76 of file sun-hdr-data.h.

◆ list_of_hops_length()

u_int8_t & hdr_sun_data::list_of_hops_length ( )
inline

Reference to the list_of_hops_length_ variable.

Definition at line 85 of file sun-hdr-data.h.

◆ offset()

static int & hdr_sun_data::offset ( )
inlinestatic

Reference to the offset_ variable.

Definition at line 67 of file sun-hdr-data.h.

◆ pointer()

int8_t & hdr_sun_data::pointer ( )
inline

Reference to the pointer_to_list_of_hops_ variable.

Definition at line 94 of file sun-hdr-data.h.

Member Data Documentation

◆ list_of_hops_

uint8_t hdr_sun_data::list_of_hops_[MAX_HOP_NUMBER]

List of IPs saved in the header.

Definition at line 56 of file sun-hdr-data.h.

◆ list_of_hops_length_

u_int8_t hdr_sun_data::list_of_hops_length_

Current number of IPs stored in the header.

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

◆ offset_

int hdr_sun_data::offset_ = 0
static

Required by the PacketHeaderManager.

Offset used to access in hdr_sun_data packets header.

Definition at line 61 of file sun-hdr-data.h.

◆ pointer_to_list_of_hops_

int8_t hdr_sun_data::pointer_to_list_of_hops_

Pointer used to keep track of the last IPs processed.

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


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