diff options
Diffstat (limited to 'misc.h')
-rw-r--r-- | misc.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: misc.h,v 1.77 2018/12/07 04:36:09 dtucker Exp $ */ | 1 | /* $OpenBSD: misc.h,v 1.78 2018/12/27 03:25:25 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -17,6 +17,7 @@ | |||
17 | 17 | ||
18 | #include <sys/time.h> | 18 | #include <sys/time.h> |
19 | #include <sys/types.h> | 19 | #include <sys/types.h> |
20 | #include <sys/socket.h> | ||
20 | 21 | ||
21 | /* Data structure for representing a forwarding request. */ | 22 | /* Data structure for representing a forwarding request. */ |
22 | struct Forward { | 23 | struct Forward { |
@@ -51,6 +52,8 @@ void set_nodelay(int); | |||
51 | int set_reuseaddr(int); | 52 | int set_reuseaddr(int); |
52 | char *get_rdomain(int); | 53 | char *get_rdomain(int); |
53 | int set_rdomain(int, const char *); | 54 | int set_rdomain(int, const char *); |
55 | int waitrfd(int, int *); | ||
56 | int timeout_connect(int, const struct sockaddr *, socklen_t, int *); | ||
54 | int a2port(const char *); | 57 | int a2port(const char *); |
55 | int a2tun(const char *, int *); | 58 | int a2tun(const char *, int *); |
56 | char *put_host_port(const char *, u_short); | 59 | char *put_host_port(const char *, u_short); |