26 #ifndef SURICATA_WIN32_SYSCALL_H
27 #define SURICATA_WIN32_SYSCALL_H
36 const char *Win32GetErrorString(DWORD error_code, HMODULE ext_module);
38 uint32_t Win32GetAdaptersAddresses(IP_ADAPTER_ADDRESSES **pif_info_list);
39 uint32_t Win32FindAdapterAddresses(IP_ADAPTER_ADDRESSES *if_info_list,
40 const char *adapter_name,
41 IP_ADAPTER_ADDRESSES **pif_info);
43 int GetIfaceMTUWin32(
const char *pcap_dev);
44 int GetGlobalMTUWin32(
void);
46 int GetIfaceOffloadingWin32(
const char *ifname,
int csum,
int other);
47 int DisableIfaceOffloadingWin32(
LiveDevice *ldev,
int csum,
int other);
48 int RestoreIfaceOffloadingWin32(
LiveDevice *ldev);
50 void Win32SyscallRegisterTests(
void);