diff options
author | brian <brian@FreeBSD.org> | 1998-01-11 17:52:33 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1998-01-11 17:52:33 +0000 |
commit | ccb6ae343d48ea01065c04a83344ea63445feede (patch) | |
tree | 1f27201fe5a64c468ca0d1e69b9027d2a9fc195c /sys/net/if_tun.h | |
parent | 668b4ef2b27668bc2050c5467a06cce36f4fbe23 (diff) | |
download | FreeBSD-src-ccb6ae343d48ea01065c04a83344ea63445feede.zip FreeBSD-src-ccb6ae343d48ea01065c04a83344ea63445feede.tar.gz |
Move softc stuff into if_tunvar.h
Suggested by: Peter Wemm <peter@netplex.com.au>
Hinted at by: Bruce Evans <bde@FreeBSD.org>
Diffstat (limited to 'sys/net/if_tun.h')
-rw-r--r-- | sys/net/if_tun.h | 18 |
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 |