You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Windows Packet Divert (WinDivert) is a user-mode packet capture-and-divert package for Windows. It allows user-mode applications to capture/modify/drop network packets sent to/from the Windows network stack (taken from [WinDivert documentation](https://reqrypt.org/windivert.html)).
233
+
Windows Packet Divert (WinDivert) is a user-mode packet capture-and-divert package for Windows. It allows user-mode applications to capture/modify/drop network packets sent to/from the Windows network stack (taken from [WinDivert documentation](https://reqrypt.org/windivert.html)).
234
234
235
235
PcapPlusPlus provides support for various features when using WinDivert, including:
236
236
@@ -240,6 +240,7 @@ PcapPlusPlus provides support for various features when using WinDivert, includi
240
240
- Inspecting and configuring queue parameters (length, time, size)
241
241
242
242
In order to use PcapPlusPlus with WinDivert support you need to:
243
+
243
244
- Download WinDivert from [WinDivert's GitHub Repo](https://github.com/basil00/WinDivert/releases)
244
245
- Once WinDivert is downloaded and extracted, you need to run PcapPlusPlus build and use the `-DPCAPPP_USE_WINDIVERT=ON` option
245
246
- Make sure the WinDivert DLLs are accessible to your application (e.g. in the same directory as your executable or in a directory included in your PATH environment variable)
|**`-DPCAPPP_BUILD_EXAMPLES=<ON/OFF>`**| Build PcapPlusPlus examples (default value is `ON` if building the project itself, otherwise `OFF`) |
65
-
|**`-DPCAPPP_BUILD_TESTS=<ON/OFF>`**| Build PcapPlusPlus tests (default value is `ON` if building the project itself, otherwise `OFF`) |
66
-
|**`-DPCAPPP_BUILD_TUTORIALS=<ON/OFF>`**| Build PcapPlusPlus tutorials. This option is only available if `DPCAPPP_BUILD_EXAMPLES=ON`. The tutorials binaries will be under `build\tutorials_bin` (default value is `OFF`) |
67
-
|**`-DPCAPPP_INSTALL=<ON/OFF>`**| Install PcapPlusPlus (default value is `ON` if building the project itself, otherwise `OFF`) |
68
-
|**`-DPCAPPP_USE_WINDIVERT=<ON/OFF>`**| Setup PcapPlusPlus with WinDivert (default value is `OFF`). When this option is used CMake will look for an installed version of WinDivert on the build machine (by default under `C:\Program Files\WinDivert` or `C:\WinDivert`). If WinDivert is installed in a different directory please use `-DWinDivert_ROOT`|
69
-
|**`-DWinDivert_ROOT=<DIR>`**| When setting up PcapPlusPlus with WinDivert and WinDivert is not installed in the default directory (under `C:\Program Files\WinDivert` or `C:\WinDivert`) use this option to indicate WinDivert installation directory |
70
-
|**`-DBUILD_SHARED_LIBS=<ON/OFF>`**| Build shared libs (default value is `OFF`) |
71
-
|**`-DPCAPPP_BUILD_PCAPPP=<ON/OFF>`**| Build the Pcap++ library (default value is `ON`). Turning it off will only build Common++ and Packet++ and avoid third-party dependencies such as libpcap or WinPcap/Npcap |
72
-
|**`-DPCAPPP_LOG_LEVEL=<0/1/2/3>`**| Set compile time log level: Off (`0`), Error (`1`), Info (`2`), Debug (`1`) (Default value is `Debug`) |
|**`-DPCAPPP_BUILD_EXAMPLES=<ON/OFF>`**| Build PcapPlusPlus examples (default value is `ON` if building the project itself, otherwise `OFF`) |
65
+
|**`-DPCAPPP_BUILD_TESTS=<ON/OFF>`**| Build PcapPlusPlus tests (default value is `ON` if building the project itself, otherwise `OFF`) |
66
+
|**`-DPCAPPP_BUILD_TUTORIALS=<ON/OFF>`**| Build PcapPlusPlus tutorials. This option is only available if `DPCAPPP_BUILD_EXAMPLES=ON`. The tutorials binaries will be under `build\tutorials_bin` (default value is `OFF`) |
67
+
|**`-DPCAPPP_INSTALL=<ON/OFF>`**| Install PcapPlusPlus (default value is `ON` if building the project itself, otherwise `OFF`) |
68
+
|**`-DPCAPPP_USE_WINDIVERT=<ON/OFF>`**| Setup PcapPlusPlus with WinDivert (default value is `OFF`). When this option is used CMake will look for an installed version of WinDivert on the build machine (by default under `C:\Program Files\WinDivert` or `C:\WinDivert`). If WinDivert is installed in a different directory please use `-DWinDivert_ROOT`|
69
+
|**`-DWinDivert_ROOT=<DIR>`**| When setting up PcapPlusPlus with WinDivert and WinDivert is not installed in the default directory (under `C:\Program Files\WinDivert` or `C:\WinDivert`) use this option to indicate WinDivert installation directory |
70
+
|**`-DBUILD_SHARED_LIBS=<ON/OFF>`**| Build shared libs (default value is `OFF`) |
71
+
|**`-DPCAPPP_BUILD_PCAPPP=<ON/OFF>`**| Build the Pcap++ library (default value is `ON`). Turning it off will only build Common++ and Packet++ and avoid third-party dependencies such as libpcap or WinPcap/Npcap |
72
+
|**`-DPCAPPP_LOG_LEVEL=<0/1/2/3>`**| Set compile time log level: Off (`0`), Error (`1`), Info (`2`), Debug (`1`) (Default value is `Debug`) |
0 commit comments