diff options
| author | helanfeng <[email protected]> | 2024-11-11 11:38:47 +0800 |
|---|---|---|
| committer | helanfeng <[email protected]> | 2024-11-11 11:46:23 +0800 |
| commit | ffebf0e2d4e8d8069b14948156d47e01ace6a6f0 (patch) | |
| tree | 6825318e95db4e85877d45747e5dcc5d46d80684 /infra | |
| parent | d0a868591470a4a9d71a65a5d540058e72c8d92c (diff) | |
dtls adapt stellar 2.0
Diffstat (limited to 'infra')
| -rw-r--r-- | infra/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | infra/packet_io/CMakeLists.txt | 1 | ||||
| -rw-r--r-- | infra/packet_io/mars_io.c | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/infra/CMakeLists.txt b/infra/CMakeLists.txt index fc0ad21..7411bd2 100644 --- a/infra/CMakeLists.txt +++ b/infra/CMakeLists.txt @@ -1,6 +1,6 @@ set(INFRA exdata mq tuple packet_manager packet_io ip_reassembly tcp_reassembly session_manager module_manager monitor) set(DEPS bitmap dablooms interval_tree logger nmx_pool rbtree timeout toml ringbuf) -set(DECODERS lpi_plus) +set(DECODERS lpi_plus dtls) set(WHOLE_ARCHIVE ${DEPS} ${INFRA} ${DECODERS}) set(LIBS fieldstat4) diff --git a/infra/packet_io/CMakeLists.txt b/infra/packet_io/CMakeLists.txt index 0164184..f4d516a 100644 --- a/infra/packet_io/CMakeLists.txt +++ b/infra/packet_io/CMakeLists.txt @@ -1,3 +1,4 @@ +include_directories(/opt/tsg/mrzcpd/include/) add_library(packet_io pcap_io.c mars_io.c packet_io.c) target_include_directories(packet_io PUBLIC ${CMAKE_CURRENT_LIST_DIR}) target_link_libraries(packet_io marsio pcap packet_manager ip_reassembly fieldstat4) diff --git a/infra/packet_io/mars_io.c b/infra/packet_io/mars_io.c index 6ce3de4..82ac77a 100644 --- a/infra/packet_io/mars_io.c +++ b/infra/packet_io/mars_io.c @@ -1,7 +1,7 @@ #include <sched.h> #include <assert.h> -#include "marsio.h" +#include "/opt/tsg/mrzcpd/include/marsio.h" #include "mars_io.h" #include "packet_pool.h" #include "packet_parser.h" |
