DESERT 3.5.1
|
#include <hdr-uwal.h>
Public Member Functions | |
uint8_t & | srcID () |
unsigned int & | pktID () |
uint16_t & | framePayloadOffset () |
uint8_t & | Mbit () |
char * | dummyStr () |
char * | binPkt () |
uint32_t & | binPktLength () |
uint32_t & | binHdrLength () |
Static Public Member Functions | |
static int & | offset () |
static struct hdr_uwal * | access (const Packet *p) |
Public Attributes | |
uint8_t | srcID_ |
unsigned int | pktID_ |
uint16_t | framePayloadOffset_ |
uint8_t | Mbit_ |
char | dummyStr_ [MAX_DUMMY_STRING_LENGTH] |
char | binPkt_ [MAX_BIN_PKT_ARRAY_LENGTH] |
uint32_t | binPktLength_ |
uint32_t | binHdrLength_ |
Static Public Attributes | |
static int | offset_ |
hdr_uwal describes the packet header used by Uwal objects.
Definition at line 52 of file hdr-uwal.h.
|
inlinestatic |
Definition at line 62 of file hdr-uwal.h.
|
inline |
Reference to the binHdrLength_ variable.
Definition at line 159 of file hdr-uwal.h.
|
inline |
Return to the binPkt_ array pointer.
Definition at line 141 of file hdr-uwal.h.
|
inline |
Reference to the binPktLength_ variable.
Definition at line 150 of file hdr-uwal.h.
|
inline |
Return the pointer to the dummyStr_ array.
Definition at line 132 of file hdr-uwal.h.
|
inline |
Reference to the frameOffset_ variable.
Definition at line 114 of file hdr-uwal.h.
|
inline |
Reference to the Mbit_ variable.
Definition at line 123 of file hdr-uwal.h.
|
inlinestatic |
Definition at line 57 of file hdr-uwal.h.
|
inline |
Reference to the pktID_ variable.
Definition at line 105 of file hdr-uwal.h.
|
inline |
Reference to the srcID_ variable.
Definition at line 96 of file hdr-uwal.h.
uint32_t hdr_uwal::binHdrLength_ |
number of chars in binPkt_ to consider as header.
Definition at line 89 of file hdr-uwal.h.
char hdr_uwal::binPkt_[MAX_BIN_PKT_ARRAY_LENGTH] |
array to store binary data as encoded from or to be decoded to this NS-Miracle packet header (NOTE: this CANNOT be fragmented) and the active packers linked to packer.
Definition at line 80 of file hdr-uwal.h.
uint32_t hdr_uwal::binPktLength_ |
number of chars in binPkt_ to consider.
Definition at line 88 of file hdr-uwal.h.
char hdr_uwal::dummyStr_[MAX_DUMMY_STRING_LENGTH] |
array containing a dummy string.
Definition at line 75 of file hdr-uwal.h.
uint16_t hdr_uwal::framePayloadOffset_ |
Offset of the frame payload.
Definition at line 71 of file hdr-uwal.h.
uint8_t hdr_uwal::Mbit_ |
M bit: if set to 0 the current frame is the last or the only one; if set to 1 the current frame is not the last.
Definition at line 72 of file hdr-uwal.h.
|
static |
Definition at line 55 of file hdr-uwal.h.
unsigned int hdr_uwal::pktID_ |
ID of the packet.
Definition at line 70 of file hdr-uwal.h.
uint8_t hdr_uwal::srcID_ |
ID of the packet's source node.
Definition at line 69 of file hdr-uwal.h.