diff options
author | wollman <wollman@FreeBSD.org> | 1995-03-20 19:25:49 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1995-03-20 19:25:49 +0000 |
commit | d590bce33da4c168566c5b55cd3eb2ed6a26cbc8 (patch) | |
tree | c2c7098a216ff371ba3b348605c769118282a33f /lkm/if_tun | |
parent | 1a3906ad112caa58da684aba47eeb9527568c9dc (diff) | |
download | FreeBSD-src-d590bce33da4c168566c5b55cd3eb2ed6a26cbc8.zip FreeBSD-src-d590bce33da4c168566c5b55cd3eb2ed6a26cbc8.tar.gz |
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.
Diffstat (limited to 'lkm/if_tun')
-rw-r--r-- | lkm/if_tun/Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/lkm/if_tun/Makefile b/lkm/if_tun/Makefile new file mode 100644 index 0000000..49ca778 --- /dev/null +++ b/lkm/if_tun/Makefile @@ -0,0 +1,23 @@ +# $Id: Makefile,v 1.1 1994/09/22 22:12:59 wollman Exp $ + +.PATH: ${.CURDIR}/../../sys/net +KMOD= if_tun_mod +SRCS= if_tun.c bpfilter.h tun.h +NOMAN= +PSEUDO_LKM= +CFLAGS+= -I. + +NBPFILTER?= 0 +NTUN?= 2 +PROTOS?= -DINET + +CFLAGS+= ${PROTOS} +CLEANFILES+= bpfilter.h tun.h + +bpfilter.h: + echo "#define NBPFILTER ${NBPFILTER}" > bpfilter.h + +tun.h: + echo "#define NTUN ${NTUN}" > tun.h + +.include <bsd.kmod.mk> |