diff options
| author | yangyubo <[email protected]> | 2023-08-24 16:20:15 +0800 |
|---|---|---|
| committer | yangyubo <[email protected]> | 2023-08-24 16:20:15 +0800 |
| commit | ab591dcd0f12c10d03badb7fcb471a0bbb5fa6d0 (patch) | |
| tree | 8725b3129f052b89a963dace0567bcf0d6df74fe | |
| parent | 8fe1490d8e08ccd9c35bc42ac3f3a1bd1b02a4a3 (diff) | |
add definition of ctrl_packets message struct
| -rw-r--r-- | src/common/firewall_message.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/common/firewall_message.h b/src/common/firewall_message.h index a190771..b78d3ae 100644 --- a/src/common/firewall_message.h +++ b/src/common/firewall_message.h @@ -78,3 +78,10 @@ struct file_chunk size_t chunk_len; }; +#define CTRL_PACKET_IN_MESSAGE_TOPIC "TOPIC_CTRL_PACKET_IN" +#define CTRL_PACKET_OUT_MESSAGE_TOPIC "TOPIC_CTRL_PACKET_OUT" +struct buffer_message +{ + size_t buff_sz; + char *buff; +};
\ No newline at end of file |
