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