mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-22 11:17:19 +00:00
367d34f853
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
33 lines
539 B
Makefile
33 lines
539 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../net
|
|
KMOD= if_tun
|
|
SRCS= if_tun.c opt_devfs.h opt_atalk.h opt_atm.h opt_inet.h opt_inet6.h \
|
|
opt_ipx.h opt_natm.h vnode_if.h
|
|
NOMAN=
|
|
|
|
NBPF?= 1
|
|
NTUN?= 2
|
|
|
|
CFLAGS+= ${PROTOS}
|
|
|
|
opt_atalk.h:
|
|
echo "#define NETATALK 1" > opt_atalk.h
|
|
|
|
opt_atm.h:
|
|
echo "#define ATM_CORE 1" > opt_atm.h
|
|
|
|
opt_inet.h:
|
|
echo "#define INET 1" > opt_inet.h
|
|
|
|
opt_inet6.h:
|
|
echo "#define INET6 1" > opt_inet6.h
|
|
|
|
opt_ipx.h:
|
|
echo "#define IPX 1" > opt_ipx.h
|
|
|
|
opt_natm.h:
|
|
echo "#define NATM 1" > opt_natm.h
|
|
|
|
.include <bsd.kmod.mk>
|