refactor(session manager): turning the session manager into a stellar module
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user