Add packet IO module
* support marsio
* support dumpfile ( 1 thread read dumpfile & N thread handle packet)
This commit is contained in:
@@ -17,8 +17,8 @@ target_link_libraries(gtest_ipv4_utils packet gtest)
|
||||
add_executable(gtest_ipv6_utils gtest_ipv6_utils.cpp)
|
||||
target_link_libraries(gtest_ipv6_utils packet gtest)
|
||||
|
||||
add_executable(gtest_packet_helpers gtest_packet_helpers.cpp)
|
||||
target_link_libraries(gtest_packet_helpers packet gtest)
|
||||
add_executable(gtest_packet_utils gtest_packet_utils.cpp)
|
||||
target_link_libraries(gtest_packet_utils packet gtest)
|
||||
|
||||
include(GoogleTest)
|
||||
gtest_discover_tests(gtest_packet)
|
||||
@@ -26,4 +26,4 @@ gtest_discover_tests(gtest_udp_utils)
|
||||
gtest_discover_tests(gtest_tcp_utils)
|
||||
gtest_discover_tests(gtest_ipv4_utils)
|
||||
gtest_discover_tests(gtest_ipv6_utils)
|
||||
gtest_discover_tests(gtest_packet_helpers)
|
||||
gtest_discover_tests(gtest_packet_utils)
|
||||
@@ -1,6 +1,6 @@
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "packet_helpers.h"
|
||||
#include "packet_utils.h"
|
||||
|
||||
/******************************************************************************
|
||||
* [Protocols in frame: eth:ethertype:ip:data]
|
||||
Reference in New Issue
Block a user