update session finite state machine & add tcp init -> opening test case

This commit is contained in:
luwenpeng
2024-01-23 14:30:46 +08:00
parent 4fbafab4e3
commit 1f668b1a01
16 changed files with 2049 additions and 1021 deletions

View File

@@ -75,7 +75,7 @@ struct config
.enable = 1,
.capacity = 1000000,
.error_rate = 0.00001,
.timeout_s = 10,
.timeout_s = 3,
};
TEST(DUPKT_FILTER, TEST)
@@ -91,7 +91,7 @@ TEST(DUPKT_FILTER, TEST)
EXPECT_TRUE(dupkt_filter_lookup(filter, &pkt) == 0); // no found
dupkt_filter_add(filter, &pkt); // add
for (int i = 0; i < 12; i++)
for (int i = 0; i < 5; i++)
{
timestamp_update();