blob: f7f16650fe9ef22f509852fb77d9cade12e5ddfb [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 networking core.
4#
5
Al Viro31a25fa2014-11-28 15:53:57 -05006obj-y := sock.o request_sock.o skbuff.o datagram.o stream.o scm.o \
Eric Dumazet0744dd02011-11-28 05:22:18 +00007 gen_stats.o gen_estimator.o net_namespace.o secure_seq.o flow_dissector.o
Linus Torvalds1da177e2005-04-16 15:20:36 -07008
9obj-$(CONFIG_SYSCTL) += sysctl_net_core.o
10
Michal Kubecek9ce48e52019-12-11 10:58:24 +010011obj-y += dev.o dev_addr_lists.o dst.o netevent.o \
Pavel Emelyanov8ef874b2011-12-06 07:59:52 +000012 neighbour.o rtnetlink.o utils.o link_watch.o filter.o \
Ido Schimmel04b1d4e2017-08-03 13:28:11 +020013 sock_diag.o dev_ioctl.o tso.o sock_reuseport.o \
Pablo Neira Ayuso8f256622019-02-02 12:50:43 +010014 fib_notifier.o xdp.o flow_offload.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070015
Eric W. Biederman8b41d182007-09-26 22:02:53 -070016obj-y += net-sysfs.o
Jesper Dangaard Brouerff7d6b22018-04-17 16:46:17 +020017obj-$(CONFIG_PAGE_POOL) += page_pool.o
Cong Wang900ff8c2013-02-18 19:20:33 +000018obj-$(CONFIG_PROC_FS) += net-procfs.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070019obj-$(CONFIG_NET_PKTGEN) += pktgen.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070020obj-$(CONFIG_NETPOLL) += netpoll.o
Thomas Graf14c0b972006-08-04 03:38:38 -070021obj-$(CONFIG_FIB_RULES) += fib_rules.o
Neil Horman4893d392009-03-11 09:48:26 +000022obj-$(CONFIG_TRACEPOINTS) += net-traces.o
Neil Horman273ae442009-03-11 09:53:16 +000023obj-$(CONFIG_NET_DROP_MONITOR) += drop_monitor.o
Oleksij Rempel4a52dd82021-04-28 15:09:46 +020024obj-$(CONFIG_NET_SELFTESTS) += selftests.o
Richard Cochranc1f19b52010-07-17 08:49:36 +000025obj-$(CONFIG_NETWORK_PHY_TIMESTAMPING) += timestamping.o
Daniel Borkmann408eccc2014-04-01 16:20:23 +020026obj-$(CONFIG_NET_PTP_CLASSIFY) += ptp_classifier.o
Daniel Borkmann86f85152013-12-29 17:27:11 +010027obj-$(CONFIG_CGROUP_NET_PRIO) += netprio_cgroup.o
Daniel Borkmannfe1217c2013-12-29 18:27:10 +010028obj-$(CONFIG_CGROUP_NET_CLASSID) += netclassid_cgroup.o
Roopa Prabhu499a2422015-07-21 10:43:46 +020029obj-$(CONFIG_LWTUNNEL) += lwtunnel.o
Thomas Graf3a0af8f2016-11-30 17:10:10 +010030obj-$(CONFIG_LWTUNNEL_BPF) += lwt_bpf.o
Paolo Abeni911362c2016-02-12 15:43:53 +010031obj-$(CONFIG_DST_CACHE) += dst_cache.o
Gregory CLEMENT8cb2d8b2016-03-14 09:39:04 +010032obj-$(CONFIG_HWBM) += hwbm.o
Jiri Pirkobfcd3a42016-02-26 17:32:23 +010033obj-$(CONFIG_NET_DEVLINK) += devlink.o
Eric Dumazet97e219b2017-02-07 15:37:15 -080034obj-$(CONFIG_GRO_CELLS) += gro_cells.o
Sridhar Samudrala30c8bd52018-05-24 09:55:13 -070035obj-$(CONFIG_FAILOVER) += failover.o
Cong Wang88759602021-02-23 10:49:26 -080036ifeq ($(CONFIG_INET),y)
37obj-$(CONFIG_NET_SOCK_MSG) += skmsg.o
38obj-$(CONFIG_BPF_SYSCALL) += sock_map.o
39endif
Martin KaFai Lau6ac99e82019-04-26 16:39:39 -070040obj-$(CONFIG_BPF_SYSCALL) += bpf_sk_storage.o