mirror of
https://github.com/opnsense/src.git
synced 2026-04-28 01:28:00 -04:00
This add ability to automatically load ipsec kernel module, when if_ipsec(4) virtual interface is created using ifconfig(8). Reviewed by: gallatin MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D20169
15 lines
396 B
Makefile
15 lines
396 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${SRCTOP}/sys/net ${SRCTOP}/sys/netipsec
|
|
|
|
KMOD= ipsec
|
|
SRCS= if_ipsec.c ipsec.c ipsec_input.c ipsec_mbuf.c ipsec_mod.c \
|
|
ipsec_output.c xform_ah.c xform_esp.c xform_ipcomp.c \
|
|
opt_inet.h opt_inet6.h opt_ipsec.h opt_sctp.h
|
|
SRCS.INET= udpencap.c
|
|
SYMLINKS= ${KMOD}.ko ${KMODDIR}/if_${KMOD}.ko
|
|
|
|
opt_ipsec.h:
|
|
@echo "#define IPSEC_SUPPORT 1" > ${.TARGET}
|
|
|
|
.include <bsd.kmod.mk>
|