refactor(session manager): turning the session manager into a stellar module

This commit is contained in:
luwenpeng
2024-09-20 16:56:05 +08:00
parent 620019cf8e
commit 94f1913e3e
20 changed files with 1944 additions and 1507 deletions

View File

@@ -255,28 +255,4 @@ uint32_t tcp_reassembly_get_recv_next(struct tcp_reassembly *tcp_reass)
}
return tcp_reass->recv_next;
}
const char *tcp_segment_get_data(const struct tcp_segment *seg)
{
if (seg == NULL)
{
return NULL;
}
else
{
return (const char *)seg->data;
}
}
uint16_t tcp_segment_get_len(const struct tcp_segment *seg)
{
if (seg == NULL)
{
return 0;
}
else
{
return seg->len;
}
}