Implement new packet parser(s) for WinDivert.

The new parser should better handle fragments
as well as be consistent with the kernel-mode
parser.  The new parser can also handle truncated
packets.
This commit is contained in:
basil00
2019-08-12 07:50:49 +08:00
parent 6501bec357
commit 317e6f1099
10 changed files with 525 additions and 260 deletions
+1 -1
View File
@@ -45,7 +45,7 @@
#include "windivert.h"
#define WINDIVERT_VERSION_MAJOR 2
#define WINDIVERT_VERSION_MINOR 1
#define WINDIVERT_VERSION_MINOR 2
#define WINDIVERT_MAGIC_DLL 0x4C4C447669645724ull
#define WINDIVERT_MAGIC_SYS 0x5359537669645723ull