xref: /linux/net/ipv6/netfilter/Makefile (revision 79790b6818e96c58fe2bffee1b418c16e64e7b80)
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_LEGACY) += 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# reject
22obj-$(CONFIG_NF_REJECT_IPV6) += nf_reject_ipv6.o
23
24obj-$(CONFIG_NF_DUP_IPV6) += nf_dup_ipv6.o
25
26# nf_tables
27obj-$(CONFIG_NFT_REJECT_IPV6) += nft_reject_ipv6.o
28obj-$(CONFIG_NFT_DUP_IPV6) += nft_dup_ipv6.o
29obj-$(CONFIG_NFT_FIB_IPV6) += nft_fib_ipv6.o
30
31# matches
32obj-$(CONFIG_IP6_NF_MATCH_AH) += ip6t_ah.o
33obj-$(CONFIG_IP6_NF_MATCH_EUI64) += ip6t_eui64.o
34obj-$(CONFIG_IP6_NF_MATCH_FRAG) += ip6t_frag.o
35obj-$(CONFIG_IP6_NF_MATCH_IPV6HEADER) += ip6t_ipv6header.o
36obj-$(CONFIG_IP6_NF_MATCH_MH) += ip6t_mh.o
37obj-$(CONFIG_IP6_NF_MATCH_OPTS) += ip6t_hbh.o
38obj-$(CONFIG_IP6_NF_MATCH_RPFILTER) += ip6t_rpfilter.o
39obj-$(CONFIG_IP6_NF_MATCH_RT) += ip6t_rt.o
40obj-$(CONFIG_IP6_NF_MATCH_SRH) += ip6t_srh.o
41
42# targets
43obj-$(CONFIG_IP6_NF_TARGET_NPT) += ip6t_NPT.o
44obj-$(CONFIG_IP6_NF_TARGET_REJECT) += ip6t_REJECT.o
45obj-$(CONFIG_IP6_NF_TARGET_SYNPROXY) += ip6t_SYNPROXY.o
46