bugfix: tcp segment free
This commit is contained in:
@@ -157,8 +157,11 @@ void session_manager_on_thread_exit(struct module_manager *mod_mgr, int thread_i
|
||||
struct module *session_monitor_on_init(struct module_manager *mod_mgr);
|
||||
void session_monitor_on_exit(struct module_manager *mod_mgr, struct module *mod);
|
||||
|
||||
#define TCP_SEGMENT_FROM_RAW_PACKET 1
|
||||
#define TCP_SEGMENT_FROM_REASSEMBLY 0
|
||||
struct tcp_segment
|
||||
{
|
||||
uint8_t from; // TCP_SEGMENT_FROM_RAW_PACKET or TCP_SEGMENT_FROM_REASSEMBLY
|
||||
uint32_t len;
|
||||
const void *data;
|
||||
struct tcp_segment *next;
|
||||
|
||||
Reference in New Issue
Block a user