blob: d57ecfaf89d48c73f00bf7f2a151365648c1001c [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#
3# Makefile for the Linux TCP/IP (INET) layer.
4#
5
Matt Mackall5e43db72005-07-27 15:24:42 -07006obj-y := route.o inetpeer.o protocol.o \
Linus Torvalds1da177e2005-04-16 15:20:36 -07007 ip_input.o ip_fragment.o ip_forward.o ip_options.o \
Arnaldo Carvalho de Melo77d8bf92005-08-09 20:00:51 -07008 ip_output.o ip_sockglue.o inet_hashtables.o \
Arnaldo Carvalho de Melo3f421ba2005-08-09 20:11:08 -07009 inet_timewait_sock.o inet_connection_sock.o \
Stephen Hemminger317a76f2005-06-23 12:19:55 -070010 tcp.o tcp_input.o tcp_output.o tcp_timer.o tcp_ipv4.o \
Yuchung Cheng2100c8d2012-07-19 06:43:05 +000011 tcp_minisocks.o tcp_cong.o tcp_metrics.o tcp_fastopen.o \
Dave Watson734942c2017-06-14 11:37:14 -070012 tcp_rate.o tcp_recovery.o tcp_ulp.o \
Daniel Borkmann28850dc2013-06-07 05:11:46 +000013 tcp_offload.o datagram.o raw.o udp.o udplite.o \
Daniel Borkmannda5bab02013-06-08 12:56:03 +020014 udp_offload.o arp.o icmp.o devinet.o af_inet.o igmp.o \
Ido Schimmelc0243892017-03-10 08:56:18 +010015 fib_frontend.o fib_semantics.o fib_trie.o fib_notifier.o \
David Aherna9195252018-04-17 17:33:07 -070016 inet_fragment.o ping.o ip_tunnel_core.o gre_offload.o \
David Ahernab84be72019-05-24 14:43:04 -070017 metrics.o netlink.o nexthop.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070018
Alexei Starovoitovd2ba09c2018-05-21 19:22:30 -070019obj-$(CONFIG_BPFILTER) += bpfilter/
20
Pravin B Shelarc5441932013-03-25 14:49:35 +000021obj-$(CONFIG_NET_IP_TUNNEL) += ip_tunnel.o
Pavel Emelyanov9ba63972007-12-05 01:38:23 -080022obj-$(CONFIG_SYSCTL) += sysctl_net_ipv4.o
Herbert Xu5e0f0432007-04-24 21:53:35 -070023obj-$(CONFIG_PROC_FS) += proc.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070024obj-$(CONFIG_IP_MULTIPLE_TABLES) += fib_rules.o
25obj-$(CONFIG_IP_MROUTE) += ipmr.o
Yuval Mintz6853f212018-02-28 23:29:29 +020026obj-$(CONFIG_IP_MROUTE_COMMON) += ipmr_base.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070027obj-$(CONFIG_NET_IPIP) += ipip.o
Eric Dumazet438e38f2014-01-06 14:03:07 -080028gre-y := gre_demux.o
Tom Herbert234615512014-09-17 12:25:56 -070029obj-$(CONFIG_NET_FOU) += fou.o
Dmitry Kozlov00959ad2010-08-21 23:05:39 -070030obj-$(CONFIG_NET_IPGRE_DEMUX) += gre.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070031obj-$(CONFIG_NET_IPGRE) += ip_gre.o
Tom Herbert8024e022014-07-13 19:49:37 -070032obj-$(CONFIG_NET_UDP_TUNNEL) += udp_tunnel.o
Saurabh11814122012-07-17 09:44:54 +000033obj-$(CONFIG_NET_IPVTI) += ip_vti.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070034obj-$(CONFIG_SYN_COOKIES) += syncookies.o
35obj-$(CONFIG_INET_AH) += ah4.o
36obj-$(CONFIG_INET_ESP) += esp4.o
Steffen Klassert7785bba2017-02-15 09:40:00 +010037obj-$(CONFIG_INET_ESP_OFFLOAD) += esp4_offload.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070038obj-$(CONFIG_INET_IPCOMP) += ipcomp.o
Herbert Xud2acc342006-03-28 01:12:13 -080039obj-$(CONFIG_INET_XFRM_TUNNEL) += xfrm4_tunnel.o
40obj-$(CONFIG_INET_TUNNEL) += tunnel4.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070041obj-$(CONFIG_IP_PNP) += ipconfig.o
Patrick McHardybb94aa12006-01-09 16:43:13 -080042obj-$(CONFIG_NETFILTER) += netfilter.o netfilter/
Stephen Hemmingere446a272018-07-24 12:29:18 -070043obj-$(CONFIG_INET_DIAG) += inet_diag.o
Arnaldo Carvalho de Melo17b085e2005-08-12 12:59:17 -030044obj-$(CONFIG_INET_TCP_DIAG) += tcp_diag.o
Pavel Emelyanov507dd792011-12-09 06:24:36 +000045obj-$(CONFIG_INET_UDP_DIAG) += udp_diag.o
Cyrill Gorcunov432490f2016-10-21 13:03:44 +030046obj-$(CONFIG_INET_RAW_DIAG) += raw_diag.o
Neal Cardwell0f8782e2016-09-19 23:39:23 -040047obj-$(CONFIG_TCP_CONG_BBR) += tcp_bbr.o
Stephen Hemminger83803032005-06-23 12:23:25 -070048obj-$(CONFIG_TCP_CONG_BIC) += tcp_bic.o
Kenneth Klette Jonassen2b0a8c92015-06-10 19:08:17 +020049obj-$(CONFIG_TCP_CONG_CDG) += tcp_cdg.o
Stephen Hemmingerdf3271f2005-12-13 23:13:28 -080050obj-$(CONFIG_TCP_CONG_CUBIC) += tcp_cubic.o
Daniel Borkmanne3118e82014-09-26 22:37:36 +020051obj-$(CONFIG_TCP_CONG_DCTCP) += tcp_dctcp.o
Stephen Hemminger87270762005-06-23 12:24:09 -070052obj-$(CONFIG_TCP_CONG_WESTWOOD) += tcp_westwood.o
John Heffnera628d292005-06-23 12:24:58 -070053obj-$(CONFIG_TCP_CONG_HSTCP) += tcp_highspeed.o
Daniele Lacamera835b3f02005-06-23 12:26:34 -070054obj-$(CONFIG_TCP_CONG_HYBLA) += tcp_hybla.o
Baruch Evena7868ea2005-06-23 12:28:11 -070055obj-$(CONFIG_TCP_CONG_HTCP) += tcp_htcp.o
Stephen Hemmingerb87d8562005-06-23 12:27:19 -070056obj-$(CONFIG_TCP_CONG_VEGAS) += tcp_vegas.o
Lawrence Brakmo699fafa2016-06-08 21:16:45 -070057obj-$(CONFIG_TCP_CONG_NV) += tcp_nv.o
Bin Zhou76f10172006-06-05 17:28:30 -070058obj-$(CONFIG_TCP_CONG_VENO) += tcp_veno.o
John Heffner0e579762005-06-23 12:29:07 -070059obj-$(CONFIG_TCP_CONG_SCALABLE) += tcp_scalable.o
Wong Hoi Sing Edison7c106d72006-06-05 17:27:58 -070060obj-$(CONFIG_TCP_CONG_LP) += tcp_lp.o
Angelo P. Castellani5ef81472007-02-22 00:23:05 -080061obj-$(CONFIG_TCP_CONG_YEAH) += tcp_yeah.o
Stephen Hemmingerc4622382007-04-20 17:07:51 -070062obj-$(CONFIG_TCP_CONG_ILLINOIS) += tcp_illinois.o
Daniel Borkmann604326b2018-10-13 02:45:58 +020063obj-$(CONFIG_NET_SOCK_MSG) += tcp_bpf.o
Paul Moore446fda42006-08-03 16:48:06 -070064obj-$(CONFIG_NETLABEL) += cipso_ipv4.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070065
66obj-$(CONFIG_XFRM) += xfrm4_policy.o xfrm4_state.o xfrm4_input.o \
Steffen Klassert33287152014-02-21 08:41:08 +010067 xfrm4_output.o xfrm4_protocol.o