Commit | Line | Data |
---|---|---|
b2441318 | 1 | # SPDX-License-Identifier: GPL-2.0 |
1da177e4 LT |
2 | # |
3 | # Makefile for the Linux TCP/IP (INET) layer. | |
4 | # | |
5 | ||
5e43db77 | 6 | obj-y := route.o inetpeer.o protocol.o \ |
1da177e4 | 7 | ip_input.o ip_fragment.o ip_forward.o ip_options.o \ |
77d8bf9c | 8 | ip_output.o ip_sockglue.o inet_hashtables.o \ |
3f421baa | 9 | inet_timewait_sock.o inet_connection_sock.o \ |
317a76f9 | 10 | tcp.o tcp_input.o tcp_output.o tcp_timer.o tcp_ipv4.o \ |
2100c8d2 | 11 | tcp_minisocks.o tcp_cong.o tcp_metrics.o tcp_fastopen.o \ |
734942cc | 12 | tcp_rate.o tcp_recovery.o tcp_ulp.o \ |
28850dc7 | 13 | tcp_offload.o datagram.o raw.o udp.o udplite.o \ |
da5bab07 | 14 | udp_offload.o arp.o icmp.o devinet.o af_inet.o igmp.o \ |
c0243892 | 15 | fib_frontend.o fib_semantics.o fib_trie.o fib_notifier.o \ |
a919525a | 16 | inet_fragment.o ping.o ip_tunnel_core.o gre_offload.o \ |
cc4e3835 | 17 | metrics.o netlink.o nexthop.o udp_tunnel_stub.o |
1da177e4 | 18 | |
d2ba09c1 AS |
19 | obj-$(CONFIG_BPFILTER) += bpfilter/ |
20 | ||
c5441932 | 21 | obj-$(CONFIG_NET_IP_TUNNEL) += ip_tunnel.o |
9ba63979 | 22 | obj-$(CONFIG_SYSCTL) += sysctl_net_ipv4.o |
5e0f0435 | 23 | obj-$(CONFIG_PROC_FS) += proc.o |
1da177e4 LT |
24 | obj-$(CONFIG_IP_MULTIPLE_TABLES) += fib_rules.o |
25 | obj-$(CONFIG_IP_MROUTE) += ipmr.o | |
6853f21f | 26 | obj-$(CONFIG_IP_MROUTE_COMMON) += ipmr_base.o |
1da177e4 | 27 | obj-$(CONFIG_NET_IPIP) += ipip.o |
438e38fa | 28 | gre-y := gre_demux.o |
23461551 | 29 | obj-$(CONFIG_NET_FOU) += fou.o |
00959ade | 30 | obj-$(CONFIG_NET_IPGRE_DEMUX) += gre.o |
1da177e4 | 31 | obj-$(CONFIG_NET_IPGRE) += ip_gre.o |
cc4e3835 | 32 | udp_tunnel-y := udp_tunnel_core.o udp_tunnel_nic.o |
8024e028 | 33 | obj-$(CONFIG_NET_UDP_TUNNEL) += udp_tunnel.o |
1181412c | 34 | obj-$(CONFIG_NET_IPVTI) += ip_vti.o |
1da177e4 LT |
35 | obj-$(CONFIG_SYN_COOKIES) += syncookies.o |
36 | obj-$(CONFIG_INET_AH) += ah4.o | |
37 | obj-$(CONFIG_INET_ESP) += esp4.o | |
7785bba2 | 38 | obj-$(CONFIG_INET_ESP_OFFLOAD) += esp4_offload.o |
1da177e4 | 39 | obj-$(CONFIG_INET_IPCOMP) += ipcomp.o |
d2acc347 HX |
40 | obj-$(CONFIG_INET_XFRM_TUNNEL) += xfrm4_tunnel.o |
41 | obj-$(CONFIG_INET_TUNNEL) += tunnel4.o | |
1da177e4 | 42 | obj-$(CONFIG_IP_PNP) += ipconfig.o |
bb94aa16 | 43 | obj-$(CONFIG_NETFILTER) += netfilter.o netfilter/ |
e446a276 | 44 | obj-$(CONFIG_INET_DIAG) += inet_diag.o |
17b085ea | 45 | obj-$(CONFIG_INET_TCP_DIAG) += tcp_diag.o |
507dd796 | 46 | obj-$(CONFIG_INET_UDP_DIAG) += udp_diag.o |
432490f9 | 47 | obj-$(CONFIG_INET_RAW_DIAG) += raw_diag.o |
0f8782ea | 48 | obj-$(CONFIG_TCP_CONG_BBR) += tcp_bbr.o |
83803034 | 49 | obj-$(CONFIG_TCP_CONG_BIC) += tcp_bic.o |
2b0a8c9e | 50 | obj-$(CONFIG_TCP_CONG_CDG) += tcp_cdg.o |
df3271f3 | 51 | obj-$(CONFIG_TCP_CONG_CUBIC) += tcp_cubic.o |
e3118e83 | 52 | obj-$(CONFIG_TCP_CONG_DCTCP) += tcp_dctcp.o |
87270762 | 53 | obj-$(CONFIG_TCP_CONG_WESTWOOD) += tcp_westwood.o |
a628d29b | 54 | obj-$(CONFIG_TCP_CONG_HSTCP) += tcp_highspeed.o |
835b3f0c | 55 | obj-$(CONFIG_TCP_CONG_HYBLA) += tcp_hybla.o |
a7868ea6 | 56 | obj-$(CONFIG_TCP_CONG_HTCP) += tcp_htcp.o |
b87d8561 | 57 | obj-$(CONFIG_TCP_CONG_VEGAS) += tcp_vegas.o |
699fafaf | 58 | obj-$(CONFIG_TCP_CONG_NV) += tcp_nv.o |
76f10177 | 59 | obj-$(CONFIG_TCP_CONG_VENO) += tcp_veno.o |
0e57976b | 60 | obj-$(CONFIG_TCP_CONG_SCALABLE) += tcp_scalable.o |
7c106d7e | 61 | obj-$(CONFIG_TCP_CONG_LP) += tcp_lp.o |
5ef81475 | 62 | obj-$(CONFIG_TCP_CONG_YEAH) += tcp_yeah.o |
c462238d | 63 | obj-$(CONFIG_TCP_CONG_ILLINOIS) += tcp_illinois.o |
604326b4 | 64 | obj-$(CONFIG_NET_SOCK_MSG) += tcp_bpf.o |
edc6741c | 65 | obj-$(CONFIG_BPF_STREAM_PARSER) += udp_bpf.o |
446fda4f | 66 | obj-$(CONFIG_NETLABEL) += cipso_ipv4.o |
1da177e4 LT |
67 | |
68 | obj-$(CONFIG_XFRM) += xfrm4_policy.o xfrm4_state.o xfrm4_input.o \ | |
3328715e | 69 | xfrm4_output.o xfrm4_protocol.o |
0baf26b0 MKL |
70 | |
71 | ifeq ($(CONFIG_BPF_JIT),y) | |
72 | obj-$(CONFIG_BPF_SYSCALL) += bpf_tcp_ca.o | |
73 | endif |