version 1.77, 2018/12/07 04:36:09 |
version 1.78, 2018/12/27 03:25:25 |
|
|
|
|
#include <sys/time.h> |
#include <sys/time.h> |
#include <sys/types.h> |
#include <sys/types.h> |
|
#include <sys/socket.h> |
|
|
/* Data structure for representing a forwarding request. */ |
/* Data structure for representing a forwarding request. */ |
struct Forward { |
struct Forward { |
|
|
int set_reuseaddr(int); |
int set_reuseaddr(int); |
char *get_rdomain(int); |
char *get_rdomain(int); |
int set_rdomain(int, const char *); |
int set_rdomain(int, const char *); |
|
int waitrfd(int, int *); |
|
int timeout_connect(int, const struct sockaddr *, socklen_t, int *); |
int a2port(const char *); |
int a2port(const char *); |
int a2tun(const char *, int *); |
int a2tun(const char *, int *); |
char *put_host_port(const char *, u_short); |
char *put_host_port(const char *, u_short); |