freebsd-dev/sys
brian a146c1abf5 Support /dev/tun cloning. Ansify if_tun.c while I'm there.
Only tun0 -> tun32767 may now be opened as struct ifnet's if_unit
is a short.

It's now possible to open /dev/tun and get a handle back for an available
tun device (use devname to find out what you got).

The implementation uses rman by popular demand (and against my judgement)
to track opened devices and uses the new dev_depends() to ensure that
all make_dev()d devices go away before the module is unloaded.

Reviewed by:	phk
2001-06-01 15:51:10 +00:00
..
alpha Clean up the code exporting interrupt statistics via sysctl a bit: 2001-06-01 13:23:28 +00:00
amd64 Clean up the code exporting interrupt statistics via sysctl a bit: 2001-06-01 13:23:28 +00:00
arm/include Make _BSD_TIME_T_ (time_t) an int' rather than long'. This will help 2001-05-18 01:43:25 +00:00
boot Remove vestiges of MFS. 2001-06-01 10:07:28 +00:00
cam Add a quirk entry for ARCHIVE Python 06408. 2001-06-01 12:36:24 +00:00
coda Introduce a global lock for the vm subsystem (vm_mtx). 2001-05-19 01:28:09 +00:00
compat Remove vestiges of MFS. 2001-06-01 10:07:28 +00:00
compile
conf Add ``options RANDOM_IP_ID'' which randomizes the ID field of IP packets. 2001-06-01 10:02:28 +00:00
contrib Remove old ACPI CA code. These will be drained from the repo at some 2001-05-29 20:22:11 +00:00
crypto Kernel crypto need binary key material, not symbolic ascii. 2001-03-10 13:02:58 +00:00
ddb o Merge contents of struct pcred into struct ucred. Specifically, add the 2001-05-25 16:59:11 +00:00
dev Backout previous revision. While it fixed many platforms, it broke 2001-05-31 21:47:25 +00:00
fs Support /dev/tun cloning. Ansify if_tun.c while I'm there. 2001-06-01 15:51:10 +00:00
geom Polish error handling with biofinish(). 2001-05-08 09:10:27 +00:00
gnu new (gpl licensed) firmware image for cs4280/cs46xx sound chips 2001-05-30 22:28:30 +00:00
i4b Submitted by: Juha-Matti Liukkonen (Cubical Solutions Ltd) (jml@cubical.fi) 2001-05-25 08:43:30 +00:00
i386 This file is not needed any more, the definitions and declarations it 2001-06-01 13:33:30 +00:00
ia64 Clean up the code exporting interrupt statistics via sysctl a bit: 2001-06-01 13:23:28 +00:00
isa add Dualmode Zoom/FaxModem 56K (internal) Model 2919 2001-05-26 11:17:57 +00:00
isofs/cd9660 - FDESC, FIFO, NULL, PORTAL, PROC, UMAP and UNION file 2001-05-23 09:42:29 +00:00
kern Clean up the code exporting interrupt statistics via sysctl a bit: 2001-06-01 13:23:28 +00:00
libkern Make the rcsid and FreeBSD IDs more sane in the wcs* and wmem* files. 2001-05-24 08:47:42 +00:00
modules - VFS_SET(msdos) -> VFS_SET(msdosfs) 2001-06-01 10:57:26 +00:00
net Support /dev/tun cloning. Ansify if_tun.c while I'm there. 2001-06-01 15:51:10 +00:00
netatalk Mechanical change to use <sys/queue.h> macro API instead of 2001-02-04 13:13:25 +00:00
netatm Silence some warnings 2001-03-20 10:42:49 +00:00
netgraph Fix a range checking bug in ng_int32_parse which affected 64-bit 2001-05-19 19:36:32 +00:00
netinet Add ``options RANDOM_IP_ID'' which randomizes the ID field of IP packets. 2001-06-01 10:02:28 +00:00
netinet6 Add ``options RANDOM_IP_ID'' which randomizes the ID field of IP packets. 2001-06-01 10:02:28 +00:00
netipx Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
netkey Remove unneeded includes of sys/ipl.h and machine/ipl.h. 2001-05-15 23:22:29 +00:00
netnatm Change a couple of M_WAITOKs used in M_PREPEND() to M_TRYWAITs, which 2001-04-05 04:20:48 +00:00
netncp Use new kernel_sysctlbyname function. Remove private copy. 2001-05-19 05:48:07 +00:00
netns
netsmb Back out scanning file descriptors with holding a process lock. 2001-05-15 10:19:57 +00:00
nfs Unlock the process returned from pfind() if it does not return NULL. 2001-06-01 01:30:51 +00:00
nfsclient Unlock the process returned from pfind() if it does not return NULL. 2001-06-01 01:30:51 +00:00
nfsserver Introduce a global lock for the vm subsystem (vm_mtx). 2001-05-19 01:28:09 +00:00
pc98 move wx to be part of miibus requiring chipsets 2001-05-30 03:20:52 +00:00
pccard Change plxic to plxcard, per phk. He thnks plxic is too generic a 2001-06-01 05:20:38 +00:00
pci Grrr. Fix PR 27742 correctly this time. (At least I got -stable right.) 2001-06-01 00:34:50 +00:00
posix4 o Merge contents of struct pcred into struct ucred. Specifically, add the 2001-05-25 16:59:11 +00:00
powerpc GC #if 0'd calls to releasing and acquiring the old style giant kernel 2001-05-29 23:35:48 +00:00
rpc Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and 2001-03-19 12:50:13 +00:00
svr4
sys Clean up the code exporting interrupt statistics via sysctl a bit: 2001-06-01 13:23:28 +00:00
tools replace calls to non-existant bail() subroutine with calls to 2001-03-23 11:48:50 +00:00
ufs Revert the previous commit in favor of the fix in rev 1.42 of 2001-05-30 23:09:19 +00:00
vm Clean up the code exporting interrupt statistics via sysctl a bit: 2001-06-01 13:23:28 +00:00
Makefile