76 size_t packMyHdr(Packet*,
unsigned char*,
size_t);
84 size_t unpackMyHdr(
unsigned char*,
size_t, Packet*);
Class exploited by the Uwal module to map an NS-Miracle packet into a bit stream, and vice-versa.
void init()
Init the Packer.
void printMyHdrFields(Packet *)
Method used for debug purposes.
size_t RFTT_VALID_Bits
Bit length of the rftt_ field to be put in the header stream of bits.
size_t packMyHdr(Packet *, unsigned char *, size_t)
Method to transform the headers of Uwpolling into a stream of bits.
size_t unpackMyHdr(unsigned char *, size_t, Packet *)
Method responsible to take the informations from the received buffer and store it into the headers of...
size_t RFTT_Bits
Bit length of the sn_ field to be put in the header stream of bits.
size_t TRAFFIC_TYPE_Bits
Bit length of the rftt_valid_ field to be put in the header stream of bits.
void printMyHdrMap()
Method used for debug purposes.
packerUWCBR()
Class constructor.
~packerUWCBR()
Class destructor.
Class exploited by the Uwal module to map an NS-Miracle packet into a bit stream, and vice-versa.
Header of the class responsible to map an NS-Miracle packet into a bit stream, and vice-versa.
Provides the UWCBR packets header description and the definition of the class UWCBR.