75 size_t packMyHdr(Packet*,
unsigned char*,
size_t);
83 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.
packerUWUDP()
Class constructor.
void init()
Init the Packer.
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 DPort_Bits
Bit length of the sport_ field to be put in the header stream of bits.
void printMyHdrMap()
Method used for debug purposes.
void printMyHdrFields(Packet *)
Method used for debug purposes.
~packerUWUDP()
Class destructor.
size_t packMyHdr(Packet *, unsigned char *, size_t)
Method to transform the headers of Uwpolling into a stream of bits.
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 UWUDP packets header description and the definition of the class UWUDP.