~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/net/netfilter/Makefile

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: GPL-2.0
  2 netfilter-objs := core.o nf_log.o nf_queue.o nf_sockopt.o utils.o
  3 
  4 nf_conntrack-y  := nf_conntrack_core.o nf_conntrack_standalone.o nf_conntrack_expect.o nf_conntrack_helper.o \
  5                    nf_conntrack_proto.o nf_conntrack_proto_generic.o nf_conntrack_proto_tcp.o nf_conntrack_proto_udp.o \
  6                    nf_conntrack_proto_icmp.o \
  7                    nf_conntrack_extend.o nf_conntrack_acct.o nf_conntrack_seqadj.o
  8 
  9 nf_conntrack-$(subst m,y,$(CONFIG_IPV6)) += nf_conntrack_proto_icmpv6.o
 10 nf_conntrack-$(CONFIG_NF_CONNTRACK_TIMEOUT) += nf_conntrack_timeout.o
 11 nf_conntrack-$(CONFIG_NF_CONNTRACK_TIMESTAMP) += nf_conntrack_timestamp.o
 12 nf_conntrack-$(CONFIG_NF_CONNTRACK_EVENTS) += nf_conntrack_ecache.o
 13 nf_conntrack-$(CONFIG_NF_CONNTRACK_LABELS) += nf_conntrack_labels.o
 14 nf_conntrack-$(CONFIG_NF_CONNTRACK_OVS) += nf_conntrack_ovs.o
 15 nf_conntrack-$(CONFIG_NF_CT_PROTO_DCCP) += nf_conntrack_proto_dccp.o
 16 nf_conntrack-$(CONFIG_NF_CT_PROTO_SCTP) += nf_conntrack_proto_sctp.o
 17 nf_conntrack-$(CONFIG_NF_CT_PROTO_GRE) += nf_conntrack_proto_gre.o
 18 ifeq ($(CONFIG_NF_CONNTRACK),m)
 19 nf_conntrack-$(CONFIG_DEBUG_INFO_BTF_MODULES) += nf_conntrack_bpf.o
 20 else ifeq ($(CONFIG_NF_CONNTRACK),y)
 21 nf_conntrack-$(CONFIG_DEBUG_INFO_BTF) += nf_conntrack_bpf.o
 22 endif
 23 
 24 obj-$(CONFIG_NETFILTER) = netfilter.o
 25 obj-$(CONFIG_NETFILTER_BPF_LINK) += nf_bpf_link.o
 26 
 27 obj-$(CONFIG_NETFILTER_NETLINK) += nfnetlink.o
 28 obj-$(CONFIG_NETFILTER_NETLINK_ACCT) += nfnetlink_acct.o
 29 obj-$(CONFIG_NETFILTER_NETLINK_QUEUE) += nfnetlink_queue.o
 30 obj-$(CONFIG_NETFILTER_NETLINK_LOG) += nfnetlink_log.o
 31 obj-$(CONFIG_NETFILTER_NETLINK_OSF) += nfnetlink_osf.o
 32 obj-$(CONFIG_NETFILTER_NETLINK_HOOK) += nfnetlink_hook.o
 33 
 34 # connection tracking
 35 obj-$(CONFIG_NF_CONNTRACK) += nf_conntrack.o
 36 
 37 # netlink interface for nf_conntrack
 38 obj-$(CONFIG_NF_CT_NETLINK) += nf_conntrack_netlink.o
 39 obj-$(CONFIG_NF_CT_NETLINK_TIMEOUT) += nfnetlink_cttimeout.o
 40 obj-$(CONFIG_NF_CT_NETLINK_HELPER) += nfnetlink_cthelper.o
 41 
 42 # connection tracking helpers
 43 nf_conntrack_h323-objs := nf_conntrack_h323_main.o nf_conntrack_h323_asn1.o
 44 
 45 obj-$(CONFIG_NF_CONNTRACK_AMANDA) += nf_conntrack_amanda.o
 46 obj-$(CONFIG_NF_CONNTRACK_FTP) += nf_conntrack_ftp.o
 47 obj-$(CONFIG_NF_CONNTRACK_H323) += nf_conntrack_h323.o
 48 obj-$(CONFIG_NF_CONNTRACK_IRC) += nf_conntrack_irc.o
 49 obj-$(CONFIG_NF_CONNTRACK_BROADCAST) += nf_conntrack_broadcast.o
 50 obj-$(CONFIG_NF_CONNTRACK_NETBIOS_NS) += nf_conntrack_netbios_ns.o
 51 obj-$(CONFIG_NF_CONNTRACK_SNMP) += nf_conntrack_snmp.o
 52 obj-$(CONFIG_NF_CONNTRACK_PPTP) += nf_conntrack_pptp.o
 53 obj-$(CONFIG_NF_CONNTRACK_SANE) += nf_conntrack_sane.o
 54 obj-$(CONFIG_NF_CONNTRACK_SIP) += nf_conntrack_sip.o
 55 obj-$(CONFIG_NF_CONNTRACK_TFTP) += nf_conntrack_tftp.o
 56 
 57 nf_nat-y        := nf_nat_core.o nf_nat_proto.o nf_nat_helper.o
 58 
 59 obj-$(CONFIG_NF_LOG_SYSLOG) += nf_log_syslog.o
 60 
 61 obj-$(CONFIG_NF_NAT) += nf_nat.o
 62 nf_nat-$(CONFIG_NF_NAT_REDIRECT) += nf_nat_redirect.o
 63 nf_nat-$(CONFIG_NF_NAT_MASQUERADE) += nf_nat_masquerade.o
 64 nf_nat-$(CONFIG_NF_NAT_OVS) += nf_nat_ovs.o
 65 
 66 ifeq ($(CONFIG_NF_NAT),m)
 67 nf_nat-$(CONFIG_DEBUG_INFO_BTF_MODULES) += nf_nat_bpf.o
 68 else ifeq ($(CONFIG_NF_NAT),y)
 69 nf_nat-$(CONFIG_DEBUG_INFO_BTF) += nf_nat_bpf.o
 70 endif
 71 
 72 # NAT helpers
 73 obj-$(CONFIG_NF_NAT_AMANDA) += nf_nat_amanda.o
 74 obj-$(CONFIG_NF_NAT_FTP) += nf_nat_ftp.o
 75 obj-$(CONFIG_NF_NAT_IRC) += nf_nat_irc.o
 76 obj-$(CONFIG_NF_NAT_SIP) += nf_nat_sip.o
 77 obj-$(CONFIG_NF_NAT_TFTP) += nf_nat_tftp.o
 78 
 79 # SYNPROXY
 80 obj-$(CONFIG_NETFILTER_SYNPROXY) += nf_synproxy_core.o
 81 
 82 obj-$(CONFIG_NETFILTER_CONNCOUNT) += nf_conncount.o
 83 
 84 # generic packet duplication from netdev family
 85 obj-$(CONFIG_NF_DUP_NETDEV)     += nf_dup_netdev.o
 86 
 87 # nf_tables
 88 nf_tables-objs := nf_tables_core.o nf_tables_api.o nft_chain_filter.o \
 89                   nf_tables_trace.o nft_immediate.o nft_cmp.o nft_range.o \
 90                   nft_bitwise.o nft_byteorder.o nft_payload.o nft_lookup.o \
 91                   nft_dynset.o nft_meta.o nft_rt.o nft_exthdr.o nft_last.o \
 92                   nft_counter.o nft_objref.o nft_inner.o \
 93                   nft_chain_route.o nf_tables_offload.o \
 94                   nft_set_hash.o nft_set_bitmap.o nft_set_rbtree.o \
 95                   nft_set_pipapo.o
 96 
 97 ifdef CONFIG_X86_64
 98 ifndef CONFIG_UML
 99 nf_tables-objs += nft_set_pipapo_avx2.o
100 endif
101 endif
102 
103 ifdef CONFIG_NFT_CT
104 ifdef CONFIG_MITIGATION_RETPOLINE
105 nf_tables-objs += nft_ct_fast.o
106 endif
107 endif
108 
109 obj-$(CONFIG_NF_TABLES)         += nf_tables.o
110 obj-$(CONFIG_NFT_COMPAT)        += nft_compat.o
111 obj-$(CONFIG_NFT_CONNLIMIT)     += nft_connlimit.o
112 obj-$(CONFIG_NFT_NUMGEN)        += nft_numgen.o
113 obj-$(CONFIG_NFT_CT)            += nft_ct.o
114 obj-$(CONFIG_NFT_FLOW_OFFLOAD)  += nft_flow_offload.o
115 obj-$(CONFIG_NFT_LIMIT)         += nft_limit.o
116 obj-$(CONFIG_NFT_NAT)           += nft_nat.o
117 obj-$(CONFIG_NFT_QUEUE)         += nft_queue.o
118 obj-$(CONFIG_NFT_QUOTA)         += nft_quota.o
119 obj-$(CONFIG_NFT_REJECT)        += nft_reject.o
120 obj-$(CONFIG_NFT_REJECT_INET)   += nft_reject_inet.o
121 obj-$(CONFIG_NFT_REJECT_NETDEV) += nft_reject_netdev.o
122 obj-$(CONFIG_NFT_TUNNEL)        += nft_tunnel.o
123 obj-$(CONFIG_NFT_LOG)           += nft_log.o
124 obj-$(CONFIG_NFT_MASQ)          += nft_masq.o
125 obj-$(CONFIG_NFT_REDIR)         += nft_redir.o
126 obj-$(CONFIG_NFT_HASH)          += nft_hash.o
127 obj-$(CONFIG_NFT_FIB)           += nft_fib.o
128 obj-$(CONFIG_NFT_FIB_INET)      += nft_fib_inet.o
129 obj-$(CONFIG_NFT_FIB_NETDEV)    += nft_fib_netdev.o
130 obj-$(CONFIG_NFT_SOCKET)        += nft_socket.o
131 obj-$(CONFIG_NFT_OSF)           += nft_osf.o
132 obj-$(CONFIG_NFT_TPROXY)        += nft_tproxy.o
133 obj-$(CONFIG_NFT_XFRM)          += nft_xfrm.o
134 obj-$(CONFIG_NFT_SYNPROXY)      += nft_synproxy.o
135 
136 obj-$(CONFIG_NFT_NAT)           += nft_chain_nat.o
137 
138 # nf_tables netdev
139 obj-$(CONFIG_NFT_DUP_NETDEV)    += nft_dup_netdev.o
140 obj-$(CONFIG_NFT_FWD_NETDEV)    += nft_fwd_netdev.o
141 
142 # flow table infrastructure
143 obj-$(CONFIG_NF_FLOW_TABLE)     += nf_flow_table.o
144 nf_flow_table-objs              := nf_flow_table_core.o nf_flow_table_ip.o \
145                                    nf_flow_table_offload.o nf_flow_table_xdp.o
146 nf_flow_table-$(CONFIG_NF_FLOW_TABLE_PROCFS) += nf_flow_table_procfs.o
147 ifeq ($(CONFIG_NF_FLOW_TABLE),m)
148 nf_flow_table-$(CONFIG_DEBUG_INFO_BTF_MODULES) += nf_flow_table_bpf.o
149 else ifeq ($(CONFIG_NF_FLOW_TABLE),y)
150 nf_flow_table-$(CONFIG_DEBUG_INFO_BTF) += nf_flow_table_bpf.o
151 endif
152 
153 obj-$(CONFIG_NF_FLOW_TABLE_INET) += nf_flow_table_inet.o
154 
155 # generic X tables
156 obj-$(CONFIG_NETFILTER_XTABLES) += x_tables.o xt_tcpudp.o
157 
158 # combos
159 obj-$(CONFIG_NETFILTER_XT_MARK) += xt_mark.o
160 obj-$(CONFIG_NETFILTER_XT_CONNMARK) += xt_connmark.o
161 obj-$(CONFIG_NETFILTER_XT_SET) += xt_set.o
162 obj-$(CONFIG_NETFILTER_XT_NAT) += xt_nat.o
163 
164 # targets
165 obj-$(CONFIG_NETFILTER_XT_TARGET_AUDIT) += xt_AUDIT.o
166 obj-$(CONFIG_NETFILTER_XT_TARGET_CHECKSUM) += xt_CHECKSUM.o
167 obj-$(CONFIG_NETFILTER_XT_TARGET_CLASSIFY) += xt_CLASSIFY.o
168 obj-$(CONFIG_NETFILTER_XT_TARGET_CONNSECMARK) += xt_CONNSECMARK.o
169 obj-$(CONFIG_NETFILTER_XT_TARGET_CT) += xt_CT.o
170 obj-$(CONFIG_NETFILTER_XT_TARGET_DSCP) += xt_DSCP.o
171 obj-$(CONFIG_NETFILTER_XT_TARGET_HL) += xt_HL.o
172 obj-$(CONFIG_NETFILTER_XT_TARGET_HMARK) += xt_HMARK.o
173 obj-$(CONFIG_NETFILTER_XT_TARGET_LED) += xt_LED.o
174 obj-$(CONFIG_NETFILTER_XT_TARGET_LOG) += xt_LOG.o
175 obj-$(CONFIG_NETFILTER_XT_TARGET_NETMAP) += xt_NETMAP.o
176 obj-$(CONFIG_NETFILTER_XT_TARGET_NFLOG) += xt_NFLOG.o
177 obj-$(CONFIG_NETFILTER_XT_TARGET_NFQUEUE) += xt_NFQUEUE.o
178 obj-$(CONFIG_NETFILTER_XT_TARGET_RATEEST) += xt_RATEEST.o
179 obj-$(CONFIG_NETFILTER_XT_TARGET_REDIRECT) += xt_REDIRECT.o
180 obj-$(CONFIG_NETFILTER_XT_TARGET_MASQUERADE) += xt_MASQUERADE.o
181 obj-$(CONFIG_NETFILTER_XT_TARGET_SECMARK) += xt_SECMARK.o
182 obj-$(CONFIG_NETFILTER_XT_TARGET_TPROXY) += xt_TPROXY.o
183 obj-$(CONFIG_NETFILTER_XT_TARGET_TCPMSS) += xt_TCPMSS.o
184 obj-$(CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP) += xt_TCPOPTSTRIP.o
185 obj-$(CONFIG_NETFILTER_XT_TARGET_TEE) += xt_TEE.o
186 obj-$(CONFIG_NETFILTER_XT_TARGET_TRACE) += xt_TRACE.o
187 obj-$(CONFIG_NETFILTER_XT_TARGET_IDLETIMER) += xt_IDLETIMER.o
188 
189 # matches
190 obj-$(CONFIG_NETFILTER_XT_MATCH_ADDRTYPE) += xt_addrtype.o
191 obj-$(CONFIG_NETFILTER_XT_MATCH_BPF) += xt_bpf.o
192 obj-$(CONFIG_NETFILTER_XT_MATCH_CLUSTER) += xt_cluster.o
193 obj-$(CONFIG_NETFILTER_XT_MATCH_COMMENT) += xt_comment.o
194 obj-$(CONFIG_NETFILTER_XT_MATCH_CONNBYTES) += xt_connbytes.o
195 obj-$(CONFIG_NETFILTER_XT_MATCH_CONNLABEL) += xt_connlabel.o
196 obj-$(CONFIG_NETFILTER_XT_MATCH_CONNLIMIT) += xt_connlimit.o
197 obj-$(CONFIG_NETFILTER_XT_MATCH_CONNTRACK) += xt_conntrack.o
198 obj-$(CONFIG_NETFILTER_XT_MATCH_CPU) += xt_cpu.o
199 obj-$(CONFIG_NETFILTER_XT_MATCH_DCCP) += xt_dccp.o
200 obj-$(CONFIG_NETFILTER_XT_MATCH_DEVGROUP) += xt_devgroup.o
201 obj-$(CONFIG_NETFILTER_XT_MATCH_DSCP) += xt_dscp.o
202 obj-$(CONFIG_NETFILTER_XT_MATCH_ECN) += xt_ecn.o
203 obj-$(CONFIG_NETFILTER_XT_MATCH_ESP) += xt_esp.o
204 obj-$(CONFIG_NETFILTER_XT_MATCH_HASHLIMIT) += xt_hashlimit.o
205 obj-$(CONFIG_NETFILTER_XT_MATCH_HELPER) += xt_helper.o
206 obj-$(CONFIG_NETFILTER_XT_MATCH_HL) += xt_hl.o
207 obj-$(CONFIG_NETFILTER_XT_MATCH_IPCOMP) += xt_ipcomp.o
208 obj-$(CONFIG_NETFILTER_XT_MATCH_IPRANGE) += xt_iprange.o
209 obj-$(CONFIG_NETFILTER_XT_MATCH_IPVS) += xt_ipvs.o
210 obj-$(CONFIG_NETFILTER_XT_MATCH_L2TP) += xt_l2tp.o
211 obj-$(CONFIG_NETFILTER_XT_MATCH_LENGTH) += xt_length.o
212 obj-$(CONFIG_NETFILTER_XT_MATCH_LIMIT) += xt_limit.o
213 obj-$(CONFIG_NETFILTER_XT_MATCH_MAC) += xt_mac.o
214 obj-$(CONFIG_NETFILTER_XT_MATCH_MULTIPORT) += xt_multiport.o
215 obj-$(CONFIG_NETFILTER_XT_MATCH_NFACCT) += xt_nfacct.o
216 obj-$(CONFIG_NETFILTER_XT_MATCH_OSF) += xt_osf.o
217 obj-$(CONFIG_NETFILTER_XT_MATCH_OWNER) += xt_owner.o
218 obj-$(CONFIG_NETFILTER_XT_MATCH_CGROUP) += xt_cgroup.o
219 obj-$(CONFIG_NETFILTER_XT_MATCH_PHYSDEV) += xt_physdev.o
220 obj-$(CONFIG_NETFILTER_XT_MATCH_PKTTYPE) += xt_pkttype.o
221 obj-$(CONFIG_NETFILTER_XT_MATCH_POLICY) += xt_policy.o
222 obj-$(CONFIG_NETFILTER_XT_MATCH_QUOTA) += xt_quota.o
223 obj-$(CONFIG_NETFILTER_XT_MATCH_RATEEST) += xt_rateest.o
224 obj-$(CONFIG_NETFILTER_XT_MATCH_REALM) += xt_realm.o
225 obj-$(CONFIG_NETFILTER_XT_MATCH_RECENT) += xt_recent.o
226 obj-$(CONFIG_NETFILTER_XT_MATCH_SCTP) += xt_sctp.o
227 obj-$(CONFIG_NETFILTER_XT_MATCH_SOCKET) += xt_socket.o
228 obj-$(CONFIG_NETFILTER_XT_MATCH_STATE) += xt_state.o
229 obj-$(CONFIG_NETFILTER_XT_MATCH_STATISTIC) += xt_statistic.o
230 obj-$(CONFIG_NETFILTER_XT_MATCH_STRING) += xt_string.o
231 obj-$(CONFIG_NETFILTER_XT_MATCH_TCPMSS) += xt_tcpmss.o
232 obj-$(CONFIG_NETFILTER_XT_MATCH_TIME) += xt_time.o
233 obj-$(CONFIG_NETFILTER_XT_MATCH_U32) += xt_u32.o
234 
235 # ipset
236 obj-$(CONFIG_IP_SET) += ipset/
237 
238 # IPVS
239 obj-$(CONFIG_IP_VS) += ipvs/
240 
241 # lwtunnel
242 obj-$(CONFIG_LWTUNNEL) += nf_hooks_lwtunnel.o

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php