DESERT 4.0.0
hdr_tlohi Struct Reference

#include <uw-mac-TLohi.h>

Collaboration diagram for hdr_tlohi:
Collaboration graph

Static Public Member Functions

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

Public Attributes

double ts
 
int sn
 
TLOHI_PKT_TYPE pkt_type
 
packet_t orig_type
 
int data_sn
 

Static Public Attributes

static int offset_
 

Detailed Description

Struct that defines the header of T-LOHI in the packets

Member Function Documentation

◆ access()

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

Method that permits to access to the header

Returns
Pointer to the hdr_tlohi struct

References access(), and offset_.

Referenced by access().

Here is the call graph for this function:

◆ offset()

static int & hdr_tlohi::offset ( )
inlinestatic

Reference to the offset_ variable

References offset_.

Member Data Documentation

◆ data_sn

int hdr_tlohi::data_sn

DATA packet sequence number

Referenced by MMacTLOHI::initPkt().

◆ offset_

int hdr_tlohi::offset_
static

Required by PacketManager Header

Referenced by access(), and offset().

◆ orig_type

packet_t hdr_tlohi::orig_type

Original type of the packet (i.e. the type defined by the upper layers)

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

◆ pkt_type

TLOHI_PKT_TYPE hdr_tlohi::pkt_type

T-LOHI packet type

Referenced by TLohiTracer::format(), MMacTLOHI::initPkt(), and MMacTLOHI::Phy2MacEndRx().

◆ sn

int hdr_tlohi::sn

sequence number of this packet

Referenced by TLohiTracer::format(), and MMacTLOHI::initPkt().

◆ ts

double hdr_tlohi::ts

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

Referenced by TLohiTracer::format(), and MMacTLOHI::initPkt().


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