summaryrefslogtreecommitdiffstats
path: root/src/msg_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/msg_manager.h')
-rwxr-xr-xsrc/msg_manager.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/msg_manager.h b/src/msg_manager.h
index 6308eb1b..8958f826 100755
--- a/src/msg_manager.h
+++ b/src/msg_manager.h
@@ -28,8 +28,15 @@ limitations under the License.
/* messages from CP->DP Ids */
-#define NAT_MSG (7)
-#define LATENCY_PKT_SEND_MSG (8)
+struct CGenNodeMsgBase {
+ enum {
+ NAT_FIRST = 7,
+ LATENCY_PKT = 8,
+ } msg_types;
+
+public:
+ uint8_t m_msg_type; /* msg type */
+};
/*