Crate windivert_sys[][src]

Raw FFI bindings for WinDivert.

For more information, refer to WinDivert's documentation.

Modules

address

WinDivert address types.

header

WinDivert header types.

ioctl

WinDivert IOCTL types.

Structs

ChecksumFlags

Wrapper helper struct around u64.

WinDivertFlags

Flag type required by WinDivertOpen(). It follows a builder like style.

Enums

WinDivertEvent

WinDivert event identifiers.

WinDivertLayer

WinDivert layer to initialize the handle.

WinDivertParam

WinDivert parameter enum.

WinDivertShutdownMode

WinDivert shutdown mode.

WinDivertValueError

WinDivert error for unexpected values type conversions.

Constants

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.

Functions

WinDivertClose

Check the official docs

WinDivertGetParam

Check the official docs

WinDivertHelperCalcChecksums

Check the official docs

WinDivertHelperCompileFilter

Check the official docs

WinDivertHelperDecrementTTL

Check the official docs

WinDivertHelperEvalFilter

Check the official docs

WinDivertHelperFormatFilter

Check the official docs

WinDivertHelperFormatIPv4Address

Check the official docs

WinDivertHelperFormatIPv6Address

Check the official docs

WinDivertHelperHashPacket

Check the official docs

WinDivertHelperHtonIPv6Address

Check the official docs

WinDivertHelperHtonIpv6Address

Check the official docs

WinDivertHelperHtonl

Check the official docs

WinDivertHelperHtonll

Check the official docs

WinDivertHelperHtons

Check the official docs

WinDivertHelperNtohIPv6Address

Check the official docs

WinDivertHelperNtohIpv6Address

Check the official docs

WinDivertHelperNtohl

Check the official docs

WinDivertHelperNtohll

Check the official docs

WinDivertHelperNtohs

Check the official docs

WinDivertHelperParseIPv4Address

Check the official docs

WinDivertHelperParseIPv6Address

Check the official docs

WinDivertHelperParsePacket

Check the official docs

WinDivertOpen

Check the official docs

WinDivertRecv

Check the official docs

WinDivertRecvEx

Check the official docs

WinDivertSend

Check the official docs

WinDivertSendEx

Check the official docs

WinDivertSetParam

Check the official docs

WinDivertShutdown

Check the official docs