]> andersk Git - gssapi-openssh.git/blobdiff - openssh/openbsd-compat/port-tun.c
The man2html from jbasney on pkilab2 works whereas the standard one doesn't.
[gssapi-openssh.git] / openssh / openbsd-compat / port-tun.c
index 276474db87cd970400d15b5731393172b892ed18..31921615fac07dce488942efa50ae1f67d8d84b6 100644 (file)
 
 #include "includes.h"
 
-#include <sys/types.h>
-#include <sys/ioctl.h>
-
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <netinet/ip.h>
-
-#include <errno.h>
-#include <fcntl.h>
-#include <stdarg.h>
-#include <string.h>
-#include <unistd.h>
-
 #include "log.h"
 #include "misc.h"
-#include "buffer.h"
-#include "channels.h"
+#include "bufaux.h"
 
 /*
  * This is the portable version of the SSH tunnel forwarding, it
@@ -40,7 +26,6 @@
  * settings.
  *
  * SSH_TUN_LINUX       Use the (newer) Linux tun/tap device
- * SSH_TUN_FREEBSD     Use the FreeBSD tun/tap device
  * SSH_TUN_COMPAT_AF   Translate the OpenBSD address family
  * SSH_TUN_PREPEND_AF  Prepend/remove the address family
  */
@@ -108,10 +93,7 @@ sys_tun_open(int tun, int mode)
 #ifdef SSH_TUN_FREEBSD
 #include <sys/socket.h>
 #include <net/if.h>
-
-#ifdef HAVE_NET_IF_TUN_H
 #include <net/if_tun.h>
-#endif
 
 int
 sys_tun_open(int tun, int mode)
This page took 0.052342 seconds and 4 git commands to generate.