DESERT 4.0.0
hdr_uwudp Struct Reference

#include <uwudp-module.h>

Collaboration diagram for hdr_uwudp:
Collaboration graph

Public Member Functions

uint8_t & sport ()
 
uint8_t & dport ()
 

Static Public Member Functions

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

Public Attributes

uint8_t sport_
 
uint8_t dport_
 

Static Public Attributes

static int offset_ = 0
 

Detailed Description

hdr_uwudp describes UWUDP packets.

Member Function Documentation

◆ access()

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

References access(), and offset_.

Referenced by access(), UwCbrModule::initPkt(), and UwVbrModule::initPkt().

Here is the call graph for this function:

◆ dport()

uint8_t & hdr_uwudp::dport ( )
inline

◆ offset()

static int & hdr_uwudp::offset ( )
inlinestatic

Reference to the offset_ variable.

References offset_.

◆ sport()

uint8_t & hdr_uwudp::sport ( )
inline

Reference to the sport_ variable.

References sport_.

Referenced by packerUWUDP::printMyHdrFields(), UwUdp::recv(), and packerUWUDP::unpackMyHdr().

Member Data Documentation

◆ dport_

uint8_t hdr_uwudp::dport_

Destination port number.

Referenced by dport(), packerUWUDP::packMyHdr(), and packerUWUDP::unpackMyHdr().

◆ offset_

int hdr_uwudp::offset_ = 0
static

Required by the PacketHeaderManager.

Referenced by access(), and offset().

◆ sport_

uint8_t hdr_uwudp::sport_

Source port number.

Referenced by packerUWUDP::packMyHdr(), sport(), and packerUWUDP::unpackMyHdr().


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