mirror of
https://github.com/hufrea/byedpi.git
synced 2024-11-28 19:29:04 +03:00
14 lines
No EOL
420 B
C
14 lines
No EOL
420 B
C
int connect_hook(struct poolhd *pool, struct eval *val,
|
|
struct sockaddr_ina *dst, int next);
|
|
|
|
int on_tunnel_check(struct poolhd *pool, struct eval *val,
|
|
char *buffer, size_t bfsize, int out);
|
|
|
|
int on_desync(struct poolhd *pool, struct eval *val,
|
|
char *buffer, size_t bfsize, int out);
|
|
|
|
#ifdef __linux__
|
|
int protect(int conn_fd, const char *path);
|
|
#else
|
|
#define protect(fd, path) 0
|
|
#endif |