ef91a9765d
Use hhook(9) framework to achieve ability of loading and unloading if_enc(4) kernel module. INET and INET6 code on initialization registers two helper hooks points in the kernel. if_enc(4) module uses these helper hook points and registers its hooks. IPSEC code uses these hhook points to call helper hooks implemented in if_enc(4).
12 lines
175 B
Makefile
12 lines
175 B
Makefile
# $FreeBSD$
|
|
|
|
SYSDIR?=${.CURDIR}/../..
|
|
.include "${SYSDIR}/conf/kern.opts.mk"
|
|
|
|
.PATH: ${SYSDIR}/net
|
|
|
|
KMOD= if_enc
|
|
SRCS= if_enc.c opt_inet.h opt_inet6.h
|
|
|
|
.include <bsd.kmod.mk>
|