mirror of
https://github.com/bol-van/zapret.git
synced 2026-03-10 15:21:53 +00:00
winws: fix error messages and error code in windivert init
This commit is contained in:
@@ -149,6 +149,8 @@ uint8_t tcp_find_scale_factor(const struct tcphdr *tcp);
|
||||
bool tcp_has_fastopen(const struct tcphdr *tcp);
|
||||
|
||||
#ifdef __CYGWIN__
|
||||
extern DWORD w_win32_error;
|
||||
|
||||
bool windivert_init(const char *filter);
|
||||
bool windivert_recv(uint8_t *packet, size_t *len, WINDIVERT_ADDRESS *wa);
|
||||
bool windivert_send(const uint8_t *packet, size_t len, const WINDIVERT_ADDRESS *wa);
|
||||
|
||||
Reference in New Issue
Block a user