26#ifndef SURICATA_SOURCE_WINDIVERT_H
27#define SURICATA_SOURCE_WINDIVERT_H
33#define WINDIVERT_FILTER_MAXLEN 128
35typedef void *WinDivertHandle;
43typedef struct WinDivertQueueVars_
48 char filter_str[WINDIVERT_FILTER_MAXLEN + 1];
49 WINDIVERT_LAYER layer;
53 WinDivertHandle filter_handle;
67typedef struct WinDivertPacketVars_
71 WINDIVERT_ADDRESS addr;
75int WinDivertRegisterQueue(
bool forward,
char *filter_str);
76void *WinDivertGetThread(
int thread);
77void *WinDivertGetQueue(
int queue);
79void SourceWinDivertRegisterTests(
void);