summaryrefslogtreecommitdiffstats
path: root/sys/net/if_tapvar.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/if_tapvar.h')
-rw-r--r--sys/net/if_tapvar.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/if_tapvar.h b/sys/net/if_tapvar.h
index f578294..06e3bbdf 100644
--- a/sys/net/if_tapvar.h
+++ b/sys/net/if_tapvar.h
@@ -44,7 +44,7 @@
struct tap_softc {
struct arpcom arpcom; /* ethernet common data */
#define tap_if arpcom.ac_if
- dev_t tap_dev; /* device */
+ struct resource *tap_unit; /* unit */
u_short tap_flags; /* misc flags */
#define TAP_OPEN (1 << 0)
@@ -59,6 +59,8 @@ struct tap_softc {
pid_t tap_pid; /* PID of process to open */
struct sigio *tap_sigio; /* information for async I/O */
struct selinfo tap_rsel; /* read select */
+
+ SLIST_ENTRY(tap_softc) tap_next; /* next device in chain */
};
#endif /* !_NET_IF_TAPVAR_H_ */
OpenPOWER on IntegriCloud