DESERT 4.0.0
hdr_dacap Struct Reference

#include <uw-mac-DACAP-alter.h>

Collaboration diagram for hdr_dacap:
Collaboration graph

Static Public Member Functions

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

Public Attributes

double ts
 
int sn
 
int dacap_type
 
packet_t orig_type
 
int data_sn
 
int tx_tries
 

Static Public Attributes

static int offset_
 

Detailed Description

Definition of the header of DACAP packets

Member Function Documentation

◆ access()

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

Access to this header in the Packet

Returns
Pointer to the hdr_dacap structure

References access(), and offset_.

Referenced by access().

Here is the call graph for this function:

◆ offset()

static int & hdr_dacap::offset ( )
inlinestatic

Reference to the offset variable

References offset_.

Member Data Documentation

◆ dacap_type

◆ data_sn

◆ offset_

int hdr_dacap::offset_
static

Required by the PacketHeaderManager.

Referenced by access(), and offset().

◆ orig_type

packet_t hdr_dacap::orig_type

Original type of the packet

Referenced by MMacDACAP::initPkt(), and MMacDACAP::stateDataReceived().

◆ sn

int hdr_dacap::sn

sequence number of this packet

Referenced by DACAPTracer::format(), and MMacDACAP::initPkt().

◆ ts

double hdr_dacap::ts

packet timestamp, i.e., its generation time)

Referenced by DACAPTracer::format(), and MMacDACAP::initPkt().

◆ tx_tries

int hdr_dacap::tx_tries

Number of transmission tries of the packet

Referenced by MMacDACAP::initPkt().


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