Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the netfilter modules on top of IPv4. |
| 3 | # |
| 4 | |
Patrick McHardy | c72c6b2 | 2007-01-26 01:06:47 -0800 | [diff] [blame] | 5 | # objects for l3 independent conntrack |
| 6 | nf_conntrack_ipv4-objs := nf_conntrack_l3proto_ipv4.o nf_conntrack_proto_icmp.o |
| 7 | ifeq ($(CONFIG_NF_CONNTRACK_PROC_COMPAT),y) |
| 8 | ifeq ($(CONFIG_PROC_FS),y) |
| 9 | nf_conntrack_ipv4-objs += nf_conntrack_l3proto_ipv4_compat.o |
| 10 | endif |
| 11 | endif |
| 12 | |
Patrick McHardy | 937e0df | 2008-03-20 15:15:47 +0100 | [diff] [blame] | 13 | nf_nat-objs := nf_nat_core.o nf_nat_helper.o nf_nat_proto_unknown.o nf_nat_proto_common.o nf_nat_proto_tcp.o nf_nat_proto_udp.o nf_nat_proto_icmp.o |
Jozsef Kadlecsik | 5b1158e | 2006-12-02 22:07:13 -0800 | [diff] [blame] | 14 | iptable_nat-objs := nf_nat_rule.o nf_nat_standalone.o |
Jing Min Zhao | 5e35941d | 2006-03-20 23:41:17 -0800 | [diff] [blame] | 15 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | # connection tracking |
Patrick McHardy | c72c6b2 | 2007-01-26 01:06:47 -0800 | [diff] [blame] | 17 | obj-$(CONFIG_NF_CONNTRACK_IPV4) += nf_conntrack_ipv4.o |
| 18 | |
Jozsef Kadlecsik | 5b1158e | 2006-12-02 22:07:13 -0800 | [diff] [blame] | 19 | obj-$(CONFIG_NF_NAT) += nf_nat.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 20 | |
KOVACS Krisztian | 73e4022 | 2008-10-08 11:35:12 +0200 | [diff] [blame] | 21 | # defrag |
| 22 | obj-$(CONFIG_NF_DEFRAG_IPV4) += nf_defrag_ipv4.o |
| 23 | |
Jozsef Kadlecsik | 55a7332 | 2006-12-02 22:07:44 -0800 | [diff] [blame] | 24 | # NAT helpers (nf_conntrack) |
Patrick McHardy | 1695890 | 2006-12-02 22:08:26 -0800 | [diff] [blame] | 25 | obj-$(CONFIG_NF_NAT_AMANDA) += nf_nat_amanda.o |
Jozsef Kadlecsik | 55a7332 | 2006-12-02 22:07:44 -0800 | [diff] [blame] | 26 | obj-$(CONFIG_NF_NAT_FTP) += nf_nat_ftp.o |
Patrick McHardy | f587de0 | 2006-12-02 22:08:46 -0800 | [diff] [blame] | 27 | obj-$(CONFIG_NF_NAT_H323) += nf_nat_h323.o |
Patrick McHardy | 869f37d | 2006-12-02 22:09:06 -0800 | [diff] [blame] | 28 | obj-$(CONFIG_NF_NAT_IRC) += nf_nat_irc.o |
Patrick McHardy | f09943f | 2006-12-02 22:09:41 -0800 | [diff] [blame] | 29 | obj-$(CONFIG_NF_NAT_PPTP) += nf_nat_pptp.o |
Patrick McHardy | 9fafcd7 | 2006-12-02 22:09:57 -0800 | [diff] [blame] | 30 | obj-$(CONFIG_NF_NAT_SIP) += nf_nat_sip.o |
Patrick McHardy | 807467c | 2006-12-02 22:10:34 -0800 | [diff] [blame] | 31 | obj-$(CONFIG_NF_NAT_SNMP_BASIC) += nf_nat_snmp_basic.o |
Patrick McHardy | a536df3 | 2006-12-02 22:10:18 -0800 | [diff] [blame] | 32 | obj-$(CONFIG_NF_NAT_TFTP) += nf_nat_tftp.o |
Patrick McHardy | f09943f | 2006-12-02 22:09:41 -0800 | [diff] [blame] | 33 | |
| 34 | # NAT protocols (nf_nat) |
Patrick McHardy | 4910a08 | 2008-03-20 15:15:57 +0100 | [diff] [blame] | 35 | obj-$(CONFIG_NF_NAT_PROTO_DCCP) += nf_nat_proto_dccp.o |
Patrick McHardy | f09943f | 2006-12-02 22:09:41 -0800 | [diff] [blame] | 36 | obj-$(CONFIG_NF_NAT_PROTO_GRE) += nf_nat_proto_gre.o |
Patrick McHardy | 6185f87 | 2008-03-20 15:15:51 +0100 | [diff] [blame] | 37 | obj-$(CONFIG_NF_NAT_PROTO_UDPLITE) += nf_nat_proto_udplite.o |
Patrick McHardy | 9d908a6 | 2008-04-14 11:15:50 +0200 | [diff] [blame] | 38 | obj-$(CONFIG_NF_NAT_PROTO_SCTP) += nf_nat_proto_sctp.o |
Jozsef Kadlecsik | 55a7332 | 2006-12-02 22:07:44 -0800 | [diff] [blame] | 39 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 40 | # generic IP tables |
| 41 | obj-$(CONFIG_IP_NF_IPTABLES) += ip_tables.o |
| 42 | |
| 43 | # the three instances of ip_tables |
| 44 | obj-$(CONFIG_IP_NF_FILTER) += iptable_filter.o |
| 45 | obj-$(CONFIG_IP_NF_MANGLE) += iptable_mangle.o |
Jozsef Kadlecsik | 5b1158e | 2006-12-02 22:07:13 -0800 | [diff] [blame] | 46 | obj-$(CONFIG_NF_NAT) += iptable_nat.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 47 | obj-$(CONFIG_IP_NF_RAW) += iptable_raw.o |
James Morris | 560ee65 | 2008-06-09 15:57:24 -0700 | [diff] [blame] | 48 | obj-$(CONFIG_IP_NF_SECURITY) += iptable_security.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 49 | |
| 50 | # matches |
Jan Engelhardt | 0795c65 | 2007-11-05 20:42:54 -0800 | [diff] [blame] | 51 | obj-$(CONFIG_IP_NF_MATCH_ADDRTYPE) += ipt_addrtype.o |
| 52 | obj-$(CONFIG_IP_NF_MATCH_AH) += ipt_ah.o |
| 53 | obj-$(CONFIG_IP_NF_MATCH_ECN) += ipt_ecn.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 54 | |
| 55 | # targets |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 56 | obj-$(CONFIG_IP_NF_TARGET_CLUSTERIP) += ipt_CLUSTERIP.o |
Jan Engelhardt | 0795c65 | 2007-11-05 20:42:54 -0800 | [diff] [blame] | 57 | obj-$(CONFIG_IP_NF_TARGET_ECN) += ipt_ECN.o |
| 58 | obj-$(CONFIG_IP_NF_TARGET_LOG) += ipt_LOG.o |
| 59 | obj-$(CONFIG_IP_NF_TARGET_MASQUERADE) += ipt_MASQUERADE.o |
| 60 | obj-$(CONFIG_IP_NF_TARGET_NETMAP) += ipt_NETMAP.o |
| 61 | obj-$(CONFIG_IP_NF_TARGET_REDIRECT) += ipt_REDIRECT.o |
| 62 | obj-$(CONFIG_IP_NF_TARGET_REJECT) += ipt_REJECT.o |
Jan Engelhardt | 0795c65 | 2007-11-05 20:42:54 -0800 | [diff] [blame] | 63 | obj-$(CONFIG_IP_NF_TARGET_ULOG) += ipt_ULOG.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 64 | |
| 65 | # generic ARP tables |
| 66 | obj-$(CONFIG_IP_NF_ARPTABLES) += arp_tables.o |
| 67 | obj-$(CONFIG_IP_NF_ARP_MANGLE) += arpt_mangle.o |
| 68 | |
| 69 | # just filtering instance of ARP tables for now |
| 70 | obj-$(CONFIG_IP_NF_ARPFILTER) += arptable_filter.o |
| 71 | |
| 72 | obj-$(CONFIG_IP_NF_QUEUE) += ip_queue.o |
Yasuyuki Kozakai | 9fb9cbb | 2005-11-09 16:38:16 -0800 | [diff] [blame] | 73 | |