mirror of
https://github.com/bol-van/zapret.git
synced 2025-12-31 03:48:10 +03:00
winws: NLM filter
This commit is contained in:
@@ -152,10 +152,13 @@ bool tcp_has_fastopen(const struct tcphdr *tcp);
|
||||
#ifdef __CYGWIN__
|
||||
extern uint32_t w_win32_error;
|
||||
|
||||
bool windivert_init(const char *filter, const struct str_list_head *ssid_filter);
|
||||
bool win_dark_init(const struct str_list_head *ssid_filter, const struct str_list_head *nlm_filter);
|
||||
bool win_dark_deinit(void);
|
||||
bool logical_net_filter_match(void);
|
||||
bool nlm_list(bool bAll);
|
||||
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);
|
||||
bool wlan_filter_match(const struct str_list_head *ssid_list);
|
||||
#else
|
||||
// should pre-do it if dropping privileges. otherwise its not necessary
|
||||
bool rawsend_preinit(bool bind_fix4, bool bind_fix6);
|
||||
|
||||
Reference in New Issue
Block a user