summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorliuchang <[email protected]>2023-08-23 02:41:20 +0000
committerliuchang <[email protected]>2023-08-23 02:41:20 +0000
commit5879f63f8681d8a04002cf0bc73132aa16a93a04 (patch)
tree20c96404a7622352468c3136211577fd65cc2106
parent8fffa5090139f72ae53fcba6b346fda389eef2ee (diff)
add definition of session_flags message structupdate-session_flags_message_struct
-rw-r--r--src/common/firewall_message.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/common/firewall_message.h b/src/common/firewall_message.h
index a90b27c..a190771 100644
--- a/src/common/firewall_message.h
+++ b/src/common/firewall_message.h
@@ -1,6 +1,7 @@
#pragma once
#include <stddef.h>
+#include <stdint.h>
#define MESSAGE_MAGIC 0x12345678
@@ -60,6 +61,13 @@ struct capture_info_message
int vlan_id[];
};
+#define SESSION_FLAGS_MESSAGE_TOPIC "TOPIC_SESSION_FLAGS"
+struct session_flags_message
+{
+ uint64_t flags;
+ char *identify_info;
+};
+
#define FILE_CHUNK_MESSAGE_TOPIC "TOPIC_FILE_CHUNK"
struct file_chunk