Makefile 5.5 KB
Newer Older
1
netfilter-objs := core.o nf_log.o nf_queue.o nf_sockopt.o
2

3
nf_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
4
nf_conntrack-$(CONFIG_NF_CONNTRACK_TIMESTAMP) += nf_conntrack_timestamp.o
5
nf_conntrack-$(CONFIG_NF_CONNTRACK_EVENTS) += nf_conntrack_ecache.o
6 7 8

obj-$(CONFIG_NETFILTER) = netfilter.o

H
Harald Welte 已提交
9
obj-$(CONFIG_NETFILTER_NETLINK) += nfnetlink.o
10
obj-$(CONFIG_NETFILTER_NETLINK_ACCT) += nfnetlink_acct.o
11
obj-$(CONFIG_NETFILTER_NETLINK_QUEUE) += nfnetlink_queue.o
12
obj-$(CONFIG_NETFILTER_NETLINK_LOG) += nfnetlink_log.o
13

14
# connection tracking
15 16 17
obj-$(CONFIG_NF_CONNTRACK) += nf_conntrack.o

# SCTP protocol connection tracking
18
obj-$(CONFIG_NF_CT_PROTO_DCCP) += nf_conntrack_proto_dccp.o
19
obj-$(CONFIG_NF_CT_PROTO_GRE) += nf_conntrack_proto_gre.o
20
obj-$(CONFIG_NF_CT_PROTO_SCTP) += nf_conntrack_proto_sctp.o
21
obj-$(CONFIG_NF_CT_PROTO_UDPLITE) += nf_conntrack_proto_udplite.o
22 23 24

# netlink interface for nf_conntrack
obj-$(CONFIG_NF_CT_NETLINK) += nf_conntrack_netlink.o
25
obj-$(CONFIG_NF_CT_NETLINK_TIMEOUT) += nfnetlink_cttimeout.o
26 27

# connection tracking helpers
28 29
nf_conntrack_h323-objs := nf_conntrack_h323_main.o nf_conntrack_h323_asn1.o

30
obj-$(CONFIG_NF_CONNTRACK_AMANDA) += nf_conntrack_amanda.o
31
obj-$(CONFIG_NF_CONNTRACK_FTP) += nf_conntrack_ftp.o
32
obj-$(CONFIG_NF_CONNTRACK_H323) += nf_conntrack_h323.o
33
obj-$(CONFIG_NF_CONNTRACK_IRC) += nf_conntrack_irc.o
34
obj-$(CONFIG_NF_CONNTRACK_BROADCAST) += nf_conntrack_broadcast.o
35
obj-$(CONFIG_NF_CONNTRACK_NETBIOS_NS) += nf_conntrack_netbios_ns.o
36
obj-$(CONFIG_NF_CONNTRACK_SNMP) += nf_conntrack_snmp.o
37
obj-$(CONFIG_NF_CONNTRACK_PPTP) += nf_conntrack_pptp.o
38
obj-$(CONFIG_NF_CONNTRACK_SANE) += nf_conntrack_sane.o
39
obj-$(CONFIG_NF_CONNTRACK_SIP) += nf_conntrack_sip.o
40
obj-$(CONFIG_NF_CONNTRACK_TFTP) += nf_conntrack_tftp.o
41

K
KOVACS Krisztian 已提交
42 43 44
# transparent proxy support
obj-$(CONFIG_NETFILTER_TPROXY) += nf_tproxy_core.o

45 46 47
# generic X tables 
obj-$(CONFIG_NETFILTER_XTABLES) += x_tables.o xt_tcpudp.o

48 49
# combos
obj-$(CONFIG_NETFILTER_XT_MARK) += xt_mark.o
50
obj-$(CONFIG_NETFILTER_XT_CONNMARK) += xt_connmark.o
51
obj-$(CONFIG_NETFILTER_XT_SET) += xt_set.o
52

53
# targets
54
obj-$(CONFIG_NETFILTER_XT_TARGET_AUDIT) += xt_AUDIT.o
55
obj-$(CONFIG_NETFILTER_XT_TARGET_CHECKSUM) += xt_CHECKSUM.o
56
obj-$(CONFIG_NETFILTER_XT_TARGET_CLASSIFY) += xt_CLASSIFY.o
J
Jan Engelhardt 已提交
57
obj-$(CONFIG_NETFILTER_XT_TARGET_CONNSECMARK) += xt_CONNSECMARK.o
58
obj-$(CONFIG_NETFILTER_XT_TARGET_CT) += xt_CT.o
59
obj-$(CONFIG_NETFILTER_XT_TARGET_DSCP) += xt_DSCP.o
60
obj-$(CONFIG_NETFILTER_XT_TARGET_HL) += xt_HL.o
61
obj-$(CONFIG_NETFILTER_XT_TARGET_LED) += xt_LED.o
62
obj-$(CONFIG_NETFILTER_XT_TARGET_LOG) += xt_LOG.o
63
obj-$(CONFIG_NETFILTER_XT_TARGET_NFLOG) += xt_NFLOG.o
J
Jan Engelhardt 已提交
64
obj-$(CONFIG_NETFILTER_XT_TARGET_NFQUEUE) += xt_NFQUEUE.o
65
obj-$(CONFIG_NETFILTER_XT_TARGET_NOTRACK) += xt_NOTRACK.o
66
obj-$(CONFIG_NETFILTER_XT_TARGET_RATEEST) += xt_RATEEST.o
67
obj-$(CONFIG_NETFILTER_XT_TARGET_SECMARK) += xt_SECMARK.o
68
obj-$(CONFIG_NETFILTER_XT_TARGET_TPROXY) += xt_TPROXY.o
69
obj-$(CONFIG_NETFILTER_XT_TARGET_TCPMSS) += xt_TCPMSS.o
70
obj-$(CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP) += xt_TCPOPTSTRIP.o
71
obj-$(CONFIG_NETFILTER_XT_TARGET_TEE) += xt_TEE.o
J
Jan Engelhardt 已提交
72
obj-$(CONFIG_NETFILTER_XT_TARGET_TRACE) += xt_TRACE.o
73
obj-$(CONFIG_NETFILTER_XT_TARGET_IDLETIMER) += xt_IDLETIMER.o
74 75

