1# SPDX-License-Identifier: GPL-2.0 2# 3# Makefile for the netfilter modules on top of IPv4. 4# 5 6# defrag 7obj-$(CONFIG_NF_DEFRAG_IPV4) += nf_defrag_ipv4.o 8 9obj-$(CONFIG_NF_SOCKET_IPV4) += nf_socket_ipv4.o 10obj-$(CONFIG_NF_TPROXY_IPV4) += nf_tproxy_ipv4.o 11 12# reject 13obj-$(CONFIG_NF_REJECT_IPV4) += nf_reject_ipv4.o 14 15# NAT helpers (nf_conntrack) 16obj-$(CONFIG_NF_NAT_H323) += nf_nat_h323.o 17obj-$(CONFIG_NF_NAT_PPTP) += nf_nat_pptp.o 18 19nf_nat_snmp_basic-y := nf_nat_snmp_basic.asn1.o nf_nat_snmp_basic_main.o 20$(obj)/nf_nat_snmp_basic_main.o: $(obj)/nf_nat_snmp_basic.asn1.h 21obj-$(CONFIG_NF_NAT_SNMP_BASIC) += nf_nat_snmp_basic.o 22 23obj-$(CONFIG_NFT_REJECT_IPV4) += nft_reject_ipv4.o 24obj-$(CONFIG_NFT_FIB_IPV4) += nft_fib_ipv4.o 25obj-$(CONFIG_NFT_DUP_IPV4) += nft_dup_ipv4.o 26 27# flow table support 28obj-$(CONFIG_NF_FLOW_TABLE_IPV4) += nf_flow_table_ipv4.o 29 30# generic IP tables 31obj-$(CONFIG_IP_NF_IPTABLES) += ip_tables.o 32 33# the three instances of ip_tables 34obj-$(CONFIG_IP_NF_FILTER) += iptable_filter.o 35obj-$(CONFIG_IP_NF_MANGLE) += iptable_mangle.o 36obj-$(CONFIG_IP_NF_NAT) += iptable_nat.o 37obj-$(CONFIG_IP_NF_RAW) += iptable_raw.o 38obj-$(CONFIG_IP_NF_SECURITY) += iptable_security.o 39 40# matches 41obj-$(CONFIG_IP_NF_MATCH_AH) += ipt_ah.o 42obj-$(CONFIG_IP_NF_MATCH_RPFILTER) += ipt_rpfilter.o 43 44# targets 45obj-$(CONFIG_IP_NF_TARGET_CLUSTERIP) += ipt_CLUSTERIP.o 46obj-$(CONFIG_IP_NF_TARGET_ECN) += ipt_ECN.o 47obj-$(CONFIG_IP_NF_TARGET_REJECT) += ipt_REJECT.o 48obj-$(CONFIG_IP_NF_TARGET_SYNPROXY) += ipt_SYNPROXY.o 49 50# generic ARP tables 51obj-$(CONFIG_IP_NF_ARPTABLES) += arp_tables.o 52obj-$(CONFIG_IP_NF_ARP_MANGLE) += arpt_mangle.o 53 54# just filtering instance of ARP tables for now 55obj-$(CONFIG_IP_NF_ARPFILTER) += arptable_filter.o 56 57obj-$(CONFIG_NF_DUP_IPV4) += nf_dup_ipv4.o 58