optimizate inject packt test case
This commit is contained in:
@@ -25,9 +25,6 @@ struct tcp_half
|
||||
struct tcp_segment in_order; // current packet in order segment
|
||||
uint32_t in_order_ref; // reference count of current packet in order segment
|
||||
|
||||
uint32_t inject_inc_seq_offset; // inject packet base on current packet increase seq offset
|
||||
uint32_t inject_inc_ack_offset; // inject packet base on current packet increase ack offset
|
||||
|
||||
uint32_t seq; // current packet sequence number
|
||||
uint32_t ack; // current packet ack number
|
||||
uint16_t len; // current packet payload length
|
||||
|
||||
@@ -298,8 +298,6 @@ static void tcp_update(struct session_manager *mgr, struct session *sess, enum f
|
||||
{
|
||||
half->isn = tcp_hdr_get_seq(hdr);
|
||||
}
|
||||
half->inject_inc_ack_offset = 0;
|
||||
half->inject_inc_seq_offset = 0;
|
||||
half->flags = flags;
|
||||
half->history |= flags;
|
||||
half->seq = tcp_hdr_get_seq(hdr);
|
||||
|
||||
Reference in New Issue
Block a user