34 #define SDU_SEQ_NUM_PRESENT 0x08
35 #define SDU_NO_LENGTH 0x04
36 #define SDU_NO_L_MID_FRAG 0x00
37 #define SDU_NO_L_FIRST_FRAG 0x01
38 #define SDU_NO_L_LAST_FRAG 0x02
39 #define SDU_NO_L_ONE_SDU 0x03
41 #define SDU_L_COMP_SDU 0x00
42 #define SDU_L_SDU_FIRST_FRAG 0x01
43 #define SDU_L_LAST_FRAG_SDU 0x02
44 #define SDU_L_LAST_SDU_FIRST_FRAG 0x03
62 SDU(
const char *name=NULL,
int kind=0);
void setFragment(unsigned int size, unsigned int fSeqNum, unsigned int fOffset)
virtual SDU * dup() const
std::vector< cPacket * > mUserDataType
bool addUserData(cPacket *msg)
unsigned int getAbsoluteSize() const
SDU_Base & operator=(const SDU_Base &other)
void copy(const SDU &other)
SDU(const char *name=NULL, int kind=0)
unsigned int getSize() const
mUserDataType mUserData_var
SDU * genFragment(unsigned int size, unsigned int fSeqNum, unsigned int fOffset)
std::vector< SDU * > fragment(unsigned int size)
SDU & operator=(const SDU &other)
unsigned int getRestSize() const