0e21825481
- Implement dynamic NPF rules. Controlled through npf(3) library of via npfctl rule command. A rule can be removed using a unique identifier, returned on addition, or using a key which is SHA1 hash of the rule. Adjust npftest and add a regression test. - Improvements to rule inspection mechanism. - Initial BPF support as an alternative to n-code. - Minor fixes; bump the version.
18 lines
437 B
Makefile
18 lines
437 B
Makefile
# $NetBSD: Makefile,v 1.12 2013/02/09 03:35:33 rmind Exp $
|
|
|
|
.include "../Makefile.inc"
|
|
|
|
.PATH: ${S}/net/npf
|
|
|
|
KMOD= npf
|
|
|
|
SRCS= npf.c npf_alg.c npf_conf.c npf_ctl.c npf_handler.c
|
|
SRCS+= npf_inet.c npf_instr.c npf_mbuf.c npf_nat.c
|
|
SRCS+= npf_processor.c npf_ruleset.c npf_rproc.c npf_sendpkt.c
|
|
SRCS+= npf_session.c npf_state.c npf_state_tcp.c
|
|
SRCS+= npf_tableset.c npf_tableset_ptree.c
|
|
|
|
CPPFLAGS+= -DINET6
|
|
|
|
.include <bsd.kmodule.mk>
|