History log of /freebsd-10-stable/sys/modules/if_tun/
Revision Date Author Comments
256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


193588 06-Jun-2009 rwatson

Remove opt_mac.h generation for various kernel modules that no longer
require it.

Submitted by: pjd


151350 14-Oct-2005 yar

Let modules use the kernel's opt_*.h files if built along with
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


139399 29-Dec-2004 imp

We don't need to generate vnode_if.h anymore


112008 08-Mar-2003 jlemon

Fix module build by adding options to Makefile.


101113 31-Jul-2002 rwatson

The ppp and tunnel modules now rely on opt_mac.h. Missed in a previous
commit.

Submitted by: Anders Andersson <anders@hack.org>


89260 11-Jan-2002 ru

Drop <bsd.man.mk> support from <bsd.kmod.mk>.

Not objected to by: -current


70711 06-Jan-2001 obrien

Use a consistent style and one much closer to the rest of /usr/src


66397 26-Sep-2000 bde

Removed fresh garbage (vestiges of old way of configuring number of
units), mature garbage (vestiges of old way of configuring bpf) and
old garbage (vestiges of old way of configuring INET).

Fixed most style bugs.


65374 02-Sep-2000 phk

Avoid the modules madness I inadvertently introduced by making the
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.


60966 27-May-2000 peter

Use .include <bsd.kmod.mk> to get to ../../*/conf/kmod.mk instead of
encoding the relative path.


59951 04-May-2000 peter

Pull in sys/conf/kmod.mk, rather than /usr/share/mk/bsd.kmod.mk.
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.


56778 29-Jan-2000 brian

Restore to version 1.14. Only opt_inet.h is required again.


56622 26-Jan-2000 brian

Don't use ATM on the alpha - it #errors out.

Pointed out by: jdp


56555 24-Jan-2000 brian

Move the *intrq variables into net/intrq.c and unconditionally
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


56436 23-Jan-2000 brian

Hmm, don't compile in INET6, IPX or NETATALK support for the
moment :-( I think we need some sort of stub variable and a
``is this queue available'' flag.


56411 23-Jan-2000 brian

Support INET6, NETATALK and IPX as well as INET.


53846 28-Nov-1999 bde

Removed special rules for building and cleaning device interface files
and empty options files. The rules are now generated automatically in
bsd.kmod.mk. Cleaned up related things ($S and ${CLEANFILES}).


51712 27-Sep-1999 peter

Zap some unused echo "#define NFOO 1" > foo.h style defunct stuff.


51704 27-Sep-1999 peter

Don't generate 'bpf.h' since it's not used.


50477 28-Aug-1999 peter

$Id$ -> $FreeBSD$


48645 06-Jul-1999 des

Rename bpfilter to bpf.


46130 28-Apr-1999 msmith

Allow loadable interface drivers with BPF support to be loaded into a kernel
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).


42769 17-Jan-1999 peter

Undo #undef KERNEL hack for vnode.h to avoid vnode_if.h.
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.


40440 16-Oct-1998 peter

Sample initial set of kld-ified modules. Not all have been completely
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)


32990 01-Feb-1998 bde

Don't put "-I." in ${CFLAGS} here. bsd.kmod.mk now puts an absolute
path to the obj directory in ${CFLAGS}. This is actually equivalent
to "-I." since bsd.kmod.mk also puts -I- in ${CFLAGS}.


32725 24-Jan-1998 eivind

LKM-support for converting all file-system options to new-style options.


32352 08-Jan-1998 eivind

Make the LKMs compile with the INET option as a newstyle option in
opt_inet.h.


22982 22-Feb-1997 peter

Revert $FreeBSD$ back to $Id$


21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

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.


7194 20-Mar-1995 wollman

The discard, tunnel, SLIP, and PPP network interface pseudo-devices
are now dynamically loadable. It doesn't make sense to do the same
for the loopback.