Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | # |
| 3 | # Makefile for the Linux networking core. |
| 4 | # |
| 5 | |
Al Viro | 31a25fa | 2014-11-28 15:53:57 -0500 | [diff] [blame] | 6 | obj-y := sock.o request_sock.o skbuff.o datagram.o stream.o scm.o \ |
Eric Dumazet | 0744dd0 | 2011-11-28 05:22:18 +0000 | [diff] [blame] | 7 | gen_stats.o gen_estimator.o net_namespace.o secure_seq.o flow_dissector.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | |
| 9 | obj-$(CONFIG_SYSCTL) += sysctl_net_core.o |
| 10 | |
Michal Kubecek | 9ce48e5 | 2019-12-11 10:58:24 +0100 | [diff] [blame] | 11 | obj-y += dev.o dev_addr_lists.o dst.o netevent.o \ |
Pavel Emelyanov | 8ef874b | 2011-12-06 07:59:52 +0000 | [diff] [blame] | 12 | neighbour.o rtnetlink.o utils.o link_watch.o filter.o \ |
Ido Schimmel | 04b1d4e | 2017-08-03 13:28:11 +0200 | [diff] [blame] | 13 | sock_diag.o dev_ioctl.o tso.o sock_reuseport.o \ |
Pablo Neira Ayuso | 8f25662 | 2019-02-02 12:50:43 +0100 | [diff] [blame] | 14 | fib_notifier.o xdp.o flow_offload.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | |
Eric W. Biederman | 8b41d18 | 2007-09-26 22:02:53 -0700 | [diff] [blame] | 16 | obj-y += net-sysfs.o |
Jesper Dangaard Brouer | ff7d6b2 | 2018-04-17 16:46:17 +0200 | [diff] [blame] | 17 | obj-$(CONFIG_PAGE_POOL) += page_pool.o |
Cong Wang | 900ff8c | 2013-02-18 19:20:33 +0000 | [diff] [blame] | 18 | obj-$(CONFIG_PROC_FS) += net-procfs.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | obj-$(CONFIG_NET_PKTGEN) += pktgen.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 20 | obj-$(CONFIG_NETPOLL) += netpoll.o |
Thomas Graf | 14c0b97 | 2006-08-04 03:38:38 -0700 | [diff] [blame] | 21 | obj-$(CONFIG_FIB_RULES) += fib_rules.o |
Neil Horman | 4893d39 | 2009-03-11 09:48:26 +0000 | [diff] [blame] | 22 | obj-$(CONFIG_TRACEPOINTS) += net-traces.o |
Neil Horman | 273ae44 | 2009-03-11 09:53:16 +0000 | [diff] [blame] | 23 | obj-$(CONFIG_NET_DROP_MONITOR) += drop_monitor.o |
Oleksij Rempel | 4a52dd8 | 2021-04-28 15:09:46 +0200 | [diff] [blame] | 24 | obj-$(CONFIG_NET_SELFTESTS) += selftests.o |
Richard Cochran | c1f19b5 | 2010-07-17 08:49:36 +0000 | [diff] [blame] | 25 | obj-$(CONFIG_NETWORK_PHY_TIMESTAMPING) += timestamping.o |
Daniel Borkmann | 408eccc | 2014-04-01 16:20:23 +0200 | [diff] [blame] | 26 | obj-$(CONFIG_NET_PTP_CLASSIFY) += ptp_classifier.o |
Daniel Borkmann | 86f8515 | 2013-12-29 17:27:11 +0100 | [diff] [blame] | 27 | obj-$(CONFIG_CGROUP_NET_PRIO) += netprio_cgroup.o |
Daniel Borkmann | fe1217c | 2013-12-29 18:27:10 +0100 | [diff] [blame] | 28 | obj-$(CONFIG_CGROUP_NET_CLASSID) += netclassid_cgroup.o |
Roopa Prabhu | 499a242 | 2015-07-21 10:43:46 +0200 | [diff] [blame] | 29 | obj-$(CONFIG_LWTUNNEL) += lwtunnel.o |
Thomas Graf | 3a0af8f | 2016-11-30 17:10:10 +0100 | [diff] [blame] | 30 | obj-$(CONFIG_LWTUNNEL_BPF) += lwt_bpf.o |
Paolo Abeni | 911362c | 2016-02-12 15:43:53 +0100 | [diff] [blame] | 31 | obj-$(CONFIG_DST_CACHE) += dst_cache.o |
Gregory CLEMENT | 8cb2d8b | 2016-03-14 09:39:04 +0100 | [diff] [blame] | 32 | obj-$(CONFIG_HWBM) += hwbm.o |
Jiri Pirko | bfcd3a4 | 2016-02-26 17:32:23 +0100 | [diff] [blame] | 33 | obj-$(CONFIG_NET_DEVLINK) += devlink.o |
Eric Dumazet | 97e219b | 2017-02-07 15:37:15 -0800 | [diff] [blame] | 34 | obj-$(CONFIG_GRO_CELLS) += gro_cells.o |
Sridhar Samudrala | 30c8bd5 | 2018-05-24 09:55:13 -0700 | [diff] [blame] | 35 | obj-$(CONFIG_FAILOVER) += failover.o |
Cong Wang | 8875960 | 2021-02-23 10:49:26 -0800 | [diff] [blame] | 36 | ifeq ($(CONFIG_INET),y) |
| 37 | obj-$(CONFIG_NET_SOCK_MSG) += skmsg.o |
| 38 | obj-$(CONFIG_BPF_SYSCALL) += sock_map.o |
| 39 | endif |
Martin KaFai Lau | 6ac99e8 | 2019-04-26 16:39:39 -0700 | [diff] [blame] | 40 | obj-$(CONFIG_BPF_SYSCALL) += bpf_sk_storage.o |