1#
2# Makefile for the netfilter modules on top of IPv6.
3#
4
5# Link order matters here.
6obj-$(CONFIG_IP6_NF_IPTABLES) += ip6_tables.o
7obj-$(CONFIG_IP6_NF_FILTER) += ip6table_filter.o
8obj-$(CONFIG_IP6_NF_MANGLE) += ip6table_mangle.o
9obj-$(CONFIG_IP6_NF_RAW) += ip6table_raw.o
10obj-$(CONFIG_IP6_NF_SECURITY) += ip6table_security.o
11obj-$(CONFIG_IP6_NF_NAT) += ip6table_nat.o
12
13# objects for l3 independent conntrack
14nf_conntrack_ipv6-y  :=  nf_conntrack_l3proto_ipv6.o nf_conntrack_proto_icmpv6.o
15
16# l3 independent conntrack
17obj-$(CONFIG_NF_CONNTRACK_IPV6) += nf_conntrack_ipv6.o
18
19nf_nat_ipv6-y		:= nf_nat_l3proto_ipv6.o nf_nat_proto_icmpv6.o
20obj-$(CONFIG_NF_NAT_IPV6) += nf_nat_ipv6.o
21obj-$(CONFIG_NF_NAT_MASQUERADE_IPV6) += nf_nat_masquerade_ipv6.o
22
23# defrag
24nf_defrag_ipv6-y := nf_defrag_ipv6_hooks.o nf_conntrack_reasm.o
25obj-$(CONFIG_NF_DEFRAG_IPV6) += nf_defrag_ipv6.o
26
27# logging
28obj-$(CONFIG_NF_LOG_IPV6) += nf_log_ipv6.o
29
30# reject
31obj-$(CONFIG_NF_REJECT_IPV6) += nf_reject_ipv6.o
32
33# nf_tables
34obj-$(CONFIG_NF_TABLES_IPV6) += nf_tables_ipv6.o
35obj-$(CONFIG_NFT_CHAIN_ROUTE_IPV6) += nft_chain_route_ipv6.o
36obj-$(CONFIG_NFT_CHAIN_NAT_IPV6) += nft_chain_nat_ipv6.o
37obj-$(CONFIG_NFT_REJECT_IPV6) += nft_reject_ipv6.o
38obj-$(CONFIG_NFT_MASQ_IPV6) += nft_masq_ipv6.o
39obj-$(CONFIG_NFT_REDIR_IPV6) += nft_redir_ipv6.o
40
41# matches
42obj-$(CONFIG_IP6_NF_MATCH_AH) += ip6t_ah.o
43obj-$(CONFIG_IP6_NF_MATCH_EUI64) += ip6t_eui64.o
44obj-$(CONFIG_IP6_NF_MATCH_FRAG) += ip6t_frag.o
45obj-$(CONFIG_IP6_NF_MATCH_IPV6HEADER) += ip6t_ipv6header.o
46obj-$(CONFIG_IP6_NF_MATCH_MH) += ip6t_mh.o
47obj-$(CONFIG_IP6_NF_MATCH_OPTS) += ip6t_hbh.o
48obj-$(CONFIG_IP6_NF_MATCH_RPFILTER) += ip6t_rpfilter.o
49obj-$(CONFIG_IP6_NF_MATCH_RT) += ip6t_rt.o
50
51# targets
52obj-$(CONFIG_IP6_NF_TARGET_MASQUERADE) += ip6t_MASQUERADE.o
53obj-$(CONFIG_IP6_NF_TARGET_NPT) += ip6t_NPT.o
54obj-$(CONFIG_IP6_NF_TARGET_REJECT) += ip6t_REJECT.o
55obj-$(CONFIG_IP6_NF_TARGET_SYNPROXY) += ip6t_SYNPROXY.o
56