diff options
Diffstat (limited to 'openbsd-compat/port-tun.h')
-rw-r--r-- | openbsd-compat/port-tun.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/openbsd-compat/port-tun.h b/openbsd-compat/port-tun.h index c53df01fc..103514370 100644 --- a/openbsd-compat/port-tun.h +++ b/openbsd-compat/port-tun.h | |||
@@ -18,6 +18,7 @@ | |||
18 | #define _PORT_TUN_H | 18 | #define _PORT_TUN_H |
19 | 19 | ||
20 | struct Channel; | 20 | struct Channel; |
21 | struct ssh; | ||
21 | 22 | ||
22 | #if defined(SSH_TUN_LINUX) || defined(SSH_TUN_FREEBSD) | 23 | #if defined(SSH_TUN_LINUX) || defined(SSH_TUN_FREEBSD) |
23 | # define CUSTOM_SYS_TUN_OPEN | 24 | # define CUSTOM_SYS_TUN_OPEN |
@@ -26,8 +27,8 @@ int sys_tun_open(int, int); | |||
26 | 27 | ||
27 | #if defined(SSH_TUN_COMPAT_AF) || defined(SSH_TUN_PREPEND_AF) | 28 | #if defined(SSH_TUN_COMPAT_AF) || defined(SSH_TUN_PREPEND_AF) |
28 | # define SSH_TUN_FILTER | 29 | # define SSH_TUN_FILTER |
29 | int sys_tun_infilter(struct Channel *, char *, int); | 30 | int sys_tun_infilter(struct ssh *, struct Channel *, char *, int); |
30 | u_char *sys_tun_outfilter(struct Channel *, u_char **, u_int *); | 31 | u_char *sys_tun_outfilter(struct ssh *, struct Channel *, u_char **, size_t *); |
31 | #endif | 32 | #endif |
32 | 33 | ||
33 | #endif | 34 | #endif |