Skip to content

Commit

Permalink
More fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
clementperon committed Oct 6, 2024
1 parent beacbf4 commit 67fdf63
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 34 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ jobs:
cmake -DPCAPPP_BUILD_COVERAGE=OFF -S . -B "$BUILD_DIR"
cmake --build "$BUILD_DIR" -j
cmake --install "$BUILD_DIR" --prefix "${TOYVPN_PCAPPLUSPLUS}"
mkdir -p "${PCAPPLUSPLUS_LIBS_PATH}" "${PCAPPLUSPLUS_INCLUDE_PATH}"
mkdir -p "${PCAPPLUSPLUS_LIBS_PATH}"
mv ${TOYVPN_PCAPPLUSPLUS}/lib/*.a "${PCAPPLUSPLUS_LIBS_PATH}/"
- name: Build ToyVpn-PcapPlusPlus
Expand Down
7 changes: 3 additions & 4 deletions Examples/DpdkBridge/Common.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
#pragma once

#include "Packet.h"
#include "DpdkDevice.h"

#include <SystemUtils.h>
#include "pcapplusplus/Packet.h"
#include "pcapplusplus/DpdkDevice.h"
#include "pcapplusplus/SystemUtils.h"

#include <string>
#include <unordered_map>
Expand Down
7 changes: 3 additions & 4 deletions Examples/DpdkExample-FilterTraffic/Common.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
#pragma once

#include "Packet.h"
#include "DpdkDevice.h"

#include <SystemUtils.h>
#include "pcapplusplus/Packet.h"
#include "pcapplusplus/DpdkDevice.h"
#include "pcapplusplus/SystemUtils.h"

#include <string>
#include <unordered_map>
Expand Down
10 changes: 5 additions & 5 deletions Examples/DpdkExample-FilterTraffic/PacketMatchingEngine.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#pragma once

#include "Packet.h"
#include "IPv4Layer.h"
#include "TcpLayer.h"
#include "UdpLayer.h"
#include "SystemUtils.h"
#include "pcapplusplus/Packet.h"
#include "pcapplusplus/IPv4Layer.h"
#include "pcapplusplus/TcpLayer.h"
#include "pcapplusplus/UdpLayer.h"
#include "pcapplusplus/SystemUtils.h"

/**
* Responsible for matching packets by match criteria received from the user. Current match criteria are a combination
Expand Down
7 changes: 0 additions & 7 deletions Examples/PfRingExample-FilterTraffic/Common.h
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
#pragma once

<<<<<<< HEAD
#include <Packet.h>
#include <PfRingDeviceList.h>
=======
#include "pcapplusplus/Packet.h"
#include "pcapplusplus/PfRingDeviceList.h"

#include "pcapplusplus/SystemUtils.h"

#include <string>
#include <vector>
#include <iomanip>
#include <iostream>
>>>>>>> c5dfc41d (Remove ifdef inside cpp)
#include <sstream>

/**
Expand Down
8 changes: 0 additions & 8 deletions Examples/PfRingExample-FilterTraffic/PacketMatchingEngine.h
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
#pragma once

<<<<<<< HEAD
#include "Packet.h"
#include "IPv4Layer.h"
#include "TcpLayer.h"
#include "UdpLayer.h"
=======
#include "pcapplusplus/SystemUtils.h"
#include "pcapplusplus/Packet.h"
#include "pcapplusplus/IPv4Layer.h"
#include "pcapplusplus/TcpLayer.h"
#include "pcapplusplus/UdpLayer.h"
>>>>>>> c5dfc41d (Remove ifdef inside cpp)

/**
* Responsible for matching packets by match criteria received from the user. Current match criteria are a combination
Expand Down
10 changes: 5 additions & 5 deletions Examples/XdpExample-FilterTraffic/PacketMatchingEngine.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#pragma once

#include "Packet.h"
#include "IPv4Layer.h"
#include "TcpLayer.h"
#include "UdpLayer.h"
#include "SystemUtils.h"
#include "pcapplusplus/Packet.h"
#include "pcapplusplus/IPv4Layer.h"
#include "pcapplusplus/TcpLayer.h"
#include "pcapplusplus/UdpLayer.h"
#include "pcapplusplus/SystemUtils.h"

/**
* Responsible for matching packets by match criteria received from the user. Current match criteria are a combination
Expand Down

0 comments on commit 67fdf63

Please sign in to comment.