Windows Packet Filter structures
Windows Packet Filter framework defines a set of structures used for data exchange with helper driver. These structures are defined in common.h. Below each of them is described shortly.
Binary layout: The SDK declares these structures between #pragma pack(push, 1) and #pragma pack(pop). Include the SDK’s Common.h instead of copying declarations into a file with default compiler packing. Explicit Padding members form part of the driver ABI; they do not change the alignment requirement of the packed structure.
Fields containing HANDLE or pointers depend on process architecture. The native C/C++ library translates its supported operations to the corresponding WOW64 layouts when a 32-bit application runs on 64-bit Windows. This does not make every operation available under WOW64: shared-memory Fast I/O and the unsorted read/send APIs are not supported in that mode.