Skip to content

Commit 67fdf63

Browse files
committed
More fixes
1 parent beacbf4 commit 67fdf63

File tree

7 files changed

+17
-34
lines changed

7 files changed

+17
-34
lines changed

.github/workflows/build_and_test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ jobs:
672672
cmake -DPCAPPP_BUILD_COVERAGE=OFF -S . -B "$BUILD_DIR"
673673
cmake --build "$BUILD_DIR" -j
674674
cmake --install "$BUILD_DIR" --prefix "${TOYVPN_PCAPPLUSPLUS}"
675-
mkdir -p "${PCAPPLUSPLUS_LIBS_PATH}" "${PCAPPLUSPLUS_INCLUDE_PATH}"
675+
mkdir -p "${PCAPPLUSPLUS_LIBS_PATH}"
676676
mv ${TOYVPN_PCAPPLUSPLUS}/lib/*.a "${PCAPPLUSPLUS_LIBS_PATH}/"
677677
678678
- name: Build ToyVpn-PcapPlusPlus

Examples/DpdkBridge/Common.h

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
#pragma once
22

3-
#include "Packet.h"
4-
#include "DpdkDevice.h"
5-
6-
#include <SystemUtils.h>
3+
#include "pcapplusplus/Packet.h"
4+
#include "pcapplusplus/DpdkDevice.h"
5+
#include "pcapplusplus/SystemUtils.h"
76

87
#include <string>
98
#include <unordered_map>

Examples/DpdkExample-FilterTraffic/Common.h

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
#pragma once
22

3-
#include "Packet.h"
4-
#include "DpdkDevice.h"
5-
6-
#include <SystemUtils.h>
3+
#include "pcapplusplus/Packet.h"
4+
#include "pcapplusplus/DpdkDevice.h"
5+
#include "pcapplusplus/SystemUtils.h"
76

87
#include <string>
98
#include <unordered_map>

Examples/DpdkExample-FilterTraffic/PacketMatchingEngine.h

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#pragma once
22

3-
#include "Packet.h"
4-
#include "IPv4Layer.h"
5-
#include "TcpLayer.h"
6-
#include "UdpLayer.h"
7-
#include "SystemUtils.h"
3+
#include "pcapplusplus/Packet.h"
4+
#include "pcapplusplus/IPv4Layer.h"
5+
#include "pcapplusplus/TcpLayer.h"
6+
#include "pcapplusplus/UdpLayer.h"
7+
#include "pcapplusplus/SystemUtils.h"
88

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

Examples/PfRingExample-FilterTraffic/Common.h

-7
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,12 @@
11
#pragma once
22

3-
<<<<<<< HEAD
4-
#include <Packet.h>
5-
#include <PfRingDeviceList.h>
6-
=======
73
#include "pcapplusplus/Packet.h"
84
#include "pcapplusplus/PfRingDeviceList.h"
95

10-
#include "pcapplusplus/SystemUtils.h"
11-
126
#include <string>
137
#include <vector>
148
#include <iomanip>
159
#include <iostream>
16-
>>>>>>> c5dfc41d (Remove ifdef inside cpp)
1710
#include <sstream>
1811

1912
/**

Examples/PfRingExample-FilterTraffic/PacketMatchingEngine.h

-8
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
#pragma once
22

3-
<<<<<<< HEAD
4-
#include "Packet.h"
5-
#include "IPv4Layer.h"
6-
#include "TcpLayer.h"
7-
#include "UdpLayer.h"
8-
=======
9-
#include "pcapplusplus/SystemUtils.h"
103
#include "pcapplusplus/Packet.h"
114
#include "pcapplusplus/IPv4Layer.h"
125
#include "pcapplusplus/TcpLayer.h"
136
#include "pcapplusplus/UdpLayer.h"
14-
>>>>>>> c5dfc41d (Remove ifdef inside cpp)
157

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

Examples/XdpExample-FilterTraffic/PacketMatchingEngine.h

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#pragma once
22

3-
#include "Packet.h"
4-
#include "IPv4Layer.h"
5-
#include "TcpLayer.h"
6-
#include "UdpLayer.h"
7-
#include "SystemUtils.h"
3+
#include "pcapplusplus/Packet.h"
4+
#include "pcapplusplus/IPv4Layer.h"
5+
#include "pcapplusplus/TcpLayer.h"
6+
#include "pcapplusplus/UdpLayer.h"
7+
#include "pcapplusplus/SystemUtils.h"
88

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

0 commit comments

Comments
 (0)