43#define HDR_UWAL(p) (hdr_uwal::access(p))
44#define MAX_BIN_PKT_ARRAY_LENGTH 2240
45#define MAX_DUMMY_STRING_LENGTH 2240
104 inline unsigned int &
#define MAX_BIN_PKT_ARRAY_LENGTH
#define MAX_DUMMY_STRING_LENGTH
hdr_uwal describes the packet header used by Uwal objects.
char * dummyStr()
Return the pointer to the dummyStr_ array.
uint8_t & Mbit()
Reference to the Mbit_ variable.
uint32_t & binHdrLength()
Reference to the binHdrLength_ variable.
uint16_t & framePayloadOffset()
Reference to the frameOffset_ variable.
char dummyStr_[MAX_DUMMY_STRING_LENGTH]
array containing a dummy string.
unsigned int & pktID()
Reference to the pktID_ variable.
char * binPkt()
Return to the binPkt_ array pointer.
uint8_t srcID_
ID of the packet's source node.
unsigned int pktID_
ID of the packet.
uint16_t framePayloadOffset_
Offset of the frame payload.
uint8_t & srcID()
Reference to the srcID_ variable.
uint32_t binHdrLength_
number of chars in binPkt_ to consider as header.
uint32_t & binPktLength()
Reference to the binPktLength_ variable.
uint32_t binPktLength_
number of chars in binPkt_ to consider.
uint8_t 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 no...
static struct hdr_uwal * access(const Packet *p)
char 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: t...