1# SPDX-License-Identifier: GPL-2.0 2# 3# Makefile for the netfilter modules on top of IPv6. 4# 5 6# Link order matters here. 7obj-$(CONFIG_IP6_NF_IPTABLES) += ip6_tables.o 8obj-$(CONFIG_IP6_NF_FILTER) += ip6table_filter.o 9obj-$(CONFIG_IP6_NF_MANGLE) += ip6table_mangle.o 10obj-$(CONFIG_IP6_NF_RAW) += ip6table_raw.o 11obj-$(CONFIG_IP6_NF_SECURITY) += ip6table_security.o 12obj-$(CONFIG_IP6_NF_NAT) += ip6table_nat.o 13 14# defrag 15nf_defrag_ipv6-y := nf_defrag_ipv6_hooks.o nf_conntrack_reasm.o 16obj-$(CONFIG_NF_DEFRAG_IPV6) += nf_defrag_ipv6.o 17 18obj-$(CONFIG_NF_SOCKET_IPV6) += nf_socket_ipv6.o 19obj-$(CONFIG_NF_TPROXY_IPV6) += nf_tproxy_ipv6.o 20 21# logging 22obj-$(CONFIG_NF_LOG_IPV6) += nf_log_ipv6.o 23 24# reject 25obj-$(CONFIG_NF_REJECT_IPV6) += nf_reject_ipv6.o 26 27obj-$(CONFIG_NF_DUP_IPV6) += nf_dup_ipv6.o 28 29# nf_tables 30obj-$(CONFIG_NFT_REJECT_IPV6) += nft_reject_ipv6.o 31obj-$(CONFIG_NFT_DUP_IPV6) += nft_dup_ipv6.o 32obj-$(CONFIG_NFT_FIB_IPV6) += nft_fib_ipv6.o 33 34# flow table support 35obj-$(CONFIG_NF_FLOW_TABLE_IPV6) += nf_flow_table_ipv6.o 36 37# matches 38obj-$(CONFIG_IP6_NF_MATCH_AH) += ip6t_ah.o 39obj-$(CONFIG_IP6_NF_MATCH_EUI64) += ip6t_eui64.o 40obj-$(CONFIG_IP6_NF_MATCH_FRAG) += ip6t_frag.o 41obj-$(CONFIG_IP6_NF_MATCH_IPV6HEADER) += ip6t_ipv6header.o 42obj-$(CONFIG_IP6_NF_MATCH_MH) += ip6t_mh.o 43obj-$(CONFIG_IP6_NF_MATCH_OPTS) += ip6t_hbh.o 44obj-$(CONFIG_IP6_NF_MATCH_RPFILTER) += ip6t_rpfilter.o 45obj-$(CONFIG_IP6_NF_MATCH_RT) += ip6t_rt.o 46obj-$(CONFIG_IP6_NF_MATCH_SRH) += ip6t_srh.o 47 48# targets 49obj-$(CONFIG_IP6_NF_TARGET_NPT) += ip6t_NPT.o 50obj-$(CONFIG_IP6_NF_TARGET_REJECT) += ip6t_REJECT.o 51obj-$(CONFIG_IP6_NF_TARGET_SYNPROXY) += ip6t_SYNPROXY.o 52