Expand description
Raw FFI bindings for WinDivert.
For more information, refer to WinDivert’s documentation.
Modules§
Structs§
- Checksum
Flags - Wrapper helper struct around u64.
- WinDivert
Flags - Flag type required by
WinDivertOpen()
. It follows a builder like style.
Enums§
- WinDivert
Event - WinDivert event identifiers.
- WinDivert
Layer - WinDivert layer to initialize the handle.
- WinDivert
Param - WinDivert parameter enum.
- WinDivert
Shutdown Mode - WinDivert shutdown mode.
- WinDivert
Value Error - WinDivert error for unexpected values type conversions.
Constants§
- WINDIVERT_
BATCH_ MAX - Maximum valid batch length.
- WINDIVERT_
MTU_ MAX - Maximum valid mtu size.
- WINDIVERT_
PARAM_ QUEUE_ LENGTH_ DEFAULT - Default value for queue length parameter.
- WINDIVERT_
PARAM_ QUEUE_ LENGTH_ MAX - Maximum valid value for queue length parameter.
- WINDIVERT_
PARAM_ QUEUE_ LENGTH_ MIN - Minimum valid value for queue length parameter.
- WINDIVERT_
PARAM_ QUEUE_ SIZE_ DEFAULT - Default value for queue size parameter.
- WINDIVERT_
PARAM_ QUEUE_ SIZE_ MAX - Maximum valid value for queue size parameter.
- WINDIVERT_
PARAM_ QUEUE_ SIZE_ MIN - Minimum valid value for queue size parameter.
- WINDIVERT_
PARAM_ QUEUE_ TIME_ DEFAULT - Default value for queue time parameter.
- WINDIVERT_
PARAM_ QUEUE_ TIME_ MAX - Maximum valid value for queue time parameter.
- WINDIVERT_
PARAM_ QUEUE_ TIME_ MIN - Minimum valid value for queue time parameter.
- WINDIVERT_
PRIORITY_ MAX - Maximum valid value for priority parameter.
- WINDIVERT_
PRIORITY_ MIN - Minimum valid value for priority parameter.
Functions§
- WinDivert
Close ⚠ - Check the official docs
- WinDivert
GetParam ⚠ - Check the official docs
- WinDivert
Helper ⚠Calc Checksums - Check the official docs
- WinDivert
Helper ⚠Compile Filter - Check the official docs
- WinDivert
Helper ⚠DecrementTTL - Check the official docs
- WinDivert
Helper ⚠Eval Filter - Check the official docs
- WinDivert
Helper ⚠Format Filter - Check the official docs
- WinDivert
Helper ⚠FormatI Pv4Address - Check the official docs
- WinDivert
Helper ⚠FormatI Pv6Address - Check the official docs
- WinDivert
Helper ⚠Hash Packet - Check the official docs
- WinDivert
Helper ⚠HtonI Pv6Address - Check the official docs
- WinDivert
Helper ⚠Hton Ipv6 Address - Check the official docs
- WinDivert
Helper ⚠Htonl - Check the official docs
- WinDivert
Helper ⚠Htonll - Check the official docs
- WinDivert
Helper ⚠Htons - Check the official docs
- WinDivert
Helper ⚠NtohI Pv6Address - Check the official docs
- WinDivert
Helper ⚠Ntoh Ipv6 Address - Check the official docs
- WinDivert
Helper ⚠Ntohl - Check the official docs
- WinDivert
Helper ⚠Ntohll - Check the official docs
- WinDivert
Helper ⚠Ntohs - Check the official docs
- WinDivert
Helper ⚠ParseI Pv4Address - Check the official docs
- WinDivert
Helper ⚠ParseI Pv6Address - Check the official docs
- WinDivert
Helper ⚠Parse Packet - Check the official docs
- WinDivert
Open ⚠ - Check the official docs
- WinDivert
Recv ⚠ - Check the official docs
- WinDivert
Recv ⚠Ex - Check the official docs
- WinDivert
Send ⚠ - Check the official docs
- WinDivert
Send ⚠Ex - Check the official docs
- WinDivert
SetParam ⚠ - Check the official docs
- WinDivert
Shutdown ⚠ - Check the official docs