- Adds 3 new "pseudo-random" filter expressions: * random8 (8bit) * random16 (16bit) * random32 (32bit) Not really "random", but these values are based on a hash of the packet headers & timestamp. These are useful for traffic sampling, e.g.: "random8 < 100" matches ~39% of all packets. - Add new WinDivertHelperHashPacket() helper function. The algorithm is an xxHash variant.
23 lines
584 B
Modula-2
23 lines
584 B
Modula-2
LIBRARY WinDivert
|
|
EXPORTS
|
|
WinDivertDllEntry
|
|
WinDivertOpen
|
|
WinDivertRecv
|
|
WinDivertRecvEx
|
|
WinDivertSend
|
|
WinDivertSendEx
|
|
WinDivertShutdown
|
|
WinDivertClose
|
|
WinDivertSetParam
|
|
WinDivertGetParam
|
|
WinDivertHelperCalcChecksums
|
|
WinDivertHelperHashPacket
|
|
WinDivertHelperParsePacket
|
|
WinDivertHelperParseIPv4Address
|
|
WinDivertHelperParseIPv6Address
|
|
WinDivertHelperFormatIPv4Address
|
|
WinDivertHelperFormatIPv6Address
|
|
WinDivertHelperCompileFilter
|
|
WinDivertHelperEvalFilter
|
|
WinDivertHelperFormatFilter
|