summaryrefslogtreecommitdiffstats
path: root/sys/net/if_tun.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/if_tun.h')
-rw-r--r--sys/net/if_tun.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/sys/net/if_tun.h b/sys/net/if_tun.h
index 128dc16..7549993 100644
--- a/sys/net/if_tun.h
+++ b/sys/net/if_tun.h
@@ -19,23 +19,7 @@
#ifndef _NET_IF_TUN_H_
#define _NET_IF_TUN_H_
-struct tun_softc {
- u_short tun_flags; /* misc flags */
-#define TUN_OPEN 0x0001
-#define TUN_INITED 0x0002
-#define TUN_RCOLL 0x0004
-#define TUN_IASET 0x0008
-#define TUN_DSTADDR 0x0010
-#define TUN_RWAIT 0x0040
-#define TUN_ASYNC 0x0080
-
-#define TUN_READY (TUN_OPEN | TUN_INITED)
-
- struct ifnet tun_if; /* the interface */
- int tun_pgrp; /* the process group - if any */
- struct selinfo tun_rsel; /* read select */
- struct selinfo tun_wsel; /* write select (not used) */
-};
+/* Refer to if_tunvar.h for the softc stuff */
/* Maximum transmit packet size (default) */
#define TUNMTU 1500
OpenPOWER on IntegriCloud