diff --git a/infra/packet_parser/CMakeLists.txt b/infra/packet_parser/CMakeLists.txt index 13e9547..5ed91e5 100644 --- a/infra/packet_parser/CMakeLists.txt +++ b/infra/packet_parser/CMakeLists.txt @@ -1,10 +1,10 @@ add_library(packet - packet_utils.cpp - packet_parser.cpp - packet_builder.cpp - packet_filter.cpp - packet_dump.cpp - checksum.cpp) + packet_utils.c + packet_parser.c + packet_builder.c + packet_filter.c + packet_dump.c + checksum.c) target_include_directories(packet PUBLIC ${CMAKE_CURRENT_LIST_DIR}) target_include_directories(packet PUBLIC ${CMAKE_SOURCE_DIR}/deps/uthash) target_include_directories(packet PUBLIC ${CMAKE_SOURCE_DIR}/include) diff --git a/infra/packet_parser/checksum.cpp b/infra/packet_parser/checksum.c similarity index 100% rename from infra/packet_parser/checksum.cpp rename to infra/packet_parser/checksum.c diff --git a/infra/packet_parser/packet_builder.cpp b/infra/packet_parser/packet_builder.c similarity index 100% rename from infra/packet_parser/packet_builder.cpp rename to infra/packet_parser/packet_builder.c diff --git a/infra/packet_parser/packet_dump.cpp b/infra/packet_parser/packet_dump.c similarity index 100% rename from infra/packet_parser/packet_dump.cpp rename to infra/packet_parser/packet_dump.c diff --git a/infra/packet_parser/packet_filter.cpp b/infra/packet_parser/packet_filter.c similarity index 100% rename from infra/packet_parser/packet_filter.cpp rename to infra/packet_parser/packet_filter.c diff --git a/infra/packet_parser/packet_parser.cpp b/infra/packet_parser/packet_parser.c similarity index 100% rename from infra/packet_parser/packet_parser.cpp rename to infra/packet_parser/packet_parser.c diff --git a/infra/packet_parser/packet_utils.cpp b/infra/packet_parser/packet_utils.c similarity index 100% rename from infra/packet_parser/packet_utils.cpp rename to infra/packet_parser/packet_utils.c