summaryrefslogtreecommitdiffstats
path: root/sys/modules/if_tun
Commit message (Collapse)AuthorAgeFilesLines
* Remove opt_mac.h generation for various kernel modules that no longerrwatson2009-06-061-1/+1
| | | | | | require it. Submitted by: pjd
* Let modules use the kernel's opt_*.h files if built along withyar2005-10-141-0/+2
| | | | | | | | | | | | | | the kernel by wrapping all targets for fake opt_*.h files in .if defined(KERNBUILDDIR). Thus, such fake files won't be created at all if modules are built with the kernel. Some modules undergo cleanup like removing unused or unneeded options or .h files, without which they wouldn't build this way or the other. Reviewed by: ru Tested by: no binary changes in modules built alone Tested on: i386 sparc64 amd64
* We don't need to generate vnode_if.h anymoreimp2004-12-291-2/+1
|
* Fix module build by adding options to Makefile.jlemon2003-03-081-1/+11
|
* The ppp and tunnel modules now rely on opt_mac.h. Missed in a previousrwatson2002-07-311-1/+1
| | | | | | commit. Submitted by: Anders Andersson <anders@hack.org>
* Drop <bsd.man.mk> support from <bsd.kmod.mk>.ru2002-01-111-1/+0
| | | | Not objected to by: -current
* Use a consistent style and one much closer to the rest of /usr/srcobrien2001-01-061-1/+2
|
* Removed fresh garbage (vestiges of old way of configuring number ofbde2000-09-261-9/+4
| | | | | | | units), mature garbage (vestiges of old way of configuring bpf) and old garbage (vestiges of old way of configuring INET). Fixed most style bugs.
* Avoid the modules madness I inadvertently introduced by making thephk2000-09-021-1/+1
| | | | | | | | | | | | | | | | | | cloning infrastructure standard in kern_conf. Modules are now the same with or without devfs support. If you need to detect if devfs is present, in modules or elsewhere, check the integer variable "devfs_present". This happily removes an ugly hack from kern/vfs_conf.c. This forces a rename of the eventhandler and the standard clone helper function. Include <sys/eventhandler.h> in <sys/conf.h>: it's a helper #include like <sys/queue.h> Remove all #includes of opt_devfs.h they no longer matter.
* Use .include <bsd.kmod.mk> to get to ../../*/conf/kmod.mk instead ofpeter2000-05-271-1/+1
| | | | encoding the relative path.
* Pull in sys/conf/kmod.mk, rather than /usr/share/mk/bsd.kmod.mk.peter2000-05-041-1/+1
| | | | | | | This means that the kernel can be totally self contained now and is not dependent on the last buildworld to update /usr/share/mk. This might also make it easier to build 5.x kernels on 4.0 boxes etc, assuming gensetdefs and config(8) are updated.
* Restore to version 1.14. Only opt_inet.h is required again.brian2000-01-291-21/+1
|
* Don't use ATM on the alpha - it #errors out.brian2000-01-261-1/+5
| | | | Pointed out by: jdp
* Move the *intrq variables into net/intrq.c and unconditionallybrian2000-01-241-7/+13
| | | | | | | | | | | include this in all kernels. Declare some const *intrq_present variables that can be checked by a module prior to using *intrq to queue data. Make the if_tun module capable of processing atm, ip, ip6, ipx, natm and netatalk packets when TUNSIFHEAD is ioctl()d on. Review not required by: freebsd-hackers
* Hmm, don't compile in INET6, IPX or NETATALK support for thebrian2000-01-231-3/+3
| | | | | moment :-( I think we need some sort of stub variable and a ``is this queue available'' flag.
* Support INET6, NETATALK and IPX as well as INET.brian2000-01-231-1/+11
|
* Removed special rules for building and cleaning device interface filesbde1999-11-281-5/+0
| | | | | and empty options files. The rules are now generated automatically in bsd.kmod.mk. Cleaned up related things ($S and ${CLEANFILES}).
* Zap some unused echo "#define NFOO 1" > foo.h style defunct stuff.peter1999-09-271-5/+2
|
* Don't generate 'bpf.h' since it's not used.peter1999-09-271-5/+2
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Rename bpfilter to bpf.des1999-07-061-6/+6
|
* Allow loadable interface drivers with BPF support to be loaded into a kernelmsmith1999-04-281-2/+2
| | | | | | | | that doesn't have it. This is achieved by having minimal do-nothing stubs enabled when there are no bpfilter devices configured. Driver modules should be built with BPF enabled for maximum convenience (but can be built without it for maximum performance).
* Undo #undef KERNEL hack for vnode.h to avoid vnode_if.h.peter1999-01-171-2/+3
| | | | | | | | | XXX It probably makes sense to have a flag for bsd.kern.mk to avoid these rules. XXX IO_NDELAY seems to be the main reason for it, when used in a cdevsw read or write "flag" context. Perhaps a redundant declaration somewhere like sys/conf.h might help remove the need for vnode.h in these device drivers in the first place.
* Sample initial set of kld-ified modules. Not all have been completelypeter1998-10-161-4/+3
| | | | | | | converted yet. These are more of a starting point. This is NOT connected to the parent Makefile. OK'ed by jkh (who is ever so patiently waiting)
* Don't put "-I." in ${CFLAGS} here. bsd.kmod.mk now puts an absolutebde1998-02-011-2/+1
| | | | | path to the obj directory in ${CFLAGS}. This is actually equivalent to "-I." since bsd.kmod.mk also puts -I- in ${CFLAGS}.
* LKM-support for converting all file-system options to new-style options.eivind1998-01-241-3/+6
|
* Make the LKMs compile with the INET option as a newstyle option ineivind1998-01-081-4/+6
| | | | opt_inet.h.
* Revert $FreeBSD$ back to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* The discard, tunnel, SLIP, and PPP network interface pseudo-deviceswollman1995-03-201-0/+23
are now dynamically loadable. It doesn't make sense to do the same for the loopback.
OpenPOWER on IntegriCloud