summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/stellar/session.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/stellar/session.h b/include/stellar/session.h
index c66cb3d..7ae22ad 100644
--- a/include/stellar/session.h
+++ b/include/stellar/session.h
@@ -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;