# matches
76
obj-$(CONFIG_NETFILTER_XT_MATCH_ADDRTYPE) += xt_addrtype.o
77
obj-$(CONFIG_NETFILTER_XT_MATCH_CLUSTER) += xt_cluster.o
78 79
obj-$(CONFIG_NETFILTER_XT_MATCH_COMMENT) += xt_comment.o
obj-$(CONFIG_NETFILTER_XT_MATCH_CONNBYTES) += xt_connbytes.o
80
obj-$(CONFIG_NETFILTER_XT_MATCH_CONNLIMIT) += xt_connlimit.o
81
obj-$(CONFIG_NETFILTER_XT_MATCH_CONNTRACK) += xt_conntrack.o
E
Eric Dumazet 已提交
82
obj-$(CONFIG_NETFILTER_XT_MATCH_CPU) += xt_cpu.o
83
obj-$(CONFIG_NETFILTER_XT_MATCH_DCCP) += xt_dccp.o
84
obj-$(CONFIG_NETFILTER_XT_MATCH_DEVGROUP) += xt_devgroup.o
85
obj-$(CONFIG_NETFILTER_XT_MATCH_DSCP) += xt_dscp.o
86
obj-$(CONFIG_NETFILTER_XT_MATCH_ECN) += xt_ecn.o
87
obj-$(CONFIG_NETFILTER_XT_MATCH_ESP) += xt_esp.o
J
Jan Engelhardt 已提交
88
obj-$(CONFIG_NETFILTER_XT_MATCH_HASHLIMIT) += xt_hashlimit.o
89
obj-$(CONFIG_NETFILTER_XT_MATCH_HELPER) += xt_helper.o
90
obj-$(CONFIG_NETFILTER_XT_MATCH_HL) += xt_hl.o
91
obj-$(CONFIG_NETFILTER_XT_MATCH_IPRANGE) += xt_iprange.o
92
obj-$(CONFIG_NETFILTER_XT_MATCH_IPVS) += xt_ipvs.o
93 94 95
obj-$(CONFIG_NETFILTER_XT_MATCH_LENGTH) += xt_length.o
obj-$(CONFIG_NETFILTER_XT_MATCH_LIMIT) += xt_limit.o
obj-$(CONFIG_NETFILTER_XT_MATCH_MAC) += xt_mac.o
96
obj-$(CONFIG_NETFILTER_XT_MATCH_MULTIPORT) += xt_multiport.o
97
obj-$(CONFIG_NETFILTER_XT_MATCH_NFACCT) += xt_nfacct.o
98
obj-$(CONFIG_NETFILTER_XT_MATCH_OSF) += xt_osf.o
99
obj-$(CONFIG_NETFILTER_XT_MATCH_OWNER) += xt_owner.o
J
Jan Engelhardt 已提交
100
obj-$(CONFIG_NETFILTER_XT_MATCH_PHYSDEV) += xt_physdev.o
101
obj-$(CONFIG_NETFILTER_XT_MATCH_PKTTYPE) += xt_pkttype.o
J
Jan Engelhardt 已提交
102
obj-$(CONFIG_NETFILTER_XT_MATCH_POLICY) += xt_policy.o
103
obj-$(CONFIG_NETFILTER_XT_MATCH_QUOTA) += xt_quota.o
104
obj-$(CONFIG_NETFILTER_XT_MATCH_RATEEST) += xt_rateest.o
105
obj-$(CONFIG_NETFILTER_XT_MATCH_REALM) += xt_realm.o
106
obj-$(CONFIG_NETFILTER_XT_MATCH_RECENT) += xt_recent.o
107
obj-$(CONFIG_NETFILTER_XT_MATCH_SCTP) += xt_sctp.o
108
obj-$(CONFIG_NETFILTER_XT_MATCH_SOCKET) += xt_socket.o
109
obj-$(CONFIG_NETFILTER_XT_MATCH_STATE) += xt_state.o
110
obj-$(CONFIG_NETFILTER_XT_MATCH_STATISTIC) += xt_statistic.o
111 112
obj-$(CONFIG_NETFILTER_XT_MATCH_STRING) += xt_string.o
obj-$(CONFIG_NETFILTER_XT_MATCH_TCPMSS) += xt_tcpmss.o
J
Jan Engelhardt 已提交
113
obj-$(CONFIG_NETFILTER_XT_MATCH_TIME) += xt_time.o
J
Jan Engelhardt 已提交
114
obj-$(CONFIG_NETFILTER_XT_MATCH_U32) += xt_u32.o
115

116 117 118
# ipset
obj-$(CONFIG_IP_SET) += ipset/

119 120
# IPVS
obj-$(CONFIG_IP_VS) += ipvs/