TSG-16531 PacketAdapter适配容器环境,使用mrzcpd收包,通过RAW Socket注RST包

This commit is contained in:
luwenpeng
2023-08-09 18:47:16 +08:00
parent 1063574ca0
commit e34aa3f5e2
65 changed files with 4379 additions and 1174 deletions

View File

@@ -0,0 +1,23 @@
###############################################################################
# gtest_packet_parser
###############################################################################
add_executable(gtest_packet_parser gtest_packet_parser.cpp)
target_include_directories(gtest_packet_parser PUBLIC ${CMAKE_SOURCE_DIR}/common/include)
target_link_libraries(gtest_packet_parser common gtest)
###############################################################################
# gtest_packet_inject
###############################################################################
add_executable(gtest_packet_inject gtest_packet_inject.cpp)
target_include_directories(gtest_packet_inject PUBLIC ${CMAKE_SOURCE_DIR}/common/include)
target_link_libraries(gtest_packet_inject common gtest)
###############################################################################
# gtest_discover_tests
###############################################################################
include(GoogleTest)
gtest_discover_tests(gtest_packet_parser)
gtest_discover_tests(gtest_packet_inject)