DESERT 4.0.0
hdr_uwcbr Struct Reference

#include <uwcbr-module.h>

Collaboration diagram for hdr_uwcbr:
Collaboration graph

Public Member Functions

uint16_t & sn ()
 
bool & rftt_valid ()
 
char & priority ()
 
float & rftt ()
 
uint16_t & traffic_type ()
 

Static Public Member Functions

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

Public Attributes

uint16_t sn_
 
float rftt_
 
bool rftt_valid_
 
char priority_
 
uint16_t traffic_type_
 

Static Public Attributes

static int offset_
 

Detailed Description

hdr_uwcbr describes UWCBR packets.

Member Function Documentation

◆ access()

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

References access(), and offset_.

Referenced by access().

Here is the call graph for this function:

◆ offset()

static int & hdr_uwcbr::offset ( )
inlinestatic

Reference to the offset_ variable.

References offset_.

◆ priority()

◆ rftt()

float & hdr_uwcbr::rftt ( )
inline

Reference to the rftt_ variable.

References rftt_.

Referenced by UwCbrModule::initPkt(), packerUWCBR::printMyHdrFields(), and UwCbrModule::recv().

◆ rftt_valid()

bool & hdr_uwcbr::rftt_valid ( )
inline

Reference to the rftt_valid_ variable.

References rftt_valid_.

Referenced by UwCbrModule::initPkt(), packerUWCBR::printMyHdrFields(), and UwCbrModule::recv().

◆ sn()

◆ traffic_type()

Member Data Documentation

◆ offset_

int hdr_uwcbr::offset_
static

Required by the PacketHeaderManager.

Offset used to access in hdr_uwcbr packets header.

Referenced by access(), and offset().

◆ priority_

char hdr_uwcbr::priority_

Priority flag: 1 means high priority, 0 normal priority.

Referenced by priority().

◆ rftt_

float hdr_uwcbr::rftt_

Forward Trip Time of the packet.

Referenced by packerUWCBR::packMyHdr(), rftt(), and packerUWCBR::unpackMyHdr().

◆ rftt_valid_

bool hdr_uwcbr::rftt_valid_

Flag used to set the validity of the fft field.

Referenced by UWCbrTracer::format(), packerUWCBR::packMyHdr(), rftt_valid(), and packerUWCBR::unpackMyHdr().

◆ sn_

◆ traffic_type_

uint16_t hdr_uwcbr::traffic_type_

Traffic type: (video, audio, image, etc..) meaning left to the user

Referenced by packerUWCBR::packMyHdr(), traffic_type(), and packerUWCBR::unpackMyHdr().


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