diff options
author | Damien Miller <djm@mindrot.org> | 2005-12-13 19:33:19 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2005-12-13 19:33:19 +1100 |
commit | 7b58e800364870d05630514945687d2f26e3c065 (patch) | |
tree | f8b436c13a767fcb014125513fe53b6bc0bde9a2 /includes.h | |
parent | 957d4e430ed40265cffc483abdc5b0e6a58c69ed (diff) |
- reyk@cvs.openbsd.org 2005/12/08 18:34:11
[auth-options.c includes.h misc.c misc.h readconf.c servconf.c]
[serverloop.c ssh.c ssh_config.5 sshd_config.5 configure.ac]
two changes to the new ssh tunnel support. this breaks compatibility
with the initial commit but is required for a portable approach.
- make the tunnel id u_int and platform friendly, use predefined types.
- support configuration of layer 2 (ethernet) or layer 3
(point-to-point, default) modes. configuration is done using the
Tunnel (yes|point-to-point|ethernet|no) option is ssh_config(5) and
restricted by the PermitTunnel (yes|point-to-point|ethernet|no) option
in sshd_config(5).
ok djm@, man page bits by jmc@
Diffstat (limited to 'includes.h')
-rw-r--r-- | includes.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/includes.h b/includes.h index 12d948b6f..cf2d6c699 100644 --- a/includes.h +++ b/includes.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: includes.h,v 1.20 2005/11/15 11:59:54 millert Exp $ */ | 1 | /* $OpenBSD: includes.h,v 1.21 2005/12/08 18:34:11 reyk Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -148,6 +148,9 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg } | |||
148 | #include <netinet/in.h> /* For IPv6 macros */ | 148 | #include <netinet/in.h> /* For IPv6 macros */ |
149 | #include <netinet/ip.h> /* For IPTOS macros */ | 149 | #include <netinet/ip.h> /* For IPTOS macros */ |
150 | #include <netinet/tcp.h> | 150 | #include <netinet/tcp.h> |
151 | #ifdef HAVE_NET_IF_H | ||
152 | # include <net/if.h> | ||
153 | #endif | ||
151 | #include <arpa/inet.h> | 154 | #include <arpa/inet.h> |
152 | #if defined(HAVE_NETDB_H) | 155 | #if defined(HAVE_NETDB_H) |
153 | # include <netdb.h> | 156 | # include <netdb.h> |