DESERT 4.0.0
hdr_uwicrp_status Struct Reference

#include <uwicrp-hdr-status.h>

Collaboration diagram for hdr_uwicrp_status:
Collaboration graph

Public Member Functions

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

Static Public Member Functions

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

Public Attributes

nsaddr_t list_of_hops_ [MAX_HOP_NUMBER]
 
int pointer_to_list_of_hops_
 
int list_of_hops_length_
 
double creation_time_
 

Static Public Attributes

static int offset_
 

Detailed Description

hdr_uwicrp_status describes status packets used by UWICRP

Member Function Documentation

◆ access()

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

References access(), and offset_.

Referenced by access().

Here is the call graph for this function:

◆ creation_time()

double & hdr_uwicrp_status::creation_time ( )
inline

Reference to the creation_time_ variable

References creation_time_.

Referenced by UwIcrpSink::initStatusPkt().

◆ list_of_hops()

nsaddr_t * hdr_uwicrp_status::list_of_hops ( )
inline

Pointer to the list_of_hops_ variable

References list_of_hops_.

Referenced by UwIcrpSink::initStatusPkt(), and UwIcrpNode::recv().

◆ list_of_hops_length()

int & hdr_uwicrp_status::list_of_hops_length ( )
inline

Reference to the list_of_hops_length_ variable

References list_of_hops_length_.

Referenced by UwIcrpNode::addRouteEntry(), and UwIcrpSink::initStatusPkt().

◆ offset()

static int & hdr_uwicrp_status::offset ( )
inlinestatic

Reference to the offset_ variable

References offset_.

◆ pointer_to_list_of_hops()

int & hdr_uwicrp_status::pointer_to_list_of_hops ( )
inline

Reference to the pointer_to_list_of_hops_ variable

References pointer_to_list_of_hops_.

Referenced by UwIcrpNode::addRouteEntry(), UwIcrpSink::initStatusPkt(), and UwIcrpNode::recv().

Member Data Documentation

◆ creation_time_

double hdr_uwicrp_status::creation_time_

Creation time of the packet

Referenced by creation_time().

◆ list_of_hops_

nsaddr_t hdr_uwicrp_status::list_of_hops_[MAX_HOP_NUMBER]

List of IPs saved in the header

Referenced by list_of_hops().

◆ list_of_hops_length_

int hdr_uwicrp_status::list_of_hops_length_

Current number of IPs stored in the header

Referenced by list_of_hops_length().

◆ offset_

int hdr_uwicrp_status::offset_
static
Initial value:
=
0

Required by the PacketHeaderManager

Offset used to access in hdr_uwicrp_status packets header.

Referenced by access(), and offset().

◆ pointer_to_list_of_hops_

int hdr_uwicrp_status::pointer_to_list_of_hops_

Pointer used to keep track of the last IPs processed

Referenced by pointer_to_list_of_hops().


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