mirror of
https://github.com/opnsense/src.git
synced 2026-06-07 07:42:26 -04:00
Since the IPv6 madness is not enough introduce NAT64 -- which is actually
"af-to" a generic IP version translator for pf(4).
Not everything perfect yet but lets fix these things in the tree.
Insane amount of work done by sperreault@, mikeb@ and reyk@.
Looked over by mcbride@ henning@ and myself at eurobsdcon.
OK mcbride@ and general put it in from deraadt@
Obtained from: OpenBSD, claudio <claudio@openbsd.org>, 97326e01c9
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D47786
26 lines
731 B
Makefile
26 lines
731 B
Makefile
.PATH: ${SRCTOP}/sys/netpfil/pf
|
|
|
|
KMOD= pf
|
|
SRCS= pf.c pf_if.c pf_lb.c pf_osfp.c pf_ioctl.c pf_norm.c pf_table.c \
|
|
pf_ruleset.c pf_nl.c pf_nv.c pf_syncookies.c in4_cksum.c inet_nat64.c \
|
|
bus_if.h device_if.h \
|
|
opt_pf.h opt_inet.h opt_inet6.h opt_bpf.h opt_sctp.h opt_global.h \
|
|
opt_kern_tls.h
|
|
|
|
.if !defined(KERNBUILDDIR)
|
|
# pflog can be loaded as a module, have the additional checks turned on
|
|
# pfsync can be loaded as a module, have the additional checks turned on
|
|
opt_pf.h:
|
|
echo "#define DEV_PF 1" > ${.TARGET}
|
|
echo "#define DEV_PFLOG 1" >> ${.TARGET}
|
|
echo "#define DEV_PFSYNC 1" >> ${.TARGET}
|
|
|
|
.if defined(VIMAGE)
|
|
opt_global.h:
|
|
echo "#define VIMAGE 1" >> ${.TARGET}
|
|
.endif
|
|
.endif
|
|
|
|
EXPORT_SYMS= YES
|
|
|
|
.include <bsd.kmod.mk>
|