1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for the Linux networking core.
6 obj-y := sock.o request_sock.o skbuff.o datagram.o stream.o scm.o \
7 gen_stats.o gen_estimator.o net_namespace.o secure_seq.o \
10 obj-$(CONFIG_SYSCTL) += sysctl_net_core.o
12 obj-y += dev.o dev_addr_lists.o dst.o netevent.o \
13 neighbour.o rtnetlink.o utils.o link_watch.o filter.o \
14 sock_diag.o dev_ioctl.o tso.o sock_reuseport.o \
15 fib_notifier.o xdp.o flow_offload.o gro.o \
16 netdev-genl.o netdev-genl-gen.o
18 obj-$(CONFIG_NETDEV_ADDR_LIST_TEST) += dev_addr_lists_test.o
21 obj-$(CONFIG_PAGE_POOL) += page_pool.o
22 obj-$(CONFIG_PROC_FS) += net-procfs.o
23 obj-$(CONFIG_NET_PKTGEN) += pktgen.o
24 obj-$(CONFIG_NETPOLL) += netpoll.o
25 obj-$(CONFIG_FIB_RULES) += fib_rules.o
26 obj-$(CONFIG_TRACEPOINTS) += net-traces.o
27 obj-$(CONFIG_NET_DROP_MONITOR) += drop_monitor.o
28 obj-$(CONFIG_NET_SELFTESTS) += selftests.o
29 obj-$(CONFIG_NETWORK_PHY_TIMESTAMPING) += timestamping.o
30 obj-$(CONFIG_NET_PTP_CLASSIFY) += ptp_classifier.o
31 obj-$(CONFIG_CGROUP_NET_PRIO) += netprio_cgroup.o
32 obj-$(CONFIG_CGROUP_NET_CLASSID) += netclassid_cgroup.o
33 obj-$(CONFIG_LWTUNNEL) += lwtunnel.o
34 obj-$(CONFIG_LWTUNNEL_BPF) += lwt_bpf.o
35 obj-$(CONFIG_DST_CACHE) += dst_cache.o
36 obj-$(CONFIG_HWBM) += hwbm.o
37 obj-$(CONFIG_GRO_CELLS) += gro_cells.o
38 obj-$(CONFIG_FAILOVER) += failover.o
39 obj-$(CONFIG_NET_SOCK_MSG) += skmsg.o
40 obj-$(CONFIG_BPF_SYSCALL) += sock_map.o
41 obj-$(CONFIG_BPF_SYSCALL) += bpf_sk_storage.o
42 obj-$(CONFIG_OF) += of_net.o