test: add imitate_tcp_packet test case (TCP over IPv4, with TCP options, with TCP payload)

This commit is contained in:
luwenpeng
2024-07-03 10:14:00 +08:00
parent 2c0ec4072f
commit e502b565e5
2 changed files with 179 additions and 0 deletions

View File

@@ -37,6 +37,9 @@ target_link_libraries(gtest_packet_frag packet gtest)
add_executable(gtest_packet_parse gtest_packet_parse.cpp)
target_link_libraries(gtest_packet_parse packet gtest)
add_executable(gtest_packet_build gtest_packet_build.cpp)
target_link_libraries(gtest_packet_build packet gtest)
add_executable(gtest_packet_ldbc gtest_packet_ldbc.cpp)
target_link_libraries(gtest_packet_ldbc packet gtest)
@@ -54,4 +57,5 @@ gtest_discover_tests(gtest_gre_utils)
gtest_discover_tests(gtest_l2tp_utils)
gtest_discover_tests(gtest_packet_frag)
gtest_discover_tests(gtest_packet_parse)
gtest_discover_tests(gtest_packet_build)
gtest_discover_tests(gtest_packet_ldbc)