NetBSD/usr.sbin/npf/npftest/libnpftest/Makefile
rmind 3d9a792dd8 Major NPF improvements:
- Convert NPF connection table to thmap.  State lookup is now lock-free.
- Improve connection state G/C: it is now incremental and tunable.
- Add support for dynamic NAT address.  Translation addresses can now be
  selected from a pool of addresses.  There are two selection algorithms,
  "ip-hash" and "round-robin" (see the man page).
- Translation address can be specified as e.g. ifaddrs(wm0) in npf.conf
  to dynamically choose an IP from the interface address(es).
- Add support for the NETMAP algorithm with static NAT for net-to-net
  translation (it is equivalent to iptables NETMAP logic).
- Convert 'ipset' tables to use thmap; the table lookup is now lock-free.
- Misc improvements, bug fixes and more unit tests.
- Bump NPF_VERSION (will also bump libnpf).
2019-01-19 21:19:31 +00:00

35 lines
666 B
Makefile

# $NetBSD: Makefile,v 1.10 2019/01/19 21:19:32 rmind Exp $
#
# Public Domain
#
RUMPTOP= ${.CURDIR}/../../../../sys/rump
LIB= npftest
LIBISPRIVATE= yes
SRCS+= npf_test_subr.c
SRCS+= npf_mbuf_subr.c
SRCS+= npf_nbuf_test.c
SRCS+= npf_bpf_test.c
SRCS+= npf_table_test.c
SRCS+= npf_conn_test.c
SRCS+= npf_state_test.c
SRCS+= npf_rule_test.c
SRCS+= npf_nat_test.c
SRCS+= npf_perf_test.c
CPPFLAGS+= -D_NPF_TESTING
CPPFLAGS+= -I${.CURDIR}/../../../../sys/net/npf
CPPFLAGS+= -I${RUMPTOP}/librump/rumpkern
CPPFLAGS+= -I${NETBSDSRCDIR}/sys/external/bsd/libnv/dist
WARNS= 5
.include "${RUMPTOP}/Makefile.rump"
.include <bsd.lib.mk>
.include <bsd.klinks.mk>