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