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

#include <sun-hdr-pathestablishment.h>

Public Member Functions

uint8_t & sinkAssociated ()
 
packet_path_estptype ()
 
uint8_t * list_of_hops ()
 
u_int8_t & list_of_hops_length ()
 
int8_t & pointer ()
 
float & quality ()
 

Static Public Member Functions

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

Public Attributes

uint8_t sink_associated_
 
packet_path_est ptype_
 
uint8_t list_of_hops_ [MAX_HOP_NUMBER]
 
int8_t pointer_to_list_of_hops_
 
uint8_t list_of_hops_length_
 
float quality_
 

Static Public Attributes

static int offset_ = 0
 

Detailed Description

hdr_sun_path_est describes path establishment packets used by UWSUN

Definition at line 60 of file sun-hdr-pathestablishment.h.

Member Function Documentation

◆ access()

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

Definition at line 138 of file sun-hdr-pathestablishment.h.

◆ list_of_hops()

uint8_t * hdr_sun_path_est::list_of_hops ( )
inline

Pointer to the list_of_hops_ variable.

Definition at line 105 of file sun-hdr-pathestablishment.h.

◆ list_of_hops_length()

u_int8_t & hdr_sun_path_est::list_of_hops_length ( )
inline

Reference to the list_of_hops_length_ variable.

Definition at line 114 of file sun-hdr-pathestablishment.h.

◆ offset()

static int & hdr_sun_path_est::offset ( )
inlinestatic

Reference to the offset_ variable.

Definition at line 78 of file sun-hdr-pathestablishment.h.

◆ pointer()

int8_t & hdr_sun_path_est::pointer ( )
inline

Reference to the pointer_to_list_of_hops_ variable.

Definition at line 123 of file sun-hdr-pathestablishment.h.

◆ ptype()

packet_path_est & hdr_sun_path_est::ptype ( )
inline

Reference to the ptype_ variable.

Definition at line 96 of file sun-hdr-pathestablishment.h.

◆ quality()

float & hdr_sun_path_est::quality ( )
inline

Reference to the quality_ variable.

Definition at line 132 of file sun-hdr-pathestablishment.h.

◆ sinkAssociated()

uint8_t & hdr_sun_path_est::sinkAssociated ( )
inline

Reference to the sink_associated_ variable.

Definition at line 87 of file sun-hdr-pathestablishment.h.

Member Data Documentation

◆ list_of_hops_

uint8_t hdr_sun_path_est::list_of_hops_[MAX_HOP_NUMBER]

List of IPs saved in the header.

Definition at line 65 of file sun-hdr-pathestablishment.h.

◆ list_of_hops_length_

uint8_t hdr_sun_path_est::list_of_hops_length_

Current number of IPs stored in the header.

Definition at line 68 of file sun-hdr-pathestablishment.h.

◆ offset_

int hdr_sun_path_est::offset_ = 0
static

Required by the PacketHeaderManager.

Offset used to access in hdr_sun_path_est packets header.

Definition at line 72 of file sun-hdr-pathestablishment.h.

◆ pointer_to_list_of_hops_

int8_t hdr_sun_path_est::pointer_to_list_of_hops_

Pointer used to keep track of the last IPs processed.

Definition at line 66 of file sun-hdr-pathestablishment.h.

◆ ptype_

packet_path_est hdr_sun_path_est::ptype_

Idientifier of the packet type: PATH_SEARCH, PATH_ANSWER or PATH_ERROR.

Definition at line 63 of file sun-hdr-pathestablishment.h.

◆ quality_

float hdr_sun_path_est::quality_

Used to save information about the "quality" of the metric used.

Definition at line 70 of file sun-hdr-pathestablishment.h.

◆ sink_associated_

uint8_t hdr_sun_path_est::sink_associated_

IP of the sink associated with the packet.

Definition at line 62 of file sun-hdr-pathestablishment.h.


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