xref: /openbmc/linux/net/netfilter/Makefile (revision 63dc02bd)
1netfilter-objs := core.o nf_log.o nf_queue.o nf_sockopt.o
2
3nf_conntrack-y	:= nf_conntrack_core.o nf_conntrack_standalone.o nf_conntrack_expect.o nf_conntrack_helper.o nf_conntrack_proto.o nf_conntrack_l3proto_generic.o nf_conntrack_proto_generic.o nf_conntrack_proto_tcp.o nf_conntrack_proto_udp.o nf_conntrack_extend.o nf_conntrack_acct.o
4nf_conntrack-$(CONFIG_NF_CONNTRACK_TIMEOUT) += nf_conntrack_timeout.o
5nf_conntrack-$(CONFIG_NF_CONNTRACK_TIMESTAMP) += nf_conntrack_timestamp.o
6nf_conntrack-$(CONFIG_NF_CONNTRACK_EVENTS) += nf_conntrack_ecache.o
7
8obj-$(CONFIG_NETFILTER) = netfilter.o
9
10obj-$(CONFIG_NETFILTER_NETLINK) += nfnetlink.o
11obj-$(CONFIG_NETFILTER_NETLINK_ACCT) += nfnetlink_acct.o
12obj-$(CONFIG_NETFILTER_NETLINK_QUEUE) += nfnetlink_queue.o
13obj-$(CONFIG_NETFILTER_NETLINK_LOG) += nfnetlink_log.o
14
15# connection tracking
16obj-$(CONFIG_NF_CONNTRACK) += nf_conntrack.o
17
18# SCTP protocol connection tracking
19obj-$(CONFIG_NF_CT_PROTO_DCCP) += nf_conntrack_proto_dccp.o
20obj-$(CONFIG_NF_CT_PROTO_GRE) += nf_conntrack_proto_gre.o
21obj-$(CONFIG_NF_CT_PROTO_SCTP) += nf_conntrack_proto_sctp.o
22obj-$(CONFIG_NF_CT_PROTO_UDPLITE) += nf_conntrack_proto_udplite.o
23
24# netlink interface for nf_conntrack
25obj-$(CONFIG_NF_CT_NETLINK) += nf_conntrack_netlink.o
26obj-$(CONFIG_NF_CT_NETLINK_TIMEOUT) += nfnetlink_cttimeout.o
27
28# connection tracking helpers
29nf_conntrack_h323-objs := nf_conntrack_h323_main.o nf_conntrack_h323_asn1.o
30
31obj-$(CONFIG_NF_CONNTRACK_AMANDA) += nf_conntrack_amanda.o
32obj-$(CONFIG_NF_CONNTRACK_FTP) += nf_conntrack_ftp.o
33obj-$(CONFIG_NF_CONNTRACK_H323) += nf_conntrack_h323.o
34obj-$(CONFIG_NF_CONNTRACK_IRC) += nf_conntrack_irc.o
35obj-$(CONFIG_NF_CONNTRACK_BROADCAST) += nf_conntrack_broadcast.o
36obj-$(CONFIG_NF_CONNTRACK_NETBIOS_NS) += nf_conntrack_netbios_ns.o
37obj-$(CONFIG_NF_CONNTRACK_SNMP) += nf_conntrack_snmp.o
38obj-$(CONFIG_NF_CONNTRACK_PPTP) += nf_conntrack_pptp.o
39obj-$(CONFIG_NF_CONNTRACK_SANE) += nf_conntrack_sane.o
40obj-$(CONFIG_NF_CONNTRACK_SIP) += nf_conntrack_sip.o
41obj-$(CONFIG_NF_CONNTRACK_TFTP) += nf_conntrack_tftp.o
42
43# transparent proxy support
44obj-$(CONFIG_NETFILTER_TPROXY) += nf_tproxy_core.o
45
46# generic X tables
47obj-$(CONFIG_NETFILTER_XTABLES) += x_tables.o xt_tcpudp.o
48
49# combos
50obj-$(CONFIG_NETFILTER_XT_MARK) += xt_mark.o
51obj-$(CONFIG_NETFILTER_XT_CONNMARK) += xt_connmark.o
52obj-$(CONFIG_NETFILTER_XT_SET) += xt_set.o
53
54# targets
55obj-$(CONFIG_NETFILTER_XT_TARGET_AUDIT) += xt_AUDIT.o
56obj-$(CONFIG_NETFILTER_XT_TARGET_CHECKSUM) += xt_CHECKSUM.o
57obj-$(CONFIG_NETFILTER_XT_TARGET_CLASSIFY) += xt_CLASSIFY.o
58obj-$(CONFIG_NETFILTER_XT_TARGET_CONNSECMARK) += xt_CONNSECMARK.o
59obj-$(CONFIG_NETFILTER_XT_TARGET_CT) += xt_CT.o
60obj-$(CONFIG_NETFILTER_XT_TARGET_DSCP) += xt_DSCP.o
61obj-$(CONFIG_NETFILTER_XT_TARGET_HL) += xt_HL.o
62obj-$(CONFIG_NETFILTER_XT_TARGET_LED) += xt_LED.o
63obj-$(CONFIG_NETFILTER_XT_TARGET_LOG) += xt_LOG.o
64obj-$(CONFIG_NETFILTER_XT_TARGET_NFLOG) += xt_NFLOG.o
65obj-$(CONFIG_NETFILTER_XT_TARGET_NFQUEUE) += xt_NFQUEUE.o
66obj-$(CONFIG_NETFILTER_XT_TARGET_NOTRACK) += xt_NOTRACK.o
67obj-$(CONFIG_NETFILTER_XT_TARGET_RATEEST) += xt_RATEEST.o
68obj-$(CONFIG_NETFILTER_XT_TARGET_SECMARK) += xt_SECMARK.o
69obj-$(CONFIG_NETFILTER_XT_TARGET_TPROXY) += xt_TPROXY.o
70obj-$(CONFIG_NETFILTER_XT_TARGET_TCPMSS) += xt_TCPMSS.o
71obj-$(CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP) += xt_TCPOPTSTRIP.o
72obj-$(CONFIG_NETFILTER_XT_TARGET_TEE) += xt_TEE.o
73obj-$(CONFIG_NETFILTER_XT_TARGET_TRACE) += xt_TRACE.o
74obj-$(CONFIG_NETFILTER_XT_TARGET_IDLETIMER) += xt_IDLETIMER.o
75
76# matches
77obj-$(CONFIG_NETFILTER_XT_MATCH_ADDRTYPE) += xt_addrtype.o
78obj-$(CONFIG_NETFILTER_XT_MATCH_CLUSTER) += xt_cluster.o
79obj-$(CONFIG_NETFILTER_XT_MATCH_COMMENT) += xt_comment.o
80obj-$(CONFIG_NETFILTER_XT_MATCH_CONNBYTES) += xt_connbytes.o
81obj-$(CONFIG_NETFILTER_XT_MATCH_CONNLIMIT) += xt_connlimit.o
82obj-$(CONFIG_NETFILTER_XT_MATCH_CONNTRACK) += xt_conntrack.o
83obj-$(CONFIG_NETFILTER_XT_MATCH_CPU) += xt_cpu.o
84obj-$(CONFIG_NETFILTER_XT_MATCH_DCCP) += xt_dccp.o
85obj-$(CONFIG_NETFILTER_XT_MATCH_DEVGROUP) += xt_devgroup.o
86obj-$(CONFIG_NETFILTER_XT_MATCH_DSCP) += xt_dscp.o
87obj-$(CONFIG_NETFILTER_XT_MATCH_ECN) += xt_ecn.o
88obj-$(CONFIG_NETFILTER_XT_MATCH_ESP) += xt_esp.o
89obj-$(CONFIG_NETFILTER_XT_MATCH_HASHLIMIT) += xt_hashlimit.o
90obj-$(CONFIG_NETFILTER_XT_MATCH_HELPER) += xt_helper.o
91obj-$(CONFIG_NETFILTER_XT_MATCH_HL) += xt_hl.o
92obj-$(CONFIG_NETFILTER_XT_MATCH_IPRANGE) += xt_iprange.o
93obj-$(CONFIG_NETFILTER_XT_MATCH_IPVS) += xt_ipvs.o
94obj-$(CONFIG_NETFILTER_XT_MATCH_LENGTH) += xt_length.o
95obj-$(CONFIG_NETFILTER_XT_MATCH_LIMIT) += xt_limit.o
96obj-$(CONFIG_NETFILTER_XT_MATCH_MAC) += xt_mac.o
97obj-$(CONFIG_NETFILTER_XT_MATCH_MULTIPORT) += xt_multiport.o
98obj-$(CONFIG_NETFILTER_XT_MATCH_NFACCT) += xt_nfacct.o
99obj-$(CONFIG_NETFILTER_XT_MATCH_OSF) += xt_osf.o
100obj-$(CONFIG_NETFILTER_XT_MATCH_OWNER) += xt_owner.o
101obj-$(CONFIG_NETFILTER_XT_MATCH_PHYSDEV) += xt_physdev.o
102obj-$(CONFIG_NETFILTER_XT_MATCH_PKTTYPE) += xt_pkttype.o
103obj-$(CONFIG_NETFILTER_XT_MATCH_POLICY) += xt_policy.o
104obj-$(CONFIG_NETFILTER_XT_MATCH_QUOTA) += xt_quota.o
105obj-$(CONFIG_NETFILTER_XT_MATCH_RATEEST) += xt_rateest.o
106obj-$(CONFIG_NETFILTER_XT_MATCH_REALM) += xt_realm.o
107obj-$(CONFIG_NETFILTER_XT_MATCH_RECENT) += xt_recent.o
108obj-$(CONFIG_NETFILTER_XT_MATCH_SCTP) += xt_sctp.o
109obj-$(CONFIG_NETFILTER_XT_MATCH_SOCKET) += xt_socket.o
110obj-$(CONFIG_NETFILTER_XT_MATCH_STATE) += xt_state.o
111obj-$(CONFIG_NETFILTER_XT_MATCH_STATISTIC) += xt_statistic.o
112obj-$(CONFIG_NETFILTER_XT_MATCH_STRING) += xt_string.o
113obj-$(CONFIG_NETFILTER_XT_MATCH_TCPMSS) += xt_tcpmss.o
114obj-$(CONFIG_NETFILTER_XT_MATCH_TIME) += xt_time.o
115obj-$(CONFIG_NETFILTER_XT_MATCH_U32) += xt_u32.o
116
117# ipset
118obj-$(CONFIG_IP_SET) += ipset/
119
120# IPVS
121obj-$(CONFIG_IP_VS) += ipvs/
122