--- a/src/Common/SDU.msg
+++ b/src/Common/SDU.msg
@@ -16,9 +16,8 @@
cplusplus {{
#include <vector>
-#include "CDAPMessage_m.h"
#include "Data.h"
-typedef std::vector<CDAPMessage*> mUserDataType;
+typedef std::vector<cPacket*> mUserDataType;
}}
message Data;
@@ -30,7 +29,7 @@
SDU_FRAG_LAST = 0x02;
}
-message SDU extends Data {
+packet SDU extends Data {
@customize(true);
unsigned int size = 0;
unsigned int offset = 0;
@@ -43,5 +42,5 @@
unsigned int fSeqNum = 0;
int fragType enum(FragmentType) = 0 ;
-
+ schedulingPriority = -1;
}