session manager add packet_tag: (PKT_TAG_KEY_SESS, PKT_TAG_VAL_SESS_NEW/FREE/CTRL_MSG/TCP_STREAM)
This commit is contained in:
@@ -7,15 +7,21 @@ extern "C"
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include "stellar/session.h"
|
||||
|
||||
#if 0
|
||||
struct tcp_segment
|
||||
{
|
||||
uint32_t len;
|
||||
const void *data;
|
||||
struct tcp_segment *next;
|
||||
};
|
||||
#endif
|
||||
|
||||
struct tcp_segment *tcp_segment_new(uint32_t seq, const void *data, uint32_t len);
|
||||
void tcp_segment_free(struct tcp_segment *seg);
|
||||
void tcp_segment_set_user_data(struct tcp_segment *seg, void *user_data);
|
||||
void *tcp_segment_get_user_data(const struct tcp_segment *seg);
|
||||
|
||||
struct tcp_reassembly *tcp_reassembly_new(uint64_t max_timeout, uint64_t max_seg_num);
|
||||
void tcp_reassembly_free(struct tcp_reassembly *tcp_reass);
|
||||
|
||||
Reference in New Issue
Block a user