1#	$NetBSD: files.ipfilter,v 1.16 2020/12/04 00:44:39 thorpej Exp $
2
3defflag	opt_ipfilter.h	IPFILTER_LOG		# logging of ip packets
4defflag	opt_ipfilter.h	IPFILTER_DEFAULT_BLOCK
5defflag	opt_ipfilter.h	IPFILTER_BPF		# BPF opcodes in rules
6defflag	opt_ipfilter.h	IPFILTER_CKSUM		# check layer 4 checksums
7defflag	opt_ipfilter.h	IPFILTER_COMPILED	# support for compiled IPF rules
8defflag	opt_ipfilter.h	IPFILTER_LOOKUP		# support for ippool(8)
9defflag	opt_ipfilter.h	IPFILTER_SCAN		# scanning of packet contents
10defflag	opt_ipfilter.h	IPFILTER_SYNC		# synchronisation of state 
11defflag	opt_ipfilter.h	IPFILTER_COMPAT		# IPFilter version compat.
12
13defparam opt_ipfilter.h	IPFILTER_LOGSIZE	# size of logging buffer
14defparam opt_ipfilter.h	IPSTATE_MAX	# maximum number of references to state table entry
15defparam opt_ipfilter.h	IPSTATE_SIZE	# size of state hash table
16defparam opt_ipfilter.h	NAT_TABLE_MAX	# maximum number of NAT state entries
17defparam opt_ipfilter.h	NAT_TABLE_SZ	# size of NAT state hash table
18defparam opt_ipfilter.h	NAT_SIZE	# size of nat rules hash table
19defparam opt_ipfilter.h	RDR_SIZE	# size of rdr rules hash table
20defparam opt_ipfilter.h	HOSTMAP_SIZE	# size of hostmap hash table
21
22
23defpseudo ipfilter: ifnet, bpf_filter		# XXX not really an ifnet
24
25file	external/bsd/ipf/netinet/fil.c			ipfilter
26file	external/bsd/ipf/netinet/ip_auth.c		ipfilter
27file	external/bsd/ipf/netinet/ip_dstlist.c		ipfilter
28file	external/bsd/ipf/netinet/ip_fil_netbsd.c	ipfilter needs-flag
29file	external/bsd/ipf/netinet/ip_frag.c		ipfilter
30file	external/bsd/ipf/netinet/ip_htable.c		ipfilter
31file	external/bsd/ipf/netinet/ip_log.c		ipfilter & ipfilter_log
32file	external/bsd/ipf/netinet/ip_lookup.c		ipfilter
33file	external/bsd/ipf/netinet/ip_nat.c		ipfilter
34file	external/bsd/ipf/netinet/ip_nat6.c		ipfilter
35file	external/bsd/ipf/netinet/ip_pool.c		ipfilter
36file	external/bsd/ipf/netinet/ip_proxy.c		ipfilter
37file	external/bsd/ipf/netinet/ip_scan.c		ipfilter & ipfilter_scan
38file	external/bsd/ipf/netinet/ip_state.c		ipfilter
39file	external/bsd/ipf/netinet/ip_sync.c		ipfilter
40file	external/bsd/ipf/netinet/ip_fil_compat.c	ipfilter & ipfilter_compat
41file	external/bsd/ipf/netinet/radix_ipf.c		ipfilter
42
43makeoptions	ipfilter	CPPFLAGS+="-I$S/external/bsd/ipf"
44makeoptions	ipfilter	"CWARNFLAGS.ip_sync.c"+="-Wno-error"
45