tun2socks 0.1.10

High performance tun2socks
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 ============================================================================
 Name        : hev-tunnel-windows.h
 Author      : hev <r@hev.cc>
 Copyright   : Copyright (c) 2025 hev
 Description : Tunnel on Windows
 ============================================================================
 */

#ifndef __HEV_TUNNEL_WINDOWS_H__
#define __HEV_TUNNEL_WINDOWS_H__

struct pbuf *hev_tunnel_read (int fd, int mtu, HevTaskIOYielder yielder,
                              void *yielder_data);
ssize_t hev_tunnel_write (int fd, struct pbuf *buf);

#endif /* __HEV_TUNNEL_WINDOWS_H__ */