DESERT 4.0.0
hdr_PROBE Struct Reference

#include <uwpolling_cmn_hdr.h>

Collaboration diagram for hdr_PROBE:
Collaboration graph

Public Member Functions

uint16_t & ts ()
 
int & n_pkts ()
 
uint & id_node ()
 
uint & PROBE_uid ()
 

Static Public Member Functions

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

Public Attributes

uint16_t ts_
 
int n_pkts_
 
uint id_node_
 
uint PROBE_uid_
 

Static Public Attributes

static int offset_ = 0
 

Detailed Description

Header of the PROBE message

Member Function Documentation

◆ access()

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

References access(), and offset_.

Referenced by access().

Here is the call graph for this function:

◆ id_node()

uint & hdr_PROBE::id_node ( )
inline

Reference to id_node variable

References id_node_.

Referenced by Uwpolling_AUV::addNode2List(), and Uwpolling_NODE::initPkt().

◆ n_pkts()

int & hdr_PROBE::n_pkts ( )
inline

Reference to backoff_time variable Reference to n_pkts variable

References n_pkts_.

Referenced by Uwpolling_AUV::addNode2List(), Uwpolling_NODE::initPkt(), and Uwpolling_NODE::stateTxProbe().

◆ offset()

static int & hdr_PROBE::offset ( )
inlinestatic

Reference to the offset variable

References offset_.

◆ PROBE_uid()

uint & hdr_PROBE::PROBE_uid ( )
inline

Reference to PROBE_uid_ variable

References PROBE_uid_.

◆ ts()

uint16_t & hdr_PROBE::ts ( )
inline

Reference to timestamp variable

References ts_.

Referenced by Uwpolling_AUV::addNode2List(), and Uwpolling_NODE::initPkt().

Member Data Documentation

◆ id_node_

◆ n_pkts_

int hdr_PROBE::n_pkts_

◆ offset_

int hdr_PROBE::offset_ = 0
static

Required by the PacketHeaderManager.

Referenced by access(), and offset().

◆ PROBE_uid_

◆ ts_

uint16_t hdr_PROBE::ts_

Timestamp of the most recent data packet

Referenced by packerUwpolling::packMyHdr(), packerUwpolling::printMyHdrFields(), ts(), and packerUwpolling::unpackMyHdr().


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