You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2024/09/11 17:08:17 UTC
(nuttx) branch master updated: net: migrate to SPDX identifier
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 67d02a45eb net: migrate to SPDX identifier
67d02a45eb is described below
commit 67d02a45eb5180ca4b39a9fe8e0a33d5a099ca72
Author: Alin Jerpelea <al...@sony.com>
AuthorDate: Wed Sep 11 14:39:39 2024 +0200
net: migrate to SPDX identifier
Most tools used for compliance and SBOM generation use SPDX identifiers
This change brings us a step closer to an easy SBOM generation.
Signed-off-by: Alin Jerpelea <al...@sony.com>
---
net/CMakeLists.txt | 2 ++
net/Makefile | 2 ++
net/arp/CMakeLists.txt | 2 ++
net/arp/Make.defs | 2 ++
net/arp/arp.h | 2 ++
net/arp/arp_acd.c | 2 ++
net/arp/arp_dump.c | 2 ++
net/arp/arp_format.c | 2 ++
net/arp/arp_input.c | 2 ++
net/arp/arp_ipin.c | 2 ++
net/arp/arp_notify.c | 2 ++
net/arp/arp_out.c | 2 ++
net/arp/arp_poll.c | 2 ++
net/arp/arp_send.c | 2 ++
net/arp/arp_table.c | 3 ++-
net/bluetooth/CMakeLists.txt | 2 ++
net/bluetooth/Make.defs | 2 ++
net/bluetooth/bluetooth.h | 2 ++
net/bluetooth/bluetooth_callback.c | 2 ++
net/bluetooth/bluetooth_conn.c | 2 ++
net/bluetooth/bluetooth_container.c | 2 ++
net/bluetooth/bluetooth_finddev.c | 2 ++
net/bluetooth/bluetooth_initialize.c | 2 ++
net/bluetooth/bluetooth_input.c | 2 ++
net/bluetooth/bluetooth_poll.c | 2 ++
net/bluetooth/bluetooth_recvmsg.c | 2 ++
net/bluetooth/bluetooth_sendmsg.c | 2 ++
net/bluetooth/bluetooth_sockif.c | 2 ++
net/can/CMakeLists.txt | 2 ++
net/can/Make.defs | 2 ++
net/can/can.h | 2 ++
net/can/can_callback.c | 2 ++
net/can/can_conn.c | 2 ++
net/can/can_getsockopt.c | 2 ++
net/can/can_input.c | 3 ++-
net/can/can_notifier.c | 2 ++
net/can/can_poll.c | 3 ++-
net/can/can_recvmsg.c | 2 ++
net/can/can_sendmsg.c | 2 ++
net/can/can_setsockopt.c | 2 ++
net/can/can_sockif.c | 2 ++
net/devif/CMakeLists.txt | 2 ++
net/devif/Make.defs | 2 ++
net/devif/devif.h | 2 ++
net/devif/devif_callback.c | 2 ++
net/devif/devif_filesend.c | 2 ++
net/devif/devif_forward.c | 2 ++
net/devif/devif_initialize.c | 2 ++
net/devif/devif_iobsend.c | 2 ++
net/devif/devif_loopback.c | 2 ++
net/devif/devif_poll.c | 2 ++
net/devif/devif_send.c | 2 ++
net/devif/ipv4_input.c | 3 ++-
net/devif/ipv6_input.c | 3 ++-
net/icmp/CMakeLists.txt | 2 ++
net/icmp/Make.defs | 2 ++
net/icmp/icmp.h | 2 ++
net/icmp/icmp_conn.c | 2 ++
net/icmp/icmp_input.c | 3 ++-
net/icmp/icmp_ioctl.c | 2 ++
net/icmp/icmp_netpoll.c | 2 ++
net/icmp/icmp_pmtu.c | 2 ++
net/icmp/icmp_poll.c | 2 ++
net/icmp/icmp_recvmsg.c | 2 ++
net/icmp/icmp_reply.c | 2 ++
net/icmp/icmp_sendmsg.c | 2 ++
net/icmp/icmp_sockif.c | 2 ++
net/icmpv6/CMakeLists.txt | 2 ++
net/icmpv6/Make.defs | 2 ++
net/icmpv6/icmpv6.h | 2 ++
net/icmpv6/icmpv6_advertise.c | 3 ++-
net/icmpv6/icmpv6_autoconfig.c | 2 ++
net/icmpv6/icmpv6_conn.c | 2 ++
net/icmpv6/icmpv6_initialize.c | 3 ++-
net/icmpv6/icmpv6_input.c | 3 ++-
net/icmpv6/icmpv6_ioctl.c | 2 ++
net/icmpv6/icmpv6_linkipaddr.c | 2 ++
net/icmpv6/icmpv6_neighbor.c | 2 ++
net/icmpv6/icmpv6_netpoll.c | 2 ++
net/icmpv6/icmpv6_notify.c | 2 ++
net/icmpv6/icmpv6_pmtu.c | 2 ++
net/icmpv6/icmpv6_poll.c | 2 ++
net/icmpv6/icmpv6_radvertise.c | 3 ++-
net/icmpv6/icmpv6_recvmsg.c | 2 ++
net/icmpv6/icmpv6_reply.c | 2 ++
net/icmpv6/icmpv6_rnotify.c | 2 ++
net/icmpv6/icmpv6_rsolicit.c | 2 ++
net/icmpv6/icmpv6_sendmsg.c | 2 ++
net/icmpv6/icmpv6_sockif.c | 2 ++
net/icmpv6/icmpv6_solicit.c | 2 ++
net/ieee802154/CMakeLists.txt | 2 ++
net/ieee802154/Make.defs | 2 ++
net/ieee802154/ieee802154.h | 2 ++
net/ieee802154/ieee802154_callback.c | 3 ++-
net/ieee802154/ieee802154_conn.c | 2 ++
net/ieee802154/ieee802154_container.c | 2 ++
net/ieee802154/ieee802154_finddev.c | 2 ++
net/ieee802154/ieee802154_initialize.c | 2 ++
net/ieee802154/ieee802154_input.c | 3 ++-
net/ieee802154/ieee802154_poll.c | 3 ++-
net/ieee802154/ieee802154_recvmsg.c | 2 ++
net/ieee802154/ieee802154_sendmsg.c | 2 ++
net/ieee802154/ieee802154_sockif.c | 2 ++
net/igmp/CMakeLists.txt | 2 ++
net/igmp/Make.defs | 2 ++
net/igmp/igmp.h | 2 ++
net/igmp/igmp_group.c | 3 ++-
net/igmp/igmp_initialize.c | 3 ++-
net/igmp/igmp_input.c | 2 ++
net/igmp/igmp_join.c | 2 ++
net/igmp/igmp_leave.c | 2 ++
net/igmp/igmp_mcastmac.c | 2 ++
net/igmp/igmp_msg.c | 2 ++
net/igmp/igmp_poll.c | 2 ++
net/igmp/igmp_send.c | 2 ++
net/igmp/igmp_timer.c | 2 ++
net/inet/CMakeLists.txt | 2 ++
net/inet/Make.defs | 2 ++
net/inet/inet.h | 2 ++
net/inet/inet_globals.c | 2 ++
net/inet/inet_sockif.c | 2 ++
net/inet/inet_txdrain.c | 2 ++
net/inet/ipv4_build_header.c | 2 ++
net/inet/ipv4_getpeername.c | 2 ++
net/inet/ipv4_getsockname.c | 2 ++
net/inet/ipv4_getsockopt.c | 2 ++
net/inet/ipv4_setsockopt.c | 2 ++
net/inet/ipv6_build_header.c | 2 ++
net/inet/ipv6_getpeername.c | 2 ++
net/inet/ipv6_getsockname.c | 2 ++
net/inet/ipv6_getsockopt.c | 2 ++
net/inet/ipv6_setsockopt.c | 2 ++
net/ipfilter/CMakeLists.txt | 2 ++
net/ipfilter/Make.defs | 2 ++
net/ipfilter/ipfilter.c | 2 ++
net/ipfilter/ipfilter.h | 2 ++
net/ipforward/CMakeLists.txt | 2 ++
net/ipforward/Make.defs | 2 ++
net/ipforward/ipforward.h | 2 ++
net/ipforward/ipfwd_alloc.c | 2 ++
net/ipforward/ipfwd_dropstats.c | 2 ++
net/ipforward/ipfwd_forward.c | 2 ++
net/ipforward/ipfwd_poll.c | 2 ++
net/ipforward/ipv4_forward.c | 2 ++
net/ipforward/ipv6_forward.c | 2 ++
net/ipfrag/CMakeLists.txt | 2 ++
net/ipfrag/Make.defs | 2 ++
net/ipfrag/ipfrag.c | 3 ++-
net/ipfrag/ipfrag.h | 2 ++
net/ipfrag/ipv4_frag.c | 3 ++-
net/ipfrag/ipv6_frag.c | 3 ++-
net/local/CMakeLists.txt | 2 ++
net/local/Make.defs | 2 ++
net/local/local.h | 2 ++
net/local/local_accept.c | 2 ++
net/local/local_bind.c | 2 ++
net/local/local_conn.c | 2 ++
net/local/local_connect.c | 2 ++
net/local/local_fifo.c | 2 ++
net/local/local_listen.c | 2 ++
net/local/local_netpoll.c | 2 ++
net/local/local_recvmsg.c | 2 ++
net/local/local_recvutils.c | 2 ++
net/local/local_release.c | 2 ++
net/local/local_sendmsg.c | 2 ++
net/local/local_sendpacket.c | 2 ++
net/local/local_sockif.c | 2 ++
net/mld/CMakeLists.txt | 2 ++
net/mld/Make.defs | 2 ++
net/mld/mld.h | 3 ++-
net/mld/mld_done.c | 2 ++
net/mld/mld_group.c | 2 ++
net/mld/mld_initialize.c | 3 ++-
net/mld/mld_join.c | 2 ++
net/mld/mld_leave.c | 2 ++
net/mld/mld_mcastmac.c | 2 ++
net/mld/mld_msg.c | 2 ++
net/mld/mld_poll.c | 2 ++
net/mld/mld_query.c | 2 ++
net/mld/mld_report.c | 2 ++
net/mld/mld_send.c | 2 ++
net/mld/mld_timer.c | 2 ++
net/nat/CMakeLists.txt | 2 ++
net/nat/Make.defs | 2 ++
net/nat/ipv4_nat.c | 2 ++
net/nat/ipv4_nat_entry.c | 2 ++
net/nat/ipv6_nat.c | 2 ++
net/nat/ipv6_nat_entry.c | 2 ++
net/nat/nat.c | 2 ++
net/nat/nat.h | 2 ++
net/neighbor/CMakeLists.txt | 2 ++
net/neighbor/Make.defs | 2 ++
net/neighbor/neighbor.h | 3 ++-
net/neighbor/neighbor_add.c | 2 ++
net/neighbor/neighbor_dumpentry.c | 2 ++
net/neighbor/neighbor_ethernet_out.c | 2 ++
net/neighbor/neighbor_findentry.c | 2 ++
net/neighbor/neighbor_globals.c | 2 ++
net/neighbor/neighbor_lookup.c | 2 ++
net/neighbor/neighbor_out.c | 2 ++
net/neighbor/neighbor_snapshot.c | 2 ++
net/neighbor/neighbor_update.c | 2 ++
net/net_initialize.c | 2 ++
net/netdev/CMakeLists.txt | 2 ++
net/netdev/Make.defs | 2 ++
net/netdev/netdev.h | 2 ++
net/netdev/netdev_carrier.c | 2 ++
net/netdev/netdev_count.c | 2 ++
net/netdev/netdev_default.c | 2 ++
net/netdev/netdev_findbyaddr.c | 2 ++
net/netdev/netdev_findbyindex.c | 2 ++
net/netdev/netdev_findbyname.c | 2 ++
net/netdev/netdev_foreach.c | 2 ++
net/netdev/netdev_ifconf.c | 2 ++
net/netdev/netdev_input.c | 2 ++
net/netdev/netdev_iob.c | 2 ++
net/netdev/netdev_ioctl.c | 2 ++
net/netdev/netdev_ipv6.c | 2 ++
net/netdev/netdev_lladdrsize.c | 2 ++
net/netdev/netdev_notify_recvcpu.c | 2 ++
net/netdev/netdev_register.c | 2 ++
net/netdev/netdev_stats.c | 2 ++
net/netdev/netdev_txnotify.c | 2 ++
net/netdev/netdev_unregister.c | 2 ++
net/netdev/netdev_verify.c | 2 ++
net/netdev/netdown_notifier.c | 2 ++
net/netfilter/CMakeLists.txt | 2 ++
net/netfilter/Make.defs | 2 ++
net/netfilter/ip6t_sockopt.c | 2 ++
net/netfilter/ipt_filter.c | 2 ++
net/netfilter/ipt_nat.c | 2 ++
net/netfilter/ipt_sockopt.c | 2 ++
net/netfilter/iptables.h | 2 ++
net/netlink/CMakeLists.txt | 2 ++
net/netlink/Make.defs | 2 ++
net/netlink/netlink.h | 2 ++
net/netlink/netlink_attr.c | 2 ++
net/netlink/netlink_conn.c | 2 ++
net/netlink/netlink_netfilter.c | 2 ++
net/netlink/netlink_notifier.c | 2 ++
net/netlink/netlink_route.c | 2 ++
net/netlink/netlink_sockif.c | 2 ++
net/pkt/CMakeLists.txt | 2 ++
net/pkt/Make.defs | 2 ++
net/pkt/pkt.h | 2 ++
net/pkt/pkt_callback.c | 2 ++
net/pkt/pkt_conn.c | 2 ++
net/pkt/pkt_finddev.c | 2 ++
net/pkt/pkt_input.c | 3 ++-
net/pkt/pkt_poll.c | 3 ++-
net/pkt/pkt_recvmsg.c | 2 ++
net/pkt/pkt_sendmsg.c | 2 ++
net/pkt/pkt_sockif.c | 2 ++
net/procfs/CMakeLists.txt | 2 ++
net/procfs/Make.defs | 2 ++
net/procfs/net_mld.c | 2 ++
net/procfs/net_procfs.c | 2 ++
net/procfs/net_procfs_route.c | 2 ++
net/procfs/net_statistics.c | 2 ++
net/procfs/net_tcp.c | 2 ++
net/procfs/net_udp.c | 2 ++
net/procfs/netdev_statistics.c | 2 ++
net/procfs/procfs.h | 2 ++
net/route/CMakeLists.txt | 2 ++
net/route/Make.defs | 2 ++
net/route/cacheroute.h | 2 ++
net/route/fileroute.h | 2 ++
net/route/net_add_fileroute.c | 2 ++
net/route/net_add_ramroute.c | 2 ++
net/route/net_alloc_ramroute.c | 2 ++
net/route/net_cacheroute.c | 2 ++
net/route/net_del_fileroute.c | 2 ++
net/route/net_del_ramroute.c | 2 ++
net/route/net_dumproute.c | 2 ++
net/route/net_fileroute.c | 2 ++
net/route/net_foreach_fileroute.c | 2 ++
net/route/net_foreach_ramroute.c | 2 ++
net/route/net_foreach_romroute.c | 2 ++
net/route/net_initroute.c | 2 ++
net/route/net_queue_ramroute.c | 2 ++
net/route/net_router.c | 2 ++
net/route/netdev_router.c | 2 ++
net/route/ramroute.h | 2 ++
net/route/romroute.h | 2 ++
net/route/route.h | 2 ++
net/rpmsg/CMakeLists.txt | 2 ++
net/rpmsg/Make.defs | 2 ++
net/rpmsg/rpmsg.h | 2 ++
net/rpmsg/rpmsg_sockif.c | 2 ++
net/sixlowpan/CMakeLists.txt | 2 ++
net/sixlowpan/Make.defs | 2 ++
net/sixlowpan/sixlowpan.h | 2 ++
net/sixlowpan/sixlowpan_framelist.c | 2 ++
net/sixlowpan/sixlowpan_framer.c | 2 ++
net/sixlowpan/sixlowpan_globals.c | 2 ++
net/sixlowpan/sixlowpan_hc06.c | 4 ++--
net/sixlowpan/sixlowpan_hc1.c | 2 ++
net/sixlowpan/sixlowpan_icmpv6send.c | 2 ++
net/sixlowpan/sixlowpan_initialize.c | 2 ++
net/sixlowpan/sixlowpan_input.c | 3 ++-
net/sixlowpan/sixlowpan_internal.h | 2 ++
net/sixlowpan/sixlowpan_reassbuf.c | 2 ++
net/sixlowpan/sixlowpan_send.c | 2 ++
net/sixlowpan/sixlowpan_tcpsend.c | 2 ++
net/sixlowpan/sixlowpan_udpsend.c | 2 ++
net/sixlowpan/sixlowpan_utils.c | 2 ++
net/socket/CMakeLists.txt | 2 ++
net/socket/Make.defs | 2 ++
net/socket/accept.c | 2 ++
net/socket/bind.c | 2 ++
net/socket/connect.c | 2 ++
net/socket/getpeername.c | 2 ++
net/socket/getsockname.c | 2 ++
net/socket/getsockopt.c | 2 ++
net/socket/listen.c | 2 ++
net/socket/net_close.c | 2 ++
net/socket/net_dup2.c | 2 ++
net/socket/net_fstat.c | 2 ++
net/socket/net_poll.c | 2 ++
net/socket/net_sendfile.c | 2 ++
net/socket/net_sockif.c | 2 ++
net/socket/net_timeo.c | 2 ++
net/socket/recv.c | 2 ++
net/socket/recvfrom.c | 2 ++
net/socket/recvmsg.c | 2 ++
net/socket/send.c | 2 ++
net/socket/sendmsg.c | 2 ++
net/socket/sendto.c | 2 ++
net/socket/setsockopt.c | 2 ++
net/socket/shutdown.c | 2 ++
net/socket/socket.c | 2 ++
net/socket/socket.h | 2 ++
net/socket/socketpair.c | 2 ++
net/tcp/CMakeLists.txt | 2 ++
net/tcp/Make.defs | 2 ++
net/tcp/tcp.h | 2 ++
net/tcp/tcp_accept.c | 2 ++
net/tcp/tcp_appsend.c | 2 ++
net/tcp/tcp_backlog.c | 2 ++
net/tcp/tcp_callback.c | 2 ++
net/tcp/tcp_cc.c | 3 ++-
net/tcp/tcp_close.c | 2 ++
net/tcp/tcp_conn.c | 2 ++
net/tcp/tcp_connect.c | 2 ++
net/tcp/tcp_devpoll.c | 3 ++-
net/tcp/tcp_dump.c | 2 ++
net/tcp/tcp_finddev.c | 2 ++
net/tcp/tcp_getsockopt.c | 2 ++
net/tcp/tcp_input.c | 3 ++-
net/tcp/tcp_ioctl.c | 2 ++
net/tcp/tcp_ipselect.c | 2 ++
net/tcp/tcp_listen.c | 2 ++
net/tcp/tcp_monitor.c | 2 ++
net/tcp/tcp_netpoll.c | 2 ++
net/tcp/tcp_notifier.c | 2 ++
net/tcp/tcp_recvfrom.c | 2 ++
net/tcp/tcp_recvwindow.c | 2 ++
net/tcp/tcp_send.c | 2 ++
net/tcp/tcp_send_buffered.c | 2 ++
net/tcp/tcp_send_unbuffered.c | 2 ++
net/tcp/tcp_sendfile.c | 2 ++
net/tcp/tcp_seqno.c | 2 ++
net/tcp/tcp_setsockopt.c | 2 ++
net/tcp/tcp_shutdown.c | 2 ++
net/tcp/tcp_timer.c | 3 ++-
net/tcp/tcp_txdrain.c | 2 ++
net/tcp/tcp_wrbuffer.c | 2 ++
net/udp/CMakeLists.txt | 2 ++
net/udp/Make.defs | 2 ++
net/udp/udp.h | 2 ++
net/udp/udp_callback.c | 2 ++
net/udp/udp_close.c | 2 ++
net/udp/udp_conn.c | 2 ++
net/udp/udp_devpoll.c | 3 ++-
net/udp/udp_finddev.c | 2 ++
net/udp/udp_input.c | 3 ++-
net/udp/udp_ioctl.c | 2 ++
net/udp/udp_ipselect.c | 2 ++
net/udp/udp_netpoll.c | 2 ++
net/udp/udp_notifier.c | 2 ++
net/udp/udp_recvfrom.c | 2 ++
net/udp/udp_send.c | 2 ++
net/udp/udp_sendto_buffered.c | 2 ++
net/udp/udp_sendto_unbuffered.c | 2 ++
net/udp/udp_setsockopt.c | 2 ++
net/udp/udp_txdrain.c | 2 ++
net/udp/udp_wrbuffer.c | 2 ++
net/udp/udp_wrbuffer_dump.c | 2 ++
net/usrsock/CMakeLists.txt | 2 ++
net/usrsock/Make.defs | 2 ++
net/usrsock/usrsock.h | 2 ++
net/usrsock/usrsock_accept.c | 2 ++
net/usrsock/usrsock_bind.c | 2 ++
net/usrsock/usrsock_close.c | 2 ++
net/usrsock/usrsock_conn.c | 2 ++
net/usrsock/usrsock_connect.c | 2 ++
net/usrsock/usrsock_devif.c | 2 ++
net/usrsock/usrsock_event.c | 2 ++
net/usrsock/usrsock_getpeername.c | 2 ++
net/usrsock/usrsock_getsockname.c | 2 ++
net/usrsock/usrsock_getsockopt.c | 2 ++
net/usrsock/usrsock_ioctl.c | 2 ++
net/usrsock/usrsock_listen.c | 2 ++
net/usrsock/usrsock_poll.c | 2 ++
net/usrsock/usrsock_recvmsg.c | 2 ++
net/usrsock/usrsock_sendmsg.c | 2 ++
net/usrsock/usrsock_setsockopt.c | 2 ++
net/usrsock/usrsock_shutdown.c | 2 ++
net/usrsock/usrsock_socket.c | 2 ++
net/usrsock/usrsock_sockif.c | 2 ++
net/utils/CMakeLists.txt | 2 ++
net/utils/Make.defs | 2 ++
net/utils/net_chksum.c | 2 ++
net/utils/net_cmsg.c | 2 ++
net/utils/net_dsec2tick.c | 2 ++
net/utils/net_dsec2timeval.c | 2 ++
net/utils/net_getrandom.c | 2 ++
net/utils/net_icmpchksum.c | 2 ++
net/utils/net_incr32.c | 2 ++
net/utils/net_iob_concat.c | 2 ++
net/utils/net_ipchksum.c | 2 ++
net/utils/net_ipv6_maskcmp.c | 2 ++
net/utils/net_ipv6_payload.c | 2 ++
net/utils/net_ipv6_pref2mask.c | 2 ++
net/utils/net_lock.c | 2 ++
net/utils/net_mask2pref.c | 2 ++
net/utils/net_snoop.c | 2 ++
net/utils/net_tcpchksum.c | 2 ++
net/utils/net_timeval2dsec.c | 2 ++
net/utils/net_udpchksum.c | 2 ++
net/utils/utils.h | 2 ++
431 files changed, 862 insertions(+), 32 deletions(-)
diff --git a/net/CMakeLists.txt b/net/CMakeLists.txt
index 7929a4c354..0183728c9c 100644
--- a/net/CMakeLists.txt
+++ b/net/CMakeLists.txt
@@ -1,6 +1,8 @@
# ##############################################################################
# net/CMakeLists.txt
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/net/Makefile b/net/Makefile
index 7d81fa8bc3..5263eb1e62 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1,6 +1,8 @@
############################################################################
# net/Makefile
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
diff --git a/net/arp/CMakeLists.txt b/net/arp/CMakeLists.txt
index eb65fbf8a2..be4990f475 100644
--- a/net/arp/CMakeLists.txt
+++ b/net/arp/CMakeLists.txt
@@ -1,6 +1,8 @@
# ##############################################################################
# net/arp/CMakeLists.txt
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/net/arp/Make.defs b/net/arp/Make.defs
index c090646baf..fae0c886d6 100644
--- a/net/arp/Make.defs
+++ b/net/arp/Make.defs
@@ -1,6 +1,8 @@
############################################################################
# net/arp/Make.defs
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
diff --git a/net/arp/arp.h b/net/arp/arp.h
index 03648007f4..ddeca71d62 100644
--- a/net/arp/arp.h
+++ b/net/arp/arp.h
@@ -1,6 +1,8 @@
/****************************************************************************
* net/arp/arp.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/arp/arp_acd.c b/net/arp/arp_acd.c
index 20a182e8d8..60e591d830 100644
--- a/net/arp/arp_acd.c
+++ b/net/arp/arp_acd.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/arp/arp_acd.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/arp/arp_dump.c b/net/arp/arp_dump.c
index c22573b5ef..49a6f565e7 100644
--- a/net/arp/arp_dump.c
+++ b/net/arp/arp_dump.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/arp/arp_dump.c
*
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (C) 2007-2011, 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gn...@nuttx.org>
*
diff --git a/net/arp/arp_format.c b/net/arp/arp_format.c
index 6623b033d8..331a17ed6f 100644
--- a/net/arp/arp_format.c
+++ b/net/arp/arp_format.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/arp/arp_format.c
*
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (C) 2007-2011, 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gn...@nuttx.org>
*
diff --git a/net/arp/arp_input.c b/net/arp/arp_input.c
index a76f48fa61..fdae1478e1 100644
--- a/net/arp/arp_input.c
+++ b/net/arp/arp_input.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/arp/arp_input.c
*
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (C) 2007-2011, 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gn...@nuttx.org>
*
diff --git a/net/arp/arp_ipin.c b/net/arp/arp_ipin.c
index abb3fe8ec5..ba5ec7c94f 100644
--- a/net/arp/arp_ipin.c
+++ b/net/arp/arp_ipin.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/arp/arp_ipin.c
*
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (C) 2007-2011, 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gn...@nuttx.org>
*
diff --git a/net/arp/arp_notify.c b/net/arp/arp_notify.c
index 73cc52fa7f..9691414e15 100644
--- a/net/arp/arp_notify.c
+++ b/net/arp/arp_notify.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/arp/arp_notify.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/arp/arp_out.c b/net/arp/arp_out.c
index 2e964164c3..3228f571d4 100644
--- a/net/arp/arp_out.c
+++ b/net/arp/arp_out.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/arp/arp_out.c
*
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (C) 2007-2011, 2014-2015, 2017-2018 Gregory Nutt. All rights
* reserved.
* Author: Gregory Nutt <gn...@nuttx.org>
diff --git a/net/arp/arp_poll.c b/net/arp/arp_poll.c
index 9846c33652..3e3182448f 100644
--- a/net/arp/arp_poll.c
+++ b/net/arp/arp_poll.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/arp/arp_poll.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/arp/arp_send.c b/net/arp/arp_send.c
index 6eb568b10b..1080cf0173 100644
--- a/net/arp/arp_send.c
+++ b/net/arp/arp_send.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/arp/arp_send.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/arp/arp_table.c b/net/arp/arp_table.c
index 5b4c691f3c..1e3b854e8f 100644
--- a/net/arp/arp_table.c
+++ b/net/arp/arp_table.c
@@ -1,6 +1,7 @@
/****************************************************************************
* net/arp/arp_table.c
- * Implementation of the ARP Address Resolution Protocol.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (C) 2007-2009, 2011, 2014, 2018 Gregory Nutt. All rights
* reserved.
diff --git a/net/bluetooth/CMakeLists.txt b/net/bluetooth/CMakeLists.txt
index 8cb13ae7cf..7b6ac7f5e6 100644
--- a/net/bluetooth/CMakeLists.txt
+++ b/net/bluetooth/CMakeLists.txt
@@ -1,6 +1,8 @@
# ##############################################################################
# net/bluetooth/CMakeLists.txt
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/net/bluetooth/Make.defs b/net/bluetooth/Make.defs
index 90deae8127..9b8f8122f9 100644
--- a/net/bluetooth/Make.defs
+++ b/net/bluetooth/Make.defs
@@ -1,6 +1,8 @@
############################################################################
# net/bluetooth/Make.defs
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
diff --git a/net/bluetooth/bluetooth.h b/net/bluetooth/bluetooth.h
index 0dab176d9c..c625d67578 100644
--- a/net/bluetooth/bluetooth.h
+++ b/net/bluetooth/bluetooth.h
@@ -1,6 +1,8 @@
/****************************************************************************
* net/bluetooth/bluetooth.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/bluetooth/bluetooth_callback.c b/net/bluetooth/bluetooth_callback.c
index 05aba05f9f..808ed9ee70 100644
--- a/net/bluetooth/bluetooth_callback.c
+++ b/net/bluetooth/bluetooth_callback.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/bluetooth/bluetooth_callback.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/bluetooth/bluetooth_conn.c b/net/bluetooth/bluetooth_conn.c
index 38b3115ae5..f649943bd4 100644
--- a/net/bluetooth/bluetooth_conn.c
+++ b/net/bluetooth/bluetooth_conn.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/bluetooth/bluetooth_conn.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/bluetooth/bluetooth_container.c b/net/bluetooth/bluetooth_container.c
index 00de4a69a5..3a337b1454 100644
--- a/net/bluetooth/bluetooth_container.c
+++ b/net/bluetooth/bluetooth_container.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/bluetooth/bluetooth_container.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/bluetooth/bluetooth_finddev.c b/net/bluetooth/bluetooth_finddev.c
index 9191cb859c..9d2768226b 100644
--- a/net/bluetooth/bluetooth_finddev.c
+++ b/net/bluetooth/bluetooth_finddev.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/bluetooth/bluetooth_finddev.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/bluetooth/bluetooth_initialize.c b/net/bluetooth/bluetooth_initialize.c
index 9a62830fdc..92e71719c6 100644
--- a/net/bluetooth/bluetooth_initialize.c
+++ b/net/bluetooth/bluetooth_initialize.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/bluetooth/bluetooth_initialize.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/bluetooth/bluetooth_input.c b/net/bluetooth/bluetooth_input.c
index e6f0bfb6f1..aeb365826e 100644
--- a/net/bluetooth/bluetooth_input.c
+++ b/net/bluetooth/bluetooth_input.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/bluetooth/bluetooth_input.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/bluetooth/bluetooth_poll.c b/net/bluetooth/bluetooth_poll.c
index 2dc414c8ef..1505346430 100644
--- a/net/bluetooth/bluetooth_poll.c
+++ b/net/bluetooth/bluetooth_poll.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/bluetooth/bluetooth_poll.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/bluetooth/bluetooth_recvmsg.c b/net/bluetooth/bluetooth_recvmsg.c
index bf591b3dba..8de4323558 100644
--- a/net/bluetooth/bluetooth_recvmsg.c
+++ b/net/bluetooth/bluetooth_recvmsg.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/bluetooth/bluetooth_recvmsg.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/bluetooth/bluetooth_sendmsg.c b/net/bluetooth/bluetooth_sendmsg.c
index d52b79129a..b9c54ef872 100644
--- a/net/bluetooth/bluetooth_sendmsg.c
+++ b/net/bluetooth/bluetooth_sendmsg.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/bluetooth/bluetooth_sendmsg.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/bluetooth/bluetooth_sockif.c b/net/bluetooth/bluetooth_sockif.c
index 4d239248d3..c5c12d460e 100644
--- a/net/bluetooth/bluetooth_sockif.c
+++ b/net/bluetooth/bluetooth_sockif.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/bluetooth/bluetooth_sockif.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/can/CMakeLists.txt b/net/can/CMakeLists.txt
index d77a2cac72..1c02c53f88 100644
--- a/net/can/CMakeLists.txt
+++ b/net/can/CMakeLists.txt
@@ -1,6 +1,8 @@
# ##############################################################################
# net/can/CMakeLists.txt
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/net/can/Make.defs b/net/can/Make.defs
index 5283076424..50dd7c9c9e 100644
--- a/net/can/Make.defs
+++ b/net/can/Make.defs
@@ -1,6 +1,8 @@
############################################################################
# net/can/Make.defs
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
diff --git a/net/can/can.h b/net/can/can.h
index 8224bd6e19..534f08fafc 100644
--- a/net/can/can.h
+++ b/net/can/can.h
@@ -1,6 +1,8 @@
/****************************************************************************
* net/can/can.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/can/can_callback.c b/net/can/can_callback.c
index 7fff08e8bc..03e8af8283 100644
--- a/net/can/can_callback.c
+++ b/net/can/can_callback.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/can/can_callback.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/can/can_conn.c b/net/can/can_conn.c
index a6cd63bc20..89be629af5 100644
--- a/net/can/can_conn.c
+++ b/net/can/can_conn.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/can/can_conn.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/can/can_getsockopt.c b/net/can/can_getsockopt.c
index e116d9ee21..8360a56cb4 100644
--- a/net/can/can_getsockopt.c
+++ b/net/can/can_getsockopt.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/can/can_getsockopt.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/can/can_input.c b/net/can/can_input.c
index 35d4a73fd1..704ae04035 100644
--- a/net/can/can_input.c
+++ b/net/can/can_input.c
@@ -1,6 +1,7 @@
/****************************************************************************
* net/can/can_input.c
- * Handling incoming packet input
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/net/can/can_notifier.c b/net/can/can_notifier.c
index 688d150a87..bed3e13006 100644
--- a/net/can/can_notifier.c
+++ b/net/can/can_notifier.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/can/can_notifier.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/can/can_poll.c b/net/can/can_poll.c
index 2def213a5d..00e37eb2d7 100644
--- a/net/can/can_poll.c
+++ b/net/can/can_poll.c
@@ -1,6 +1,7 @@
/****************************************************************************
* net/can/can_poll.c
- * Poll for the availability of packet TX data
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/net/can/can_recvmsg.c b/net/can/can_recvmsg.c
index e4b2fe7518..fdfa6be80f 100644
--- a/net/can/can_recvmsg.c
+++ b/net/can/can_recvmsg.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/can/can_recvmsg.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/can/can_sendmsg.c b/net/can/can_sendmsg.c
index 31acea779f..813be3586a 100644
--- a/net/can/can_sendmsg.c
+++ b/net/can/can_sendmsg.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/can/can_sendmsg.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/can/can_setsockopt.c b/net/can/can_setsockopt.c
index dcebc1765c..5584f18c70 100644
--- a/net/can/can_setsockopt.c
+++ b/net/can/can_setsockopt.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/can/can_setsockopt.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/can/can_sockif.c b/net/can/can_sockif.c
index 1ab0f8f5f0..0bf27f67eb 100644
--- a/net/can/can_sockif.c
+++ b/net/can/can_sockif.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/can/can_sockif.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/devif/CMakeLists.txt b/net/devif/CMakeLists.txt
index d7c0d17c36..158da45c13 100644
--- a/net/devif/CMakeLists.txt
+++ b/net/devif/CMakeLists.txt
@@ -1,6 +1,8 @@
# ##############################################################################
# net/devif/CMakeLists.txt
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/net/devif/Make.defs b/net/devif/Make.defs
index fa2d67a1a9..1871c29751 100644
--- a/net/devif/Make.defs
+++ b/net/devif/Make.defs
@@ -1,6 +1,8 @@
############################################################################
# net/devif/Make.defs
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
diff --git a/net/devif/devif.h b/net/devif/devif.h
index dafcc8ebab..348de8636e 100644
--- a/net/devif/devif.h
+++ b/net/devif/devif.h
@@ -1,6 +1,8 @@
/****************************************************************************
* net/devif/devif.h
*
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (C) 2007-2009, 2013-2017 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gn...@nuttx.org>
*
diff --git a/net/devif/devif_callback.c b/net/devif/devif_callback.c
index dc3bf13dad..af4144e431 100644
--- a/net/devif/devif_callback.c
+++ b/net/devif/devif_callback.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/devif/devif_callback.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/devif/devif_filesend.c b/net/devif/devif_filesend.c
index b6b4198df0..b971c3fde5 100644
--- a/net/devif/devif_filesend.c
+++ b/net/devif/devif_filesend.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/devif/devif_filesend.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/devif/devif_forward.c b/net/devif/devif_forward.c
index 6ea5146a5e..92c00a0c01 100644
--- a/net/devif/devif_forward.c
+++ b/net/devif/devif_forward.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/devif/devif_forward.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/devif/devif_initialize.c b/net/devif/devif_initialize.c
index 30415c6140..302c76b476 100644
--- a/net/devif/devif_initialize.c
+++ b/net/devif/devif_initialize.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/devif/devif_initialize.c
*
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (C) 2007-2011, 2014, 2017 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gn...@nuttx.org>
*
diff --git a/net/devif/devif_iobsend.c b/net/devif/devif_iobsend.c
index 87068f8bfe..e4d2847743 100644
--- a/net/devif/devif_iobsend.c
+++ b/net/devif/devif_iobsend.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/devif/devif_iobsend.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/devif/devif_loopback.c b/net/devif/devif_loopback.c
index 6fa8e89adc..8553810ca7 100644
--- a/net/devif/devif_loopback.c
+++ b/net/devif/devif_loopback.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/devif/devif_loopback.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/devif/devif_poll.c b/net/devif/devif_poll.c
index b33a957c12..2d12606e94 100644
--- a/net/devif/devif_poll.c
+++ b/net/devif/devif_poll.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/devif/devif_poll.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/devif/devif_send.c b/net/devif/devif_send.c
index bb43f62a3c..b4ddb8b38d 100644
--- a/net/devif/devif_send.c
+++ b/net/devif/devif_send.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/devif/devif_send.c
*
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gn...@nuttx.org>
*
diff --git a/net/devif/ipv4_input.c b/net/devif/ipv4_input.c
index 19c207b90a..2cf2440169 100644
--- a/net/devif/ipv4_input.c
+++ b/net/devif/ipv4_input.c
@@ -1,6 +1,7 @@
/****************************************************************************
* net/devif/ipv4_input.c
- * Device driver IPv4 packet receipt interface
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (C) 2007-2009, 2013-2015, 2018-2019 Gregory Nutt. All rights
* reserved.
diff --git a/net/devif/ipv6_input.c b/net/devif/ipv6_input.c
index 41a662ce65..000528dc11 100644
--- a/net/devif/ipv6_input.c
+++ b/net/devif/ipv6_input.c
@@ -1,6 +1,7 @@
/****************************************************************************
* net/devif/ipv6_input.c
- * Device driver IPv6 packet receipt interface
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/net/icmp/CMakeLists.txt b/net/icmp/CMakeLists.txt
index 9adb17dbcf..1b17c6f0db 100644
--- a/net/icmp/CMakeLists.txt
+++ b/net/icmp/CMakeLists.txt
@@ -1,6 +1,8 @@
# ##############################################################################
# net/icmp/CMakeLists.txt
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/net/icmp/Make.defs b/net/icmp/Make.defs
index f5f96b3ff6..b99257aef5 100644
--- a/net/icmp/Make.defs
+++ b/net/icmp/Make.defs
@@ -1,6 +1,8 @@
############################################################################
# net/icmp/Make.defs
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
diff --git a/net/icmp/icmp.h b/net/icmp/icmp.h
index e755ffe702..57a80fd97d 100644
--- a/net/icmp/icmp.h
+++ b/net/icmp/icmp.h
@@ -1,6 +1,8 @@
/****************************************************************************
* net/icmp/icmp.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/icmp/icmp_conn.c b/net/icmp/icmp_conn.c
index efb4b83a15..a4eac7cd3a 100644
--- a/net/icmp/icmp_conn.c
+++ b/net/icmp/icmp_conn.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/icmp/icmp_conn.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/icmp/icmp_input.c b/net/icmp/icmp_input.c
index f88310c030..c8aa572c2c 100644
--- a/net/icmp/icmp_input.c
+++ b/net/icmp/icmp_input.c
@@ -1,6 +1,7 @@
/****************************************************************************
* net/icmp/icmp_input.c
- * Handling incoming ICMP input
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (C) 2007-2009, 2012, 2014-2015, 2017, 2019 Gregory Nutt. All
* rights reserved.
diff --git a/net/icmp/icmp_ioctl.c b/net/icmp/icmp_ioctl.c
index 8f1364b24e..c114e7537b 100644
--- a/net/icmp/icmp_ioctl.c
+++ b/net/icmp/icmp_ioctl.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/icmp/icmp_ioctl.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/icmp/icmp_netpoll.c b/net/icmp/icmp_netpoll.c
index 28e7cd4647..27d04e7a11 100644
--- a/net/icmp/icmp_netpoll.c
+++ b/net/icmp/icmp_netpoll.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/icmp/icmp_netpoll.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/icmp/icmp_pmtu.c b/net/icmp/icmp_pmtu.c
index ed6cd3f6d4..39e84bccb3 100644
--- a/net/icmp/icmp_pmtu.c
+++ b/net/icmp/icmp_pmtu.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/icmp/icmp_pmtu.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/icmp/icmp_poll.c b/net/icmp/icmp_poll.c
index 09d80d570f..bebde2cff0 100644
--- a/net/icmp/icmp_poll.c
+++ b/net/icmp/icmp_poll.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/icmp/icmp_poll.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/icmp/icmp_recvmsg.c b/net/icmp/icmp_recvmsg.c
index f629ea62d2..d2da740295 100644
--- a/net/icmp/icmp_recvmsg.c
+++ b/net/icmp/icmp_recvmsg.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/icmp/icmp_recvmsg.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/icmp/icmp_reply.c b/net/icmp/icmp_reply.c
index df65e9b651..b505b94569 100644
--- a/net/icmp/icmp_reply.c
+++ b/net/icmp/icmp_reply.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/icmp/icmp_reply.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/icmp/icmp_sendmsg.c b/net/icmp/icmp_sendmsg.c
index 22f3836bef..eb83a3301a 100644
--- a/net/icmp/icmp_sendmsg.c
+++ b/net/icmp/icmp_sendmsg.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/icmp/icmp_sendmsg.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/icmp/icmp_sockif.c b/net/icmp/icmp_sockif.c
index 3334096152..af05baaf36 100644
--- a/net/icmp/icmp_sockif.c
+++ b/net/icmp/icmp_sockif.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/icmp/icmp_sockif.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/icmpv6/CMakeLists.txt b/net/icmpv6/CMakeLists.txt
index f256f4f6fb..7c9871b3da 100644
--- a/net/icmpv6/CMakeLists.txt
+++ b/net/icmpv6/CMakeLists.txt
@@ -1,6 +1,8 @@
# ##############################################################################
# net/icmpv6/CMakeLists.txt
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/net/icmpv6/Make.defs b/net/icmpv6/Make.defs
index 24f41feaa4..d40ba38731 100644
--- a/net/icmpv6/Make.defs
+++ b/net/icmpv6/Make.defs
@@ -1,6 +1,8 @@
############################################################################
# net/icmpv6/Make.defs
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
diff --git a/net/icmpv6/icmpv6.h b/net/icmpv6/icmpv6.h
index 98e52a1709..5d4301892c 100644
--- a/net/icmpv6/icmpv6.h
+++ b/net/icmpv6/icmpv6.h
@@ -1,6 +1,8 @@
/****************************************************************************
* net/icmpv6/icmpv6.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/icmpv6/icmpv6_advertise.c b/net/icmpv6/icmpv6_advertise.c
index 5f1401dcef..8d81fd894b 100644
--- a/net/icmpv6/icmpv6_advertise.c
+++ b/net/icmpv6/icmpv6_advertise.c
@@ -1,6 +1,7 @@
/****************************************************************************
* net/icmpv6/icmpv6_advertise.c
- * Send an ICMPv6 Neighbor Advertisement
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/net/icmpv6/icmpv6_autoconfig.c b/net/icmpv6/icmpv6_autoconfig.c
index d51492b939..9856176a39 100644
--- a/net/icmpv6/icmpv6_autoconfig.c
+++ b/net/icmpv6/icmpv6_autoconfig.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/icmpv6/icmpv6_autoconfig.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/icmpv6/icmpv6_conn.c b/net/icmpv6/icmpv6_conn.c
index 5da518c9fb..ac3d65a4db 100644
--- a/net/icmpv6/icmpv6_conn.c
+++ b/net/icmpv6/icmpv6_conn.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/icmpv6/icmpv6_conn.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/icmpv6/icmpv6_initialize.c b/net/icmpv6/icmpv6_initialize.c
index b49faee507..796a4a05db 100644
--- a/net/icmpv6/icmpv6_initialize.c
+++ b/net/icmpv6/icmpv6_initialize.c
@@ -1,6 +1,7 @@
/****************************************************************************
* net/icmpv6/icmpv6_initialize.c
- * ICMPv6 initialization logic
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/net/icmpv6/icmpv6_input.c b/net/icmpv6/icmpv6_input.c
index 41c8a437e6..0855d1b9b1 100644
--- a/net/icmpv6/icmpv6_input.c
+++ b/net/icmpv6/icmpv6_input.c
@@ -1,6 +1,7 @@
/****************************************************************************
* net/icmpv6/icmpv6_input.c
- * Handling incoming ICMPv6 input
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/net/icmpv6/icmpv6_ioctl.c b/net/icmpv6/icmpv6_ioctl.c
index 16ad642800..588e9b9212 100644
--- a/net/icmpv6/icmpv6_ioctl.c
+++ b/net/icmpv6/icmpv6_ioctl.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/icmpv6/icmpv6_ioctl.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/icmpv6/icmpv6_linkipaddr.c b/net/icmpv6/icmpv6_linkipaddr.c
index c7f2a2094c..0116cc1858 100644
--- a/net/icmpv6/icmpv6_linkipaddr.c
+++ b/net/icmpv6/icmpv6_linkipaddr.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/icmpv6/icmpv6_linkipaddr.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/icmpv6/icmpv6_neighbor.c b/net/icmpv6/icmpv6_neighbor.c
index b6bd1df0db..3d6c602f9d 100644
--- a/net/icmpv6/icmpv6_neighbor.c
+++ b/net/icmpv6/icmpv6_neighbor.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/icmpv6/icmpv6_neighbor.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/icmpv6/icmpv6_netpoll.c b/net/icmpv6/icmpv6_netpoll.c
index a6f29ed8c9..3f2713b253 100644
--- a/net/icmpv6/icmpv6_netpoll.c
+++ b/net/icmpv6/icmpv6_netpoll.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/icmpv6/icmpv6_netpoll.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/icmpv6/icmpv6_notify.c b/net/icmpv6/icmpv6_notify.c
index a2edf3135b..18b29523b9 100644
--- a/net/icmpv6/icmpv6_notify.c
+++ b/net/icmpv6/icmpv6_notify.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/icmpv6/icmpv6_notify.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/icmpv6/icmpv6_pmtu.c b/net/icmpv6/icmpv6_pmtu.c
index 593dd846d5..996d7a8018 100644
--- a/net/icmpv6/icmpv6_pmtu.c
+++ b/net/icmpv6/icmpv6_pmtu.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/icmpv6/icmpv6_pmtu.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/icmpv6/icmpv6_poll.c b/net/icmpv6/icmpv6_poll.c
index 278c3f48b7..13e3773ee3 100644
--- a/net/icmpv6/icmpv6_poll.c
+++ b/net/icmpv6/icmpv6_poll.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/icmpv6/icmpv6_poll.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/icmpv6/icmpv6_radvertise.c b/net/icmpv6/icmpv6_radvertise.c
index 865170a061..4e2f892773 100644
--- a/net/icmpv6/icmpv6_radvertise.c
+++ b/net/icmpv6/icmpv6_radvertise.c
@@ -1,6 +1,7 @@
/****************************************************************************
* net/icmpv6/icmpv6_radvertise.c
- * Send an ICMPv6 Router Advertisement
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/net/icmpv6/icmpv6_recvmsg.c b/net/icmpv6/icmpv6_recvmsg.c
index feb625b84f..aa6ffa11c7 100644
--- a/net/icmpv6/icmpv6_recvmsg.c
+++ b/net/icmpv6/icmpv6_recvmsg.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/icmpv6/icmpv6_recvmsg.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/icmpv6/icmpv6_reply.c b/net/icmpv6/icmpv6_reply.c
index 3513a67aed..a156fc8991 100644
--- a/net/icmpv6/icmpv6_reply.c
+++ b/net/icmpv6/icmpv6_reply.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/icmpv6/icmpv6_reply.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/icmpv6/icmpv6_rnotify.c b/net/icmpv6/icmpv6_rnotify.c
index 5d9e5d6f82..06092f78e2 100644
--- a/net/icmpv6/icmpv6_rnotify.c
+++ b/net/icmpv6/icmpv6_rnotify.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/icmpv6/icmpv6_rnotify.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/icmpv6/icmpv6_rsolicit.c b/net/icmpv6/icmpv6_rsolicit.c
index 70d8d068db..3c7768305b 100644
--- a/net/icmpv6/icmpv6_rsolicit.c
+++ b/net/icmpv6/icmpv6_rsolicit.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/icmpv6/icmpv6_rsolicit.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/icmpv6/icmpv6_sendmsg.c b/net/icmpv6/icmpv6_sendmsg.c
index 90c025d663..10ac178ceb 100644
--- a/net/icmpv6/icmpv6_sendmsg.c
+++ b/net/icmpv6/icmpv6_sendmsg.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/icmpv6/icmpv6_sendmsg.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/icmpv6/icmpv6_sockif.c b/net/icmpv6/icmpv6_sockif.c
index 9153fcc6a6..b8a0d41df6 100644
--- a/net/icmpv6/icmpv6_sockif.c
+++ b/net/icmpv6/icmpv6_sockif.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/icmpv6/icmpv6_sockif.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/icmpv6/icmpv6_solicit.c b/net/icmpv6/icmpv6_solicit.c
index 22d3ca3e9a..428537d1d9 100644
--- a/net/icmpv6/icmpv6_solicit.c
+++ b/net/icmpv6/icmpv6_solicit.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/icmpv6/icmpv6_solicit.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/ieee802154/CMakeLists.txt b/net/ieee802154/CMakeLists.txt
index 7bb3d68f6d..c38c088676 100644
--- a/net/ieee802154/CMakeLists.txt
+++ b/net/ieee802154/CMakeLists.txt
@@ -1,6 +1,8 @@
# ##############################################################################
# net/ieee802154/CMakeLists.txt
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/net/ieee802154/Make.defs b/net/ieee802154/Make.defs
index 5a21fc8bae..84e0816461 100644
--- a/net/ieee802154/Make.defs
+++ b/net/ieee802154/Make.defs
@@ -1,6 +1,8 @@
############################################################################
# net/ieee802154/Make.defs
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
diff --git a/net/ieee802154/ieee802154.h b/net/ieee802154/ieee802154.h
index 40b3388e85..721a0f6218 100644
--- a/net/ieee802154/ieee802154.h
+++ b/net/ieee802154/ieee802154.h
@@ -1,6 +1,8 @@
/****************************************************************************
* net/ieee802154/ieee802154.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/ieee802154/ieee802154_callback.c b/net/ieee802154/ieee802154_callback.c
index 4b552560e8..5b0f8336a7 100644
--- a/net/ieee802154/ieee802154_callback.c
+++ b/net/ieee802154/ieee802154_callback.c
@@ -1,6 +1,7 @@
/****************************************************************************
* net/ieee802154/ieee802154_callback.c
- * Forward events to waiting PF_IEEE802154 sockets.
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/net/ieee802154/ieee802154_conn.c b/net/ieee802154/ieee802154_conn.c
index 14769c2d66..d30f05c14b 100644
--- a/net/ieee802154/ieee802154_conn.c
+++ b/net/ieee802154/ieee802154_conn.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/ieee802154/ieee802154_conn.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/ieee802154/ieee802154_container.c b/net/ieee802154/ieee802154_container.c
index c97436522b..14f32ee2ad 100644
--- a/net/ieee802154/ieee802154_container.c
+++ b/net/ieee802154/ieee802154_container.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/ieee802154/ieee802154_container.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/ieee802154/ieee802154_finddev.c b/net/ieee802154/ieee802154_finddev.c
index ba67089065..decc725c4e 100644
--- a/net/ieee802154/ieee802154_finddev.c
+++ b/net/ieee802154/ieee802154_finddev.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/ieee802154/ieee802154_finddev.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/ieee802154/ieee802154_initialize.c b/net/ieee802154/ieee802154_initialize.c
index cef244cb37..56e6352454 100644
--- a/net/ieee802154/ieee802154_initialize.c
+++ b/net/ieee802154/ieee802154_initialize.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/ieee802154/ieee802154_initialize.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/ieee802154/ieee802154_input.c b/net/ieee802154/ieee802154_input.c
index 27d03ebe7c..a0b0202b4c 100644
--- a/net/ieee802154/ieee802154_input.c
+++ b/net/ieee802154/ieee802154_input.c
@@ -1,6 +1,7 @@
/****************************************************************************
* net/ieee802154/ieee802154_input.c
- * Handle incoming IEEE 802.15.4 frame input
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/net/ieee802154/ieee802154_poll.c b/net/ieee802154/ieee802154_poll.c
index 0ac358484d..1b57cb68c2 100644
--- a/net/ieee802154/ieee802154_poll.c
+++ b/net/ieee802154/ieee802154_poll.c
@@ -1,6 +1,7 @@
/****************************************************************************
* net/ieee802154/ieee802154_poll.c
- * Poll for the availability of ougoing IEEE 802.15.4 frames
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/net/ieee802154/ieee802154_recvmsg.c b/net/ieee802154/ieee802154_recvmsg.c
index 526c2c7e46..9654ddb5cc 100644
--- a/net/ieee802154/ieee802154_recvmsg.c
+++ b/net/ieee802154/ieee802154_recvmsg.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/ieee802154/ieee802154_recvmsg.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/ieee802154/ieee802154_sendmsg.c b/net/ieee802154/ieee802154_sendmsg.c
index 2bdf63c118..90037873f0 100644
--- a/net/ieee802154/ieee802154_sendmsg.c
+++ b/net/ieee802154/ieee802154_sendmsg.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/ieee802154/ieee802154_sendmsg.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/ieee802154/ieee802154_sockif.c b/net/ieee802154/ieee802154_sockif.c
index 6212062260..30b65df72d 100644
--- a/net/ieee802154/ieee802154_sockif.c
+++ b/net/ieee802154/ieee802154_sockif.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/ieee802154/ieee802154_sockif.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/igmp/CMakeLists.txt b/net/igmp/CMakeLists.txt
index c9b2aafd8f..3148c8bc20 100644
--- a/net/igmp/CMakeLists.txt
+++ b/net/igmp/CMakeLists.txt
@@ -1,6 +1,8 @@
# ##############################################################################
# net/igmp/CMakeLists.txt
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/net/igmp/Make.defs b/net/igmp/Make.defs
index bad828829d..27b3823d30 100644
--- a/net/igmp/Make.defs
+++ b/net/igmp/Make.defs
@@ -1,6 +1,8 @@
############################################################################
# net/igmp/Make.defs
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
diff --git a/net/igmp/igmp.h b/net/igmp/igmp.h
index 7fac4c9d36..c5784ccd73 100644
--- a/net/igmp/igmp.h
+++ b/net/igmp/igmp.h
@@ -1,6 +1,8 @@
/****************************************************************************
* net/igmp/igmp.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/igmp/igmp_group.c b/net/igmp/igmp_group.c
index c05a6df02b..1050a99e33 100644
--- a/net/igmp/igmp_group.c
+++ b/net/igmp/igmp_group.c
@@ -1,6 +1,7 @@
/****************************************************************************
* net/igmp/igmp_group.c
- * IGMP group data structure management logic
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (C) 2010, 2013-2014, 2016, 2018 Gregory Nutt.
* All rights reserved.
diff --git a/net/igmp/igmp_initialize.c b/net/igmp/igmp_initialize.c
index e53ab20b6b..f08454b367 100644
--- a/net/igmp/igmp_initialize.c
+++ b/net/igmp/igmp_initialize.c
@@ -1,6 +1,7 @@
/****************************************************************************
* net/igmp/igmp_initialize.c
- * IGMP initialization logic
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (C) 2010, 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gn...@nuttx.org>
diff --git a/net/igmp/igmp_input.c b/net/igmp/igmp_input.c
index 7a55443673..fde87f782e 100644
--- a/net/igmp/igmp_input.c
+++ b/net/igmp/igmp_input.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/igmp/igmp_input.c
*
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (C) 2010, 2014, 2020 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gn...@nuttx.org>
*
diff --git a/net/igmp/igmp_join.c b/net/igmp/igmp_join.c
index 32d1e840d5..38e3216845 100644
--- a/net/igmp/igmp_join.c
+++ b/net/igmp/igmp_join.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/igmp/igmp_join.c
*
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (C) 2010, 2018 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gn...@nuttx.org>
*
diff --git a/net/igmp/igmp_leave.c b/net/igmp/igmp_leave.c
index 62c57edbcb..03318a04da 100644
--- a/net/igmp/igmp_leave.c
+++ b/net/igmp/igmp_leave.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/igmp/igmp_leave.c
*
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (C) 2010-2011, 2014, 2018 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gn...@nuttx.org>
*
diff --git a/net/igmp/igmp_mcastmac.c b/net/igmp/igmp_mcastmac.c
index aa70a802be..db36300c4e 100644
--- a/net/igmp/igmp_mcastmac.c
+++ b/net/igmp/igmp_mcastmac.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/igmp/igmp_mcastmac.c
*
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gn...@nuttx.org>
*
diff --git a/net/igmp/igmp_msg.c b/net/igmp/igmp_msg.c
index cad7832189..ccade2db6c 100644
--- a/net/igmp/igmp_msg.c
+++ b/net/igmp/igmp_msg.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/igmp/igmp_msg.c
*
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (C) 2010-2011, 2018 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gn...@nuttx.org>
*
diff --git a/net/igmp/igmp_poll.c b/net/igmp/igmp_poll.c
index b7f71f2fbe..fbc0158de5 100644
--- a/net/igmp/igmp_poll.c
+++ b/net/igmp/igmp_poll.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/igmp/igmp_poll.c
*
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (C) 2010, 2018-2019 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gn...@nuttx.org>
*
diff --git a/net/igmp/igmp_send.c b/net/igmp/igmp_send.c
index 3abd170412..bde824f651 100644
--- a/net/igmp/igmp_send.c
+++ b/net/igmp/igmp_send.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/igmp/igmp_send.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/igmp/igmp_timer.c b/net/igmp/igmp_timer.c
index d50cb9833a..3227a4c32f 100644
--- a/net/igmp/igmp_timer.c
+++ b/net/igmp/igmp_timer.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/igmp/igmp_timer.c
*
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (C) 2010-2011, 2014, 2018 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gn...@nuttx.org>
*
diff --git a/net/inet/CMakeLists.txt b/net/inet/CMakeLists.txt
index 2cabfe5c75..8264b79667 100644
--- a/net/inet/CMakeLists.txt
+++ b/net/inet/CMakeLists.txt
@@ -1,6 +1,8 @@
# ##############################################################################
# net/inet/CMakeLists.txt
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/net/inet/Make.defs b/net/inet/Make.defs
index 5f49ae2bcc..83b6919c00 100644
--- a/net/inet/Make.defs
+++ b/net/inet/Make.defs
@@ -1,6 +1,8 @@
############################################################################
# net/inet/Make.defs
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
diff --git a/net/inet/inet.h b/net/inet/inet.h
index 369ca8a11d..b150ab1ab6 100644
--- a/net/inet/inet.h
+++ b/net/inet/inet.h
@@ -1,6 +1,8 @@
/****************************************************************************
* net/inet/inet.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/inet/inet_globals.c b/net/inet/inet_globals.c
index 87e54825ce..6a0b6bea7a 100644
--- a/net/inet/inet_globals.c
+++ b/net/inet/inet_globals.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/inet/inet_globals.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/inet/inet_sockif.c b/net/inet/inet_sockif.c
index f6036c051a..eb6117744d 100644
--- a/net/inet/inet_sockif.c
+++ b/net/inet/inet_sockif.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/inet/inet_sockif.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/inet/inet_txdrain.c b/net/inet/inet_txdrain.c
index 4924f9a347..fccfc5e491 100644
--- a/net/inet/inet_txdrain.c
+++ b/net/inet/inet_txdrain.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/inet/inet_txdrain.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/inet/ipv4_build_header.c b/net/inet/ipv4_build_header.c
index 28b5dc7e07..47f74ce833 100644
--- a/net/inet/ipv4_build_header.c
+++ b/net/inet/ipv4_build_header.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/inet/ipv4_build_header.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/inet/ipv4_getpeername.c b/net/inet/ipv4_getpeername.c
index 12ccaab59c..86a237c92c 100644
--- a/net/inet/ipv4_getpeername.c
+++ b/net/inet/ipv4_getpeername.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/inet/ipv4_getpeername.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/inet/ipv4_getsockname.c b/net/inet/ipv4_getsockname.c
index 89df7adbaf..0f1f493f0b 100644
--- a/net/inet/ipv4_getsockname.c
+++ b/net/inet/ipv4_getsockname.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/inet/ipv4_getsockname.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/inet/ipv4_getsockopt.c b/net/inet/ipv4_getsockopt.c
index bb1c6cf3a1..58e3f0069f 100644
--- a/net/inet/ipv4_getsockopt.c
+++ b/net/inet/ipv4_getsockopt.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/inet/ipv4_getsockopt.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/inet/ipv4_setsockopt.c b/net/inet/ipv4_setsockopt.c
index 1399a88ac6..ff449e321f 100644
--- a/net/inet/ipv4_setsockopt.c
+++ b/net/inet/ipv4_setsockopt.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/inet/ipv4_setsockopt.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/inet/ipv6_build_header.c b/net/inet/ipv6_build_header.c
index aa96e0b896..ba4f7fdd4e 100644
--- a/net/inet/ipv6_build_header.c
+++ b/net/inet/ipv6_build_header.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/inet/ipv6_build_header.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/inet/ipv6_getpeername.c b/net/inet/ipv6_getpeername.c
index 4f1cadf6c8..97ac26562d 100644
--- a/net/inet/ipv6_getpeername.c
+++ b/net/inet/ipv6_getpeername.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/inet/ipv6_getpeername.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/inet/ipv6_getsockname.c b/net/inet/ipv6_getsockname.c
index ac642a0ab2..bbb7503b3d 100644
--- a/net/inet/ipv6_getsockname.c
+++ b/net/inet/ipv6_getsockname.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/inet/ipv6_getsockname.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/inet/ipv6_getsockopt.c b/net/inet/ipv6_getsockopt.c
index 92d2592bac..0fa7289eea 100644
--- a/net/inet/ipv6_getsockopt.c
+++ b/net/inet/ipv6_getsockopt.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/inet/ipv6_getsockopt.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/inet/ipv6_setsockopt.c b/net/inet/ipv6_setsockopt.c
index 8a9259d565..99474824e3 100644
--- a/net/inet/ipv6_setsockopt.c
+++ b/net/inet/ipv6_setsockopt.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/inet/ipv6_setsockopt.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/ipfilter/CMakeLists.txt b/net/ipfilter/CMakeLists.txt
index 4843a5f114..778315b847 100644
--- a/net/ipfilter/CMakeLists.txt
+++ b/net/ipfilter/CMakeLists.txt
@@ -1,6 +1,8 @@
# ##############################################################################
# net/ipfilter/CMakeLists.txt
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/net/ipfilter/Make.defs b/net/ipfilter/Make.defs
index 57b16b1865..5e5f66b6df 100644
--- a/net/ipfilter/Make.defs
+++ b/net/ipfilter/Make.defs
@@ -1,6 +1,8 @@
############################################################################
# net/ipfilter/Make.defs
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
diff --git a/net/ipfilter/ipfilter.c b/net/ipfilter/ipfilter.c
index 8bcc89864d..56b67bcaca 100644
--- a/net/ipfilter/ipfilter.c
+++ b/net/ipfilter/ipfilter.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/ipfilter/ipfilter.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/ipfilter/ipfilter.h b/net/ipfilter/ipfilter.h
index 7b99a43647..2860ee65bc 100644
--- a/net/ipfilter/ipfilter.h
+++ b/net/ipfilter/ipfilter.h
@@ -1,6 +1,8 @@
/****************************************************************************
* net/ipfilter/ipfilter.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/ipforward/CMakeLists.txt b/net/ipforward/CMakeLists.txt
index e767775f26..d6dcf82e7f 100644
--- a/net/ipforward/CMakeLists.txt
+++ b/net/ipforward/CMakeLists.txt
@@ -1,6 +1,8 @@
# ##############################################################################
# net/ipforward/CMakeLists.txt
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/net/ipforward/Make.defs b/net/ipforward/Make.defs
index 57f1853d88..8ba261fc9c 100644
--- a/net/ipforward/Make.defs
+++ b/net/ipforward/Make.defs
@@ -1,6 +1,8 @@
############################################################################
# net/ipforward/Make.defs
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
diff --git a/net/ipforward/ipforward.h b/net/ipforward/ipforward.h
index 29087c03aa..894c96b26e 100644
--- a/net/ipforward/ipforward.h
+++ b/net/ipforward/ipforward.h
@@ -1,6 +1,8 @@
/****************************************************************************
* net/ipforward/ipforward.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/ipforward/ipfwd_alloc.c b/net/ipforward/ipfwd_alloc.c
index 692b07dcaf..b0b5536dea 100644
--- a/net/ipforward/ipfwd_alloc.c
+++ b/net/ipforward/ipfwd_alloc.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/ipforward/ipfwd_alloc.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/ipforward/ipfwd_dropstats.c b/net/ipforward/ipfwd_dropstats.c
index 781c5757e9..ff8d9bc051 100644
--- a/net/ipforward/ipfwd_dropstats.c
+++ b/net/ipforward/ipfwd_dropstats.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/ipforward/ipfwd_dropstats.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/ipforward/ipfwd_forward.c b/net/ipforward/ipfwd_forward.c
index 94a933c38a..11f748ff2d 100644
--- a/net/ipforward/ipfwd_forward.c
+++ b/net/ipforward/ipfwd_forward.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/ipforward/ipfwd_forward.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/ipforward/ipfwd_poll.c b/net/ipforward/ipfwd_poll.c
index e47bb929b0..46733092ed 100644
--- a/net/ipforward/ipfwd_poll.c
+++ b/net/ipforward/ipfwd_poll.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/ipforward/ipfwd_poll.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/ipforward/ipv4_forward.c b/net/ipforward/ipv4_forward.c
index c7e7744941..2930defa44 100644
--- a/net/ipforward/ipv4_forward.c
+++ b/net/ipforward/ipv4_forward.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/ipforward/ipv4_forward.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/ipforward/ipv6_forward.c b/net/ipforward/ipv6_forward.c
index f5b5b79ee1..b3ab98ec11 100644
--- a/net/ipforward/ipv6_forward.c
+++ b/net/ipforward/ipv6_forward.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/ipforward/ipv6_forward.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/ipfrag/CMakeLists.txt b/net/ipfrag/CMakeLists.txt
index 4f614075bb..2bfeb85e64 100644
--- a/net/ipfrag/CMakeLists.txt
+++ b/net/ipfrag/CMakeLists.txt
@@ -1,6 +1,8 @@
# ##############################################################################
# net/ipfrag/CMakeLists.txt
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/net/ipfrag/Make.defs b/net/ipfrag/Make.defs
index 8c7bf9549a..089f235cc0 100644
--- a/net/ipfrag/Make.defs
+++ b/net/ipfrag/Make.defs
@@ -1,6 +1,8 @@
############################################################################
# net/ipfrag/Make.defs
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
diff --git a/net/ipfrag/ipfrag.c b/net/ipfrag/ipfrag.c
index 9150ba577d..00dc662fae 100644
--- a/net/ipfrag/ipfrag.c
+++ b/net/ipfrag/ipfrag.c
@@ -1,6 +1,7 @@
/****************************************************************************
* net/ipfrag/ipfrag.c
- * Handling incoming IPv4 and IPv6 fragment input
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/net/ipfrag/ipfrag.h b/net/ipfrag/ipfrag.h
index 9e41c6b27c..f02fc8dc96 100644
--- a/net/ipfrag/ipfrag.h
+++ b/net/ipfrag/ipfrag.h
@@ -1,6 +1,8 @@
/****************************************************************************
* net/ipfrag/ipfrag.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/ipfrag/ipv4_frag.c b/net/ipfrag/ipv4_frag.c
index c4cd506514..1a7ec3192c 100644
--- a/net/ipfrag/ipv4_frag.c
+++ b/net/ipfrag/ipv4_frag.c
@@ -1,6 +1,7 @@
/****************************************************************************
* net/ipfrag/ipv4_frag.c
- * Handling incoming IPv4 fragment input
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/net/ipfrag/ipv6_frag.c b/net/ipfrag/ipv6_frag.c
index 175c5031f5..c772fddd35 100644
--- a/net/ipfrag/ipv6_frag.c
+++ b/net/ipfrag/ipv6_frag.c
@@ -1,6 +1,7 @@
/****************************************************************************
* net/ipfrag/ipv6_frag.c
- * Handling incoming IPv6 fragment input
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/net/local/CMakeLists.txt b/net/local/CMakeLists.txt
index 36108065a8..f82ca0029b 100644
--- a/net/local/CMakeLists.txt
+++ b/net/local/CMakeLists.txt
@@ -1,6 +1,8 @@
# ##############################################################################
# net/local/CMakeLists.txt
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/net/local/Make.defs b/net/local/Make.defs
index d737e411c1..d5f16b5eaf 100644
--- a/net/local/Make.defs
+++ b/net/local/Make.defs
@@ -1,6 +1,8 @@
############################################################################
# net/local/Make.defs
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
diff --git a/net/local/local.h b/net/local/local.h
index 45c1d3d0ce..7093a83027 100644
--- a/net/local/local.h
+++ b/net/local/local.h
@@ -1,6 +1,8 @@
/****************************************************************************
* net/local/local.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/local/local_accept.c b/net/local/local_accept.c
index b802cf5754..f9fd72187c 100644
--- a/net/local/local_accept.c
+++ b/net/local/local_accept.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/local/local_accept.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/local/local_bind.c b/net/local/local_bind.c
index 10c7220ed7..6bcb8c221f 100644
--- a/net/local/local_bind.c
+++ b/net/local/local_bind.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/local/local_bind.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/local/local_conn.c b/net/local/local_conn.c
index 02dbeea281..661659a130 100644
--- a/net/local/local_conn.c
+++ b/net/local/local_conn.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/local/local_conn.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/local/local_connect.c b/net/local/local_connect.c
index d743832c08..dc493c2c55 100644
--- a/net/local/local_connect.c
+++ b/net/local/local_connect.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/local/local_connect.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/local/local_fifo.c b/net/local/local_fifo.c
index bb5cd14362..be5acbdc9c 100644
--- a/net/local/local_fifo.c
+++ b/net/local/local_fifo.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/local/local_fifo.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/local/local_listen.c b/net/local/local_listen.c
index c9c8a4ff80..1104760ee9 100644
--- a/net/local/local_listen.c
+++ b/net/local/local_listen.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/local/local_listen.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/local/local_netpoll.c b/net/local/local_netpoll.c
index fa52c2e83b..e68833aa9a 100644
--- a/net/local/local_netpoll.c
+++ b/net/local/local_netpoll.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/local/local_netpoll.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/local/local_recvmsg.c b/net/local/local_recvmsg.c
index bcd406f42f..4973dfb053 100644
--- a/net/local/local_recvmsg.c
+++ b/net/local/local_recvmsg.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/local/local_recvmsg.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/local/local_recvutils.c b/net/local/local_recvutils.c
index 0208249879..4890e4ef65 100644
--- a/net/local/local_recvutils.c
+++ b/net/local/local_recvutils.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/local/local_recvutils.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/local/local_release.c b/net/local/local_release.c
index 172e8d241b..f65bd81c24 100644
--- a/net/local/local_release.c
+++ b/net/local/local_release.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/local/local_release.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/local/local_sendmsg.c b/net/local/local_sendmsg.c
index 670505dff5..7fb4be29e2 100644
--- a/net/local/local_sendmsg.c
+++ b/net/local/local_sendmsg.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/local/local_sendmsg.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/local/local_sendpacket.c b/net/local/local_sendpacket.c
index 8debf03d66..dd28ce888d 100644
--- a/net/local/local_sendpacket.c
+++ b/net/local/local_sendpacket.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/local/local_sendpacket.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/local/local_sockif.c b/net/local/local_sockif.c
index 1b7367ad98..acf4931e4b 100644
--- a/net/local/local_sockif.c
+++ b/net/local/local_sockif.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/local/local_sockif.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/mld/CMakeLists.txt b/net/mld/CMakeLists.txt
index a7137f795c..6c9169980c 100644
--- a/net/mld/CMakeLists.txt
+++ b/net/mld/CMakeLists.txt
@@ -1,6 +1,8 @@
# ##############################################################################
# net/mld/CMakeLists.txt
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/net/mld/Make.defs b/net/mld/Make.defs
index 763324a18c..8985183f68 100644
--- a/net/mld/Make.defs
+++ b/net/mld/Make.defs
@@ -1,6 +1,8 @@
############################################################################
# net/mld/Make.defs
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
diff --git a/net/mld/mld.h b/net/mld/mld.h
index 170b7220a6..50b5ebb99e 100644
--- a/net/mld/mld.h
+++ b/net/mld/mld.h
@@ -1,6 +1,7 @@
/****************************************************************************
* net/mld/mld.h
- * Multicast Listener Discovery (MLD) Definitions
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/net/mld/mld_done.c b/net/mld/mld_done.c
index 091beafe0f..a806118c29 100644
--- a/net/mld/mld_done.c
+++ b/net/mld/mld_done.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/mld/mld_done.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/mld/mld_group.c b/net/mld/mld_group.c
index a30761edf8..588de81566 100644
--- a/net/mld/mld_group.c
+++ b/net/mld/mld_group.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/mld/mld_group.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/mld/mld_initialize.c b/net/mld/mld_initialize.c
index d04a808cf3..26f82e2418 100644
--- a/net/mld/mld_initialize.c
+++ b/net/mld/mld_initialize.c
@@ -1,6 +1,7 @@
/****************************************************************************
* net/mld/mld_initialize.c
- * MLD initialization logic
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/net/mld/mld_join.c b/net/mld/mld_join.c
index 80064da667..5afe2911ba 100644
--- a/net/mld/mld_join.c
+++ b/net/mld/mld_join.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/mld/mld_join.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/mld/mld_leave.c b/net/mld/mld_leave.c
index 33a141593d..3a94240653 100644
--- a/net/mld/mld_leave.c
+++ b/net/mld/mld_leave.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/mld/mld_leave.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/mld/mld_mcastmac.c b/net/mld/mld_mcastmac.c
index c48c07573e..0e184cdd27 100644
--- a/net/mld/mld_mcastmac.c
+++ b/net/mld/mld_mcastmac.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/mld/mld_mcastmac.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/mld/mld_msg.c b/net/mld/mld_msg.c
index 36afafaab4..0b182ce798 100644
--- a/net/mld/mld_msg.c
+++ b/net/mld/mld_msg.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/mld/mld_msg.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/mld/mld_poll.c b/net/mld/mld_poll.c
index d706ffb29a..9b14f9d858 100644
--- a/net/mld/mld_poll.c
+++ b/net/mld/mld_poll.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/mld/mld_poll.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/mld/mld_query.c b/net/mld/mld_query.c
index 4014ab875a..729fc4b053 100644
--- a/net/mld/mld_query.c
+++ b/net/mld/mld_query.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/mld/mld_query.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/mld/mld_report.c b/net/mld/mld_report.c
index be6f9a5ee4..93613b524e 100644
--- a/net/mld/mld_report.c
+++ b/net/mld/mld_report.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/mld/mld_report.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/mld/mld_send.c b/net/mld/mld_send.c
index a451f70b31..2c059061da 100644
--- a/net/mld/mld_send.c
+++ b/net/mld/mld_send.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/mld/mld_send.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/mld/mld_timer.c b/net/mld/mld_timer.c
index 9b98165ffa..aab1295139 100644
--- a/net/mld/mld_timer.c
+++ b/net/mld/mld_timer.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/mld/mld_timer.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/nat/CMakeLists.txt b/net/nat/CMakeLists.txt
index 9bb2c7443a..07560cfc0c 100644
--- a/net/nat/CMakeLists.txt
+++ b/net/nat/CMakeLists.txt
@@ -1,6 +1,8 @@
# ##############################################################################
# net/nat/CMakeLists.txt
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/net/nat/Make.defs b/net/nat/Make.defs
index b5316ca4c9..d0a9a4b3be 100644
--- a/net/nat/Make.defs
+++ b/net/nat/Make.defs
@@ -1,6 +1,8 @@
############################################################################
# net/nat/Make.defs
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
diff --git a/net/nat/ipv4_nat.c b/net/nat/ipv4_nat.c
index 60098a5a00..9e6ddc75f5 100644
--- a/net/nat/ipv4_nat.c
+++ b/net/nat/ipv4_nat.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/nat/ipv4_nat.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/nat/ipv4_nat_entry.c b/net/nat/ipv4_nat_entry.c
index 6793ecfdcd..2d61994c59 100644
--- a/net/nat/ipv4_nat_entry.c
+++ b/net/nat/ipv4_nat_entry.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/nat/ipv4_nat_entry.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/nat/ipv6_nat.c b/net/nat/ipv6_nat.c
index a77132040c..ab38f2ac78 100644
--- a/net/nat/ipv6_nat.c
+++ b/net/nat/ipv6_nat.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/nat/ipv6_nat.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/nat/ipv6_nat_entry.c b/net/nat/ipv6_nat_entry.c
index c8f8493faf..8e5367913d 100644
--- a/net/nat/ipv6_nat_entry.c
+++ b/net/nat/ipv6_nat_entry.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/nat/ipv6_nat_entry.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/nat/nat.c b/net/nat/nat.c
index 454efd516b..773425035a 100644
--- a/net/nat/nat.c
+++ b/net/nat/nat.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/nat/nat.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/nat/nat.h b/net/nat/nat.h
index 4ef2d40e80..b2be81c3e1 100644
--- a/net/nat/nat.h
+++ b/net/nat/nat.h
@@ -1,6 +1,8 @@
/****************************************************************************
* net/nat/nat.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/neighbor/CMakeLists.txt b/net/neighbor/CMakeLists.txt
index 055559a2c5..7d057e54a3 100644
--- a/net/neighbor/CMakeLists.txt
+++ b/net/neighbor/CMakeLists.txt
@@ -1,6 +1,8 @@
# ##############################################################################
# net/neighbor/CMakeLists.txt
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/net/neighbor/Make.defs b/net/neighbor/Make.defs
index ce0c527f96..ecf44c9978 100644
--- a/net/neighbor/Make.defs
+++ b/net/neighbor/Make.defs
@@ -1,6 +1,8 @@
############################################################################
# net/neighbor/Make.defs
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
diff --git a/net/neighbor/neighbor.h b/net/neighbor/neighbor.h
index ab78254026..901d1bdf87 100644
--- a/net/neighbor/neighbor.h
+++ b/net/neighbor/neighbor.h
@@ -1,6 +1,7 @@
/****************************************************************************
* net/neighbor/neighbor.h
- * Header file for database of link-local neighbors, used by IPv6 code.
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/net/neighbor/neighbor_add.c b/net/neighbor/neighbor_add.c
index 6257f6abb2..6be9acc182 100644
--- a/net/neighbor/neighbor_add.c
+++ b/net/neighbor/neighbor_add.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/neighbor/neighbor_add.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/neighbor/neighbor_dumpentry.c b/net/neighbor/neighbor_dumpentry.c
index 495afa7767..e0e382e689 100644
--- a/net/neighbor/neighbor_dumpentry.c
+++ b/net/neighbor/neighbor_dumpentry.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/neighbor/neighbor_dumpentry.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/neighbor/neighbor_ethernet_out.c b/net/neighbor/neighbor_ethernet_out.c
index 00b641e63a..bfc8345d1c 100644
--- a/net/neighbor/neighbor_ethernet_out.c
+++ b/net/neighbor/neighbor_ethernet_out.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/neighbor/neighbor_ethernet_out.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/neighbor/neighbor_findentry.c b/net/neighbor/neighbor_findentry.c
index b3f1009a90..64deda00c0 100644
--- a/net/neighbor/neighbor_findentry.c
+++ b/net/neighbor/neighbor_findentry.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/neighbor/neighbor_findentry.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/neighbor/neighbor_globals.c b/net/neighbor/neighbor_globals.c
index 2ed2ea5f38..ae5b4dd4cf 100644
--- a/net/neighbor/neighbor_globals.c
+++ b/net/neighbor/neighbor_globals.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/neighbor/neighbor_globals.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/neighbor/neighbor_lookup.c b/net/neighbor/neighbor_lookup.c
index e1e194f546..7c613cd068 100644
--- a/net/neighbor/neighbor_lookup.c
+++ b/net/neighbor/neighbor_lookup.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/neighbor/neighbor_lookup.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/neighbor/neighbor_out.c b/net/neighbor/neighbor_out.c
index bb97ea2050..7326906afd 100644
--- a/net/neighbor/neighbor_out.c
+++ b/net/neighbor/neighbor_out.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/neighbor/neighbor_out.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/neighbor/neighbor_snapshot.c b/net/neighbor/neighbor_snapshot.c
index a35fb54347..d51282c7fe 100644
--- a/net/neighbor/neighbor_snapshot.c
+++ b/net/neighbor/neighbor_snapshot.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/neighbor/neighbor_snapshot.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/neighbor/neighbor_update.c b/net/neighbor/neighbor_update.c
index 388a73884b..74462e0d3c 100644
--- a/net/neighbor/neighbor_update.c
+++ b/net/neighbor/neighbor_update.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/neighbor/neighbor_update.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/net_initialize.c b/net/net_initialize.c
index 0fa2536598..d97f238d45 100644
--- a/net/net_initialize.c
+++ b/net/net_initialize.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/net_initialize.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/netdev/CMakeLists.txt b/net/netdev/CMakeLists.txt
index 8f58adf176..1ecdc0b924 100644
--- a/net/netdev/CMakeLists.txt
+++ b/net/netdev/CMakeLists.txt
@@ -1,6 +1,8 @@
# ##############################################################################
# net/netdev/CMakeLists.txt
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/net/netdev/Make.defs b/net/netdev/Make.defs
index 08793b0723..44a8c26533 100644
--- a/net/netdev/Make.defs
+++ b/net/netdev/Make.defs
@@ -1,6 +1,8 @@
############################################################################
# net/netdev/Make.defs
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
diff --git a/net/netdev/netdev.h b/net/netdev/netdev.h
index 18dc184368..05a3866f89 100644
--- a/net/netdev/netdev.h
+++ b/net/netdev/netdev.h
@@ -1,6 +1,8 @@
/****************************************************************************
* net/netdev/netdev.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/netdev/netdev_carrier.c b/net/netdev/netdev_carrier.c
index d767231aaa..378076d6b3 100644
--- a/net/netdev/netdev_carrier.c
+++ b/net/netdev/netdev_carrier.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/netdev/netdev_carrier.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/netdev/netdev_count.c b/net/netdev/netdev_count.c
index 49c9b43405..e0e634d2b5 100644
--- a/net/netdev/netdev_count.c
+++ b/net/netdev/netdev_count.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/netdev/netdev_count.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/netdev/netdev_default.c b/net/netdev/netdev_default.c
index 07faab7cc3..6163197b40 100644
--- a/net/netdev/netdev_default.c
+++ b/net/netdev/netdev_default.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/netdev/netdev_default.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/netdev/netdev_findbyaddr.c b/net/netdev/netdev_findbyaddr.c
index bfe5745d9b..88143b721a 100644
--- a/net/netdev/netdev_findbyaddr.c
+++ b/net/netdev/netdev_findbyaddr.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/netdev/netdev_findbyaddr.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/netdev/netdev_findbyindex.c b/net/netdev/netdev_findbyindex.c
index 44a5571cdb..508422e9d9 100644
--- a/net/netdev/netdev_findbyindex.c
+++ b/net/netdev/netdev_findbyindex.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/netdev/netdev_findbyindex.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/netdev/netdev_findbyname.c b/net/netdev/netdev_findbyname.c
index d27ab70596..2c7eec2ac5 100644
--- a/net/netdev/netdev_findbyname.c
+++ b/net/netdev/netdev_findbyname.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/netdev/netdev_findbyname.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/netdev/netdev_foreach.c b/net/netdev/netdev_foreach.c
index bd30c9b637..230d2859ab 100644
--- a/net/netdev/netdev_foreach.c
+++ b/net/netdev/netdev_foreach.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/netdev/netdev_foreach.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/netdev/netdev_ifconf.c b/net/netdev/netdev_ifconf.c
index 362c926b07..282df17b32 100644
--- a/net/netdev/netdev_ifconf.c
+++ b/net/netdev/netdev_ifconf.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/netdev/netdev_ifconf.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/netdev/netdev_input.c b/net/netdev/netdev_input.c
index 85aa6e7e57..eeed35fcb4 100644
--- a/net/netdev/netdev_input.c
+++ b/net/netdev/netdev_input.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/netdev/netdev_input.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/netdev/netdev_iob.c b/net/netdev/netdev_iob.c
index a69fa26165..bdaee0118d 100644
--- a/net/netdev/netdev_iob.c
+++ b/net/netdev/netdev_iob.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/netdev/netdev_iob.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/netdev/netdev_ioctl.c b/net/netdev/netdev_ioctl.c
index e9e64db692..0aaa79badd 100644
--- a/net/netdev/netdev_ioctl.c
+++ b/net/netdev/netdev_ioctl.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/netdev/netdev_ioctl.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/netdev/netdev_ipv6.c b/net/netdev/netdev_ipv6.c
index 9bf2c2121a..8a88eed294 100644
--- a/net/netdev/netdev_ipv6.c
+++ b/net/netdev/netdev_ipv6.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/netdev/netdev_ipv6.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/netdev/netdev_lladdrsize.c b/net/netdev/netdev_lladdrsize.c
index ad99fcb145..0e5fc81c42 100644
--- a/net/netdev/netdev_lladdrsize.c
+++ b/net/netdev/netdev_lladdrsize.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/netdev/netdev_lladdrsize.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/netdev/netdev_notify_recvcpu.c b/net/netdev/netdev_notify_recvcpu.c
index 18aac07cd8..88f2f2a9ef 100644
--- a/net/netdev/netdev_notify_recvcpu.c
+++ b/net/netdev/netdev_notify_recvcpu.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/netdev/netdev_notify_recvcpu.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/netdev/netdev_register.c b/net/netdev/netdev_register.c
index af3fa582b8..8fce60a85b 100644
--- a/net/netdev/netdev_register.c
+++ b/net/netdev/netdev_register.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/netdev/netdev_register.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/netdev/netdev_stats.c b/net/netdev/netdev_stats.c
index ac55d93a8b..bc7946249d 100644
--- a/net/netdev/netdev_stats.c
+++ b/net/netdev/netdev_stats.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/netdev/netdev_stats.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/netdev/netdev_txnotify.c b/net/netdev/netdev_txnotify.c
index 3bf5a08019..1320a871f7 100644
--- a/net/netdev/netdev_txnotify.c
+++ b/net/netdev/netdev_txnotify.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/netdev/netdev_txnotify.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/netdev/netdev_unregister.c b/net/netdev/netdev_unregister.c
index c0f9b219b6..fea0679958 100644
--- a/net/netdev/netdev_unregister.c
+++ b/net/netdev/netdev_unregister.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/netdev/netdev_unregister.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/netdev/netdev_verify.c b/net/netdev/netdev_verify.c
index ad0623c6bb..b803430b4f 100644
--- a/net/netdev/netdev_verify.c
+++ b/net/netdev/netdev_verify.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/netdev/netdev_verify.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/netdev/netdown_notifier.c b/net/netdev/netdown_notifier.c
index 54d05fbbd1..f007c94433 100644
--- a/net/netdev/netdown_notifier.c
+++ b/net/netdev/netdown_notifier.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/netdev/netdown_notifier.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/netfilter/CMakeLists.txt b/net/netfilter/CMakeLists.txt
index 7df9a00c32..13195ba4cf 100644
--- a/net/netfilter/CMakeLists.txt
+++ b/net/netfilter/CMakeLists.txt
@@ -1,6 +1,8 @@
# ##############################################################################
# net/netfilter/CMakeLists.txt
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/net/netfilter/Make.defs b/net/netfilter/Make.defs
index 7c26b4eb5f..2b554e5809 100644
--- a/net/netfilter/Make.defs
+++ b/net/netfilter/Make.defs
@@ -1,6 +1,8 @@
############################################################################
# net/netfilter/Make.defs
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
diff --git a/net/netfilter/ip6t_sockopt.c b/net/netfilter/ip6t_sockopt.c
index c4804ba5d4..c322f3e907 100644
--- a/net/netfilter/ip6t_sockopt.c
+++ b/net/netfilter/ip6t_sockopt.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/netfilter/ip6t_sockopt.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/netfilter/ipt_filter.c b/net/netfilter/ipt_filter.c
index 07822d3133..216778b5f6 100644
--- a/net/netfilter/ipt_filter.c
+++ b/net/netfilter/ipt_filter.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/netfilter/ipt_filter.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/netfilter/ipt_nat.c b/net/netfilter/ipt_nat.c
index 682f3018ce..11b8c30eb2 100644
--- a/net/netfilter/ipt_nat.c
+++ b/net/netfilter/ipt_nat.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/netfilter/ipt_nat.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/netfilter/ipt_sockopt.c b/net/netfilter/ipt_sockopt.c
index d1e6e0223d..0672dbdb29 100644
--- a/net/netfilter/ipt_sockopt.c
+++ b/net/netfilter/ipt_sockopt.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/netfilter/ipt_sockopt.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/netfilter/iptables.h b/net/netfilter/iptables.h
index a172e2eba7..87273dc98b 100644
--- a/net/netfilter/iptables.h
+++ b/net/netfilter/iptables.h
@@ -1,6 +1,8 @@
/****************************************************************************
* net/netfilter/iptables.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/netlink/CMakeLists.txt b/net/netlink/CMakeLists.txt
index 6f525c6d57..7e45e73b21 100644
--- a/net/netlink/CMakeLists.txt
+++ b/net/netlink/CMakeLists.txt
@@ -1,6 +1,8 @@
# ##############################################################################
# net/netlink/CMakeLists.txt
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/net/netlink/Make.defs b/net/netlink/Make.defs
index 363e9f2a93..b3627f9167 100644
--- a/net/netlink/Make.defs
+++ b/net/netlink/Make.defs
@@ -1,6 +1,8 @@
############################################################################
# net/netlink/Make.defs
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
diff --git a/net/netlink/netlink.h b/net/netlink/netlink.h
index cdfd7287d8..5d7ea0c9c0 100644
--- a/net/netlink/netlink.h
+++ b/net/netlink/netlink.h
@@ -1,6 +1,8 @@
/****************************************************************************
* net/netlink/netlink.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/netlink/netlink_attr.c b/net/netlink/netlink_attr.c
index a969e23cb0..10d9a60968 100644
--- a/net/netlink/netlink_attr.c
+++ b/net/netlink/netlink_attr.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/netlink/netlink_attr.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/netlink/netlink_conn.c b/net/netlink/netlink_conn.c
index 8f7673850c..8dec0b3f41 100644
--- a/net/netlink/netlink_conn.c
+++ b/net/netlink/netlink_conn.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/netlink/netlink_conn.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/netlink/netlink_netfilter.c b/net/netlink/netlink_netfilter.c
index 1fbdc90003..d1f6f1832a 100644
--- a/net/netlink/netlink_netfilter.c
+++ b/net/netlink/netlink_netfilter.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/netlink/netlink_netfilter.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/netlink/netlink_notifier.c b/net/netlink/netlink_notifier.c
index 782a9a6f65..9b85ecf814 100644
--- a/net/netlink/netlink_notifier.c
+++ b/net/netlink/netlink_notifier.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/netlink/netlink_notifier.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/netlink/netlink_route.c b/net/netlink/netlink_route.c
index 7d35e9f543..697df18240 100644
--- a/net/netlink/netlink_route.c
+++ b/net/netlink/netlink_route.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/netlink/netlink_route.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/netlink/netlink_sockif.c b/net/netlink/netlink_sockif.c
index 72de037697..dd2c6bc0bb 100644
--- a/net/netlink/netlink_sockif.c
+++ b/net/netlink/netlink_sockif.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/netlink/netlink_sockif.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/pkt/CMakeLists.txt b/net/pkt/CMakeLists.txt
index d1cb3e3f57..a658238b83 100644
--- a/net/pkt/CMakeLists.txt
+++ b/net/pkt/CMakeLists.txt
@@ -1,6 +1,8 @@
# ##############################################################################
# net/pkt/CMakeLists.txt
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/net/pkt/Make.defs b/net/pkt/Make.defs
index d6c378fad2..628d538079 100644
--- a/net/pkt/Make.defs
+++ b/net/pkt/Make.defs
@@ -1,6 +1,8 @@
############################################################################
# net/pkt/Make.defs
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
diff --git a/net/pkt/pkt.h b/net/pkt/pkt.h
index f7d193a48d..6910284778 100644
--- a/net/pkt/pkt.h
+++ b/net/pkt/pkt.h
@@ -1,6 +1,8 @@
/****************************************************************************
* net/pkt/pkt.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/pkt/pkt_callback.c b/net/pkt/pkt_callback.c
index fe3a9ec3b8..02ff88c7e2 100644
--- a/net/pkt/pkt_callback.c
+++ b/net/pkt/pkt_callback.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/pkt/pkt_callback.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/pkt/pkt_conn.c b/net/pkt/pkt_conn.c
index bb5d3a6dbd..601dff89f3 100644
--- a/net/pkt/pkt_conn.c
+++ b/net/pkt/pkt_conn.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/pkt/pkt_conn.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/pkt/pkt_finddev.c b/net/pkt/pkt_finddev.c
index 9ac3eeec24..f7d7f813bf 100644
--- a/net/pkt/pkt_finddev.c
+++ b/net/pkt/pkt_finddev.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/pkt/pkt_finddev.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/pkt/pkt_input.c b/net/pkt/pkt_input.c
index 3f06ce21d3..321d9eb8f5 100644
--- a/net/pkt/pkt_input.c
+++ b/net/pkt/pkt_input.c
@@ -1,6 +1,7 @@
/****************************************************************************
* net/pkt/pkt_input.c
- * Handling incoming packet input
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/net/pkt/pkt_poll.c b/net/pkt/pkt_poll.c
index 6901ee324b..f4eee116c1 100644
--- a/net/pkt/pkt_poll.c
+++ b/net/pkt/pkt_poll.c
@@ -1,6 +1,7 @@
/****************************************************************************
* net/pkt/pkt_poll.c
- * Poll for the availability of packet TX data
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/net/pkt/pkt_recvmsg.c b/net/pkt/pkt_recvmsg.c
index 400b8241b9..d1f355fc45 100644
--- a/net/pkt/pkt_recvmsg.c
+++ b/net/pkt/pkt_recvmsg.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/pkt/pkt_recvmsg.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/pkt/pkt_sendmsg.c b/net/pkt/pkt_sendmsg.c
index 09a23a502d..3e9d670d02 100644
--- a/net/pkt/pkt_sendmsg.c
+++ b/net/pkt/pkt_sendmsg.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/pkt/pkt_sendmsg.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/pkt/pkt_sockif.c b/net/pkt/pkt_sockif.c
index c7339cefd2..a19f57f67d 100644
--- a/net/pkt/pkt_sockif.c
+++ b/net/pkt/pkt_sockif.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/pkt/pkt_sockif.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/procfs/CMakeLists.txt b/net/procfs/CMakeLists.txt
index 405b5d6a9e..5b4cd5ae99 100644
--- a/net/procfs/CMakeLists.txt
+++ b/net/procfs/CMakeLists.txt
@@ -1,6 +1,8 @@
# ##############################################################################
# net/procfs/CMakeLists.txt
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/net/procfs/Make.defs b/net/procfs/Make.defs
index cf7fb43bcf..54b17babe3 100644
--- a/net/procfs/Make.defs
+++ b/net/procfs/Make.defs
@@ -1,6 +1,8 @@
############################################################################
# net/procfs/Make.defs
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
diff --git a/net/procfs/net_mld.c b/net/procfs/net_mld.c
index 8a8d023da1..083da088f2 100644
--- a/net/procfs/net_mld.c
+++ b/net/procfs/net_mld.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/procfs/net_mld.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/procfs/net_procfs.c b/net/procfs/net_procfs.c
index 80960ca213..ade2c74653 100644
--- a/net/procfs/net_procfs.c
+++ b/net/procfs/net_procfs.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/procfs/net_procfs.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/procfs/net_procfs_route.c b/net/procfs/net_procfs_route.c
index 19c4c794a8..a8b38c741b 100644
--- a/net/procfs/net_procfs_route.c
+++ b/net/procfs/net_procfs_route.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/procfs/net_procfs_route.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/procfs/net_statistics.c b/net/procfs/net_statistics.c
index 9ec6458423..e868e93195 100644
--- a/net/procfs/net_statistics.c
+++ b/net/procfs/net_statistics.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/procfs/net_statistics.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/procfs/net_tcp.c b/net/procfs/net_tcp.c
index 942b77f114..95b9e41775 100644
--- a/net/procfs/net_tcp.c
+++ b/net/procfs/net_tcp.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/procfs/net_tcp.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/procfs/net_udp.c b/net/procfs/net_udp.c
index 04d616bed2..fa7e7e4a3a 100644
--- a/net/procfs/net_udp.c
+++ b/net/procfs/net_udp.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/procfs/net_udp.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/procfs/netdev_statistics.c b/net/procfs/netdev_statistics.c
index 46d02daf44..8c7211df35 100644
--- a/net/procfs/netdev_statistics.c
+++ b/net/procfs/netdev_statistics.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/procfs/netdev_statistics.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/procfs/procfs.h b/net/procfs/procfs.h
index 39ad93e36d..a1aac5e2e0 100644
--- a/net/procfs/procfs.h
+++ b/net/procfs/procfs.h
@@ -1,6 +1,8 @@
/****************************************************************************
* net/procfs/procfs.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/route/CMakeLists.txt b/net/route/CMakeLists.txt
index 274668792c..1b891fa133 100644
--- a/net/route/CMakeLists.txt
+++ b/net/route/CMakeLists.txt
@@ -1,6 +1,8 @@
# ##############################################################################
# net/route/CMakeLists.txt
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/net/route/Make.defs b/net/route/Make.defs
index f8e32d9596..ea45ef761a 100644
--- a/net/route/Make.defs
+++ b/net/route/Make.defs
@@ -1,6 +1,8 @@
############################################################################
# net/route/Make.defs
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
diff --git a/net/route/cacheroute.h b/net/route/cacheroute.h
index 20fceac6a2..9ed7e796c0 100644
--- a/net/route/cacheroute.h
+++ b/net/route/cacheroute.h
@@ -1,6 +1,8 @@
/****************************************************************************
* net/route/cacheroute.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/route/fileroute.h b/net/route/fileroute.h
index 454aaa6542..a5e5ae41f4 100644
--- a/net/route/fileroute.h
+++ b/net/route/fileroute.h
@@ -1,6 +1,8 @@
/****************************************************************************
* net/route/fileroute.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/route/net_add_fileroute.c b/net/route/net_add_fileroute.c
index 51593ac47a..f5ec86ed26 100644
--- a/net/route/net_add_fileroute.c
+++ b/net/route/net_add_fileroute.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/route/net_add_fileroute.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/route/net_add_ramroute.c b/net/route/net_add_ramroute.c
index 5f1907839d..e0c95943d5 100644
--- a/net/route/net_add_ramroute.c
+++ b/net/route/net_add_ramroute.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/route/net_add_ramroute.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/route/net_alloc_ramroute.c b/net/route/net_alloc_ramroute.c
index 17d60f7f03..e5ec79ece3 100644
--- a/net/route/net_alloc_ramroute.c
+++ b/net/route/net_alloc_ramroute.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/route/net_alloc_ramroute.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/route/net_cacheroute.c b/net/route/net_cacheroute.c
index 9477ce59e3..4ca6f13702 100644
--- a/net/route/net_cacheroute.c
+++ b/net/route/net_cacheroute.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/route/net_cacheroute.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/route/net_del_fileroute.c b/net/route/net_del_fileroute.c
index 5c232ec030..b5db40fd13 100644
--- a/net/route/net_del_fileroute.c
+++ b/net/route/net_del_fileroute.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/route/net_del_fileroute.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/route/net_del_ramroute.c b/net/route/net_del_ramroute.c
index 71e8b067b7..3fdf00e940 100644
--- a/net/route/net_del_ramroute.c
+++ b/net/route/net_del_ramroute.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/route/net_del_ramroute.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/route/net_dumproute.c b/net/route/net_dumproute.c
index 4c1267441d..feb52382c8 100644
--- a/net/route/net_dumproute.c
+++ b/net/route/net_dumproute.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/route/net_dumproute.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/route/net_fileroute.c b/net/route/net_fileroute.c
index 9d61a917c9..9e2b109fcb 100644
--- a/net/route/net_fileroute.c
+++ b/net/route/net_fileroute.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/route/net_fileroute.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/route/net_foreach_fileroute.c b/net/route/net_foreach_fileroute.c
index a6485575b9..c467415f7a 100644
--- a/net/route/net_foreach_fileroute.c
+++ b/net/route/net_foreach_fileroute.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/route/net_foreach_fileroute.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/route/net_foreach_ramroute.c b/net/route/net_foreach_ramroute.c
index a751936aca..97b2fcfe09 100644
--- a/net/route/net_foreach_ramroute.c
+++ b/net/route/net_foreach_ramroute.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/route/net_foreach_ramroute.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/route/net_foreach_romroute.c b/net/route/net_foreach_romroute.c
index fddbaace18..49c5e88cf3 100644
--- a/net/route/net_foreach_romroute.c
+++ b/net/route/net_foreach_romroute.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/route/net_foreach_romroute.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/route/net_initroute.c b/net/route/net_initroute.c
index 7af4464b19..aedaa758ba 100644
--- a/net/route/net_initroute.c
+++ b/net/route/net_initroute.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/route/net_initroute.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/route/net_queue_ramroute.c b/net/route/net_queue_ramroute.c
index c1ae77335f..c0fac1f337 100644
--- a/net/route/net_queue_ramroute.c
+++ b/net/route/net_queue_ramroute.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/route/net_queue_ramroute.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/route/net_router.c b/net/route/net_router.c
index c1a135685c..3829e081e4 100644
--- a/net/route/net_router.c
+++ b/net/route/net_router.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/route/net_router.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/route/netdev_router.c b/net/route/netdev_router.c
index 8ba711736e..284a0cd5d2 100644
--- a/net/route/netdev_router.c
+++ b/net/route/netdev_router.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/route/netdev_router.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/route/ramroute.h b/net/route/ramroute.h
index 164084ef96..74aff0c0c6 100644
--- a/net/route/ramroute.h
+++ b/net/route/ramroute.h
@@ -1,6 +1,8 @@
/****************************************************************************
* net/route/ramroute.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/route/romroute.h b/net/route/romroute.h
index 76b175f50e..2767817ed7 100644
--- a/net/route/romroute.h
+++ b/net/route/romroute.h
@@ -1,6 +1,8 @@
/****************************************************************************
* net/route/romroute.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/route/route.h b/net/route/route.h
index d018b16650..29adf7020b 100644
--- a/net/route/route.h
+++ b/net/route/route.h
@@ -1,6 +1,8 @@
/****************************************************************************
* net/route/route.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/rpmsg/CMakeLists.txt b/net/rpmsg/CMakeLists.txt
index 4dae39a0af..2518678006 100644
--- a/net/rpmsg/CMakeLists.txt
+++ b/net/rpmsg/CMakeLists.txt
@@ -1,6 +1,8 @@
# ##############################################################################
# net/rpmsg/CMakeLists.txt
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/net/rpmsg/Make.defs b/net/rpmsg/Make.defs
index cde7e6f766..a86530b943 100644
--- a/net/rpmsg/Make.defs
+++ b/net/rpmsg/Make.defs
@@ -1,6 +1,8 @@
############################################################################
# net/rpmsg/Make.defs
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
diff --git a/net/rpmsg/rpmsg.h b/net/rpmsg/rpmsg.h
index 8d41bc9816..21e74af7ba 100644
--- a/net/rpmsg/rpmsg.h
+++ b/net/rpmsg/rpmsg.h
@@ -1,6 +1,8 @@
/****************************************************************************
* net/rpmsg/rpmsg.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/rpmsg/rpmsg_sockif.c b/net/rpmsg/rpmsg_sockif.c
index 46eadc27f4..f0626f7c8b 100644
--- a/net/rpmsg/rpmsg_sockif.c
+++ b/net/rpmsg/rpmsg_sockif.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/rpmsg/rpmsg_sockif.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/sixlowpan/CMakeLists.txt b/net/sixlowpan/CMakeLists.txt
index 4677eed5bf..9dd49ea4f9 100644
--- a/net/sixlowpan/CMakeLists.txt
+++ b/net/sixlowpan/CMakeLists.txt
@@ -1,6 +1,8 @@
# ##############################################################################
# net/sixlowpan/CMakeLists.txt
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/net/sixlowpan/Make.defs b/net/sixlowpan/Make.defs
index b945556681..13371712ac 100644
--- a/net/sixlowpan/Make.defs
+++ b/net/sixlowpan/Make.defs
@@ -1,6 +1,8 @@
############################################################################
# net/sixlowpan/Make.defs
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
diff --git a/net/sixlowpan/sixlowpan.h b/net/sixlowpan/sixlowpan.h
index d56e2e2c78..add4d184b8 100644
--- a/net/sixlowpan/sixlowpan.h
+++ b/net/sixlowpan/sixlowpan.h
@@ -1,6 +1,8 @@
/****************************************************************************
* net/sixlowpan/sixlowpan.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/sixlowpan/sixlowpan_framelist.c b/net/sixlowpan/sixlowpan_framelist.c
index ba517b9eb1..660b53177a 100644
--- a/net/sixlowpan/sixlowpan_framelist.c
+++ b/net/sixlowpan/sixlowpan_framelist.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/sixlowpan/sixlowpan_framelist.c
*
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (C) 2017-2018 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gn...@nuttx.org>
*
diff --git a/net/sixlowpan/sixlowpan_framer.c b/net/sixlowpan/sixlowpan_framer.c
index 2daab4b54d..d1437dea38 100644
--- a/net/sixlowpan/sixlowpan_framer.c
+++ b/net/sixlowpan/sixlowpan_framer.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/sixlowpan/sixlowpan_framer.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/sixlowpan/sixlowpan_globals.c b/net/sixlowpan/sixlowpan_globals.c
index cd1205ae41..062f1f1fbc 100644
--- a/net/sixlowpan/sixlowpan_globals.c
+++ b/net/sixlowpan/sixlowpan_globals.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/sixlowpan/sixlowpan_globals.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/sixlowpan/sixlowpan_hc06.c b/net/sixlowpan/sixlowpan_hc06.c
index 906b92ca1a..35596b2683 100644
--- a/net/sixlowpan/sixlowpan_hc06.c
+++ b/net/sixlowpan/sixlowpan_hc06.c
@@ -1,7 +1,7 @@
/****************************************************************************
* net/sixlowpan/sixlowpan_hc06.c
- * 6lowpan HC06 implementation (draft-ietf-6lowpan-hc-06, updated to RFC
- * 6282)
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (C) 2017, 2019-2020 Gregory Nutt, all rights reserved
* Author: Gregory Nutt <gn...@nuttx.org>
diff --git a/net/sixlowpan/sixlowpan_hc1.c b/net/sixlowpan/sixlowpan_hc1.c
index b7a139c2eb..503baba108 100644
--- a/net/sixlowpan/sixlowpan_hc1.c
+++ b/net/sixlowpan/sixlowpan_hc1.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/sixlowpan/sixlowpan_hc1.c
*
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (C) 2017, Gregory Nutt, all rights reserved
* Author: Gregory Nutt <gn...@nuttx.org>
*
diff --git a/net/sixlowpan/sixlowpan_icmpv6send.c b/net/sixlowpan/sixlowpan_icmpv6send.c
index 0e7448edcd..94826d5a93 100644
--- a/net/sixlowpan/sixlowpan_icmpv6send.c
+++ b/net/sixlowpan/sixlowpan_icmpv6send.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/sixlowpan/sixlowpan_icmpv6send.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/sixlowpan/sixlowpan_initialize.c b/net/sixlowpan/sixlowpan_initialize.c
index c1d7ee83a5..74e9aeb19b 100644
--- a/net/sixlowpan/sixlowpan_initialize.c
+++ b/net/sixlowpan/sixlowpan_initialize.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/sixlowpan/sixlowpan_initialize.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/sixlowpan/sixlowpan_input.c b/net/sixlowpan/sixlowpan_input.c
index 0e7bb2ac4b..d5277ed466 100644
--- a/net/sixlowpan/sixlowpan_input.c
+++ b/net/sixlowpan/sixlowpan_input.c
@@ -1,6 +1,7 @@
/****************************************************************************
* net/sixlowpan/sixlowpan_input.c
- * 6LoWPAN implementation (RFC 4944 and RFC 6282)
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (C) 2017, Gregory Nutt, all rights reserved
* Author: Gregory Nutt <gn...@nuttx.org>
diff --git a/net/sixlowpan/sixlowpan_internal.h b/net/sixlowpan/sixlowpan_internal.h
index a7abf9416a..5c169b2320 100644
--- a/net/sixlowpan/sixlowpan_internal.h
+++ b/net/sixlowpan/sixlowpan_internal.h
@@ -1,6 +1,8 @@
/****************************************************************************
* net/sixlowpan/sixlowpan_internal.h
*
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gn...@nuttx.org>
*
diff --git a/net/sixlowpan/sixlowpan_reassbuf.c b/net/sixlowpan/sixlowpan_reassbuf.c
index 2eaef67d9d..a0fd268feb 100644
--- a/net/sixlowpan/sixlowpan_reassbuf.c
+++ b/net/sixlowpan/sixlowpan_reassbuf.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/sixlowpan/sixlowpan_reassbuf.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/sixlowpan/sixlowpan_send.c b/net/sixlowpan/sixlowpan_send.c
index 6b4dead38d..0469684488 100644
--- a/net/sixlowpan/sixlowpan_send.c
+++ b/net/sixlowpan/sixlowpan_send.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/sixlowpan/sixlowpan_send.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/sixlowpan/sixlowpan_tcpsend.c b/net/sixlowpan/sixlowpan_tcpsend.c
index e8f534c700..4156d5b6e7 100644
--- a/net/sixlowpan/sixlowpan_tcpsend.c
+++ b/net/sixlowpan/sixlowpan_tcpsend.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/sixlowpan/sixlowpan_tcpsend.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/sixlowpan/sixlowpan_udpsend.c b/net/sixlowpan/sixlowpan_udpsend.c
index 337ce95d05..70ae8c5400 100644
--- a/net/sixlowpan/sixlowpan_udpsend.c
+++ b/net/sixlowpan/sixlowpan_udpsend.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/sixlowpan/sixlowpan_udpsend.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/sixlowpan/sixlowpan_utils.c b/net/sixlowpan/sixlowpan_utils.c
index d5b382d7fb..0b458dd3a4 100644
--- a/net/sixlowpan/sixlowpan_utils.c
+++ b/net/sixlowpan/sixlowpan_utils.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/sixlowpan/sixlowpan_utils.c
*
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gn...@nuttx.org>
*
diff --git a/net/socket/CMakeLists.txt b/net/socket/CMakeLists.txt
index ec45c8a9c2..776b190c72 100644
--- a/net/socket/CMakeLists.txt
+++ b/net/socket/CMakeLists.txt
@@ -1,6 +1,8 @@
# ##############################################################################
# net/socket/CMakeLists.txt
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/net/socket/Make.defs b/net/socket/Make.defs
index ca28a4edc7..84f9527633 100644
--- a/net/socket/Make.defs
+++ b/net/socket/Make.defs
@@ -1,6 +1,8 @@
############################################################################
# net/socket/Make.defs
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
diff --git a/net/socket/accept.c b/net/socket/accept.c
index 75e68031e6..60e52f2841 100644
--- a/net/socket/accept.c
+++ b/net/socket/accept.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/socket/accept.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/socket/bind.c b/net/socket/bind.c
index 8a74c1d0a2..23b9f9007b 100644
--- a/net/socket/bind.c
+++ b/net/socket/bind.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/socket/bind.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/socket/connect.c b/net/socket/connect.c
index 52abec96a0..0b7ae98bfa 100644
--- a/net/socket/connect.c
+++ b/net/socket/connect.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/socket/connect.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/socket/getpeername.c b/net/socket/getpeername.c
index 5a0ec7ae11..0460a178af 100644
--- a/net/socket/getpeername.c
+++ b/net/socket/getpeername.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/socket/getpeername.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/socket/getsockname.c b/net/socket/getsockname.c
index c70a1d71ef..0a8e7c1aaf 100644
--- a/net/socket/getsockname.c
+++ b/net/socket/getsockname.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/socket/getsockname.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/socket/getsockopt.c b/net/socket/getsockopt.c
index fc38a9a9f5..790c019f87 100644
--- a/net/socket/getsockopt.c
+++ b/net/socket/getsockopt.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/socket/getsockopt.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/socket/listen.c b/net/socket/listen.c
index 94957c70fb..480681c2b1 100644
--- a/net/socket/listen.c
+++ b/net/socket/listen.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/socket/listen.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/socket/net_close.c b/net/socket/net_close.c
index 4ffc56b5c5..62a63e13ad 100644
--- a/net/socket/net_close.c
+++ b/net/socket/net_close.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/socket/net_close.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/socket/net_dup2.c b/net/socket/net_dup2.c
index 53b5316a7f..ad15503442 100644
--- a/net/socket/net_dup2.c
+++ b/net/socket/net_dup2.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/socket/net_dup2.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/socket/net_fstat.c b/net/socket/net_fstat.c
index a998ad9914..dcb72702a9 100644
--- a/net/socket/net_fstat.c
+++ b/net/socket/net_fstat.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/socket/net_fstat.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/socket/net_poll.c b/net/socket/net_poll.c
index 09fe852f5d..11b47f7982 100644
--- a/net/socket/net_poll.c
+++ b/net/socket/net_poll.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/socket/net_poll.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/socket/net_sendfile.c b/net/socket/net_sendfile.c
index 441dc0d8c3..623dd86015 100644
--- a/net/socket/net_sendfile.c
+++ b/net/socket/net_sendfile.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/socket/net_sendfile.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/socket/net_sockif.c b/net/socket/net_sockif.c
index e2bfc4736e..4925bc19ce 100644
--- a/net/socket/net_sockif.c
+++ b/net/socket/net_sockif.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/socket/net_sockif.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/socket/net_timeo.c b/net/socket/net_timeo.c
index b3c66aaec3..c9a757e915 100644
--- a/net/socket/net_timeo.c
+++ b/net/socket/net_timeo.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/socket/net_timeo.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/socket/recv.c b/net/socket/recv.c
index 5b8f7dabb9..772ba216dc 100644
--- a/net/socket/recv.c
+++ b/net/socket/recv.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/socket/recv.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/socket/recvfrom.c b/net/socket/recvfrom.c
index 5e24c3df95..852aef7c79 100644
--- a/net/socket/recvfrom.c
+++ b/net/socket/recvfrom.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/socket/recvfrom.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/socket/recvmsg.c b/net/socket/recvmsg.c
index 833d4d7cb0..658f244e61 100644
--- a/net/socket/recvmsg.c
+++ b/net/socket/recvmsg.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/socket/recvmsg.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/socket/send.c b/net/socket/send.c
index b7b4108ad8..9ebe91cf52 100644
--- a/net/socket/send.c
+++ b/net/socket/send.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/socket/send.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/socket/sendmsg.c b/net/socket/sendmsg.c
index ce889b7193..9a905df534 100644
--- a/net/socket/sendmsg.c
+++ b/net/socket/sendmsg.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/socket/sendmsg.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/socket/sendto.c b/net/socket/sendto.c
index c19dd25921..6f59de7a73 100644
--- a/net/socket/sendto.c
+++ b/net/socket/sendto.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/socket/sendto.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/socket/setsockopt.c b/net/socket/setsockopt.c
index 2e1e5df809..00ae203f87 100644
--- a/net/socket/setsockopt.c
+++ b/net/socket/setsockopt.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/socket/setsockopt.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/socket/shutdown.c b/net/socket/shutdown.c
index fcf4db82e3..0947a0aaf1 100644
--- a/net/socket/shutdown.c
+++ b/net/socket/shutdown.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/socket/shutdown.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/socket/socket.c b/net/socket/socket.c
index d6623137ad..0e829912a7 100644
--- a/net/socket/socket.c
+++ b/net/socket/socket.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/socket/socket.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/socket/socket.h b/net/socket/socket.h
index b824bc2aa1..89f15284b7 100644
--- a/net/socket/socket.h
+++ b/net/socket/socket.h
@@ -1,6 +1,8 @@
/****************************************************************************
* net/socket/socket.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/socket/socketpair.c b/net/socket/socketpair.c
index 75dabefe64..fb06d06daf 100644
--- a/net/socket/socketpair.c
+++ b/net/socket/socketpair.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/socket/socketpair.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/tcp/CMakeLists.txt b/net/tcp/CMakeLists.txt
index 9954461b5e..a949756942 100644
--- a/net/tcp/CMakeLists.txt
+++ b/net/tcp/CMakeLists.txt
@@ -1,6 +1,8 @@
# ##############################################################################
# net/tcp/CMakeLists.txt
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/net/tcp/Make.defs b/net/tcp/Make.defs
index 2adbc976fe..1458e13be6 100644
--- a/net/tcp/Make.defs
+++ b/net/tcp/Make.defs
@@ -1,6 +1,8 @@
############################################################################
# net/tcp/Make.defs
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
diff --git a/net/tcp/tcp.h b/net/tcp/tcp.h
index 7dd208ea37..a42696a696 100644
--- a/net/tcp/tcp.h
+++ b/net/tcp/tcp.h
@@ -1,6 +1,8 @@
/****************************************************************************
* net/tcp/tcp.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/tcp/tcp_accept.c b/net/tcp/tcp_accept.c
index 6b0e6b522e..dd5beb97d8 100644
--- a/net/tcp/tcp_accept.c
+++ b/net/tcp/tcp_accept.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/tcp/tcp_accept.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/tcp/tcp_appsend.c b/net/tcp/tcp_appsend.c
index 04e6526ac1..97b1cf16d7 100644
--- a/net/tcp/tcp_appsend.c
+++ b/net/tcp/tcp_appsend.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/tcp/tcp_appsend.c
*
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (C) 2007-2010, 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gn...@nuttx.org>
*
diff --git a/net/tcp/tcp_backlog.c b/net/tcp/tcp_backlog.c
index 89f9e08c81..da73323b0d 100644
--- a/net/tcp/tcp_backlog.c
+++ b/net/tcp/tcp_backlog.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/tcp/tcp_backlog.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/tcp/tcp_callback.c b/net/tcp/tcp_callback.c
index 89077bae8e..245d724d98 100644
--- a/net/tcp/tcp_callback.c
+++ b/net/tcp/tcp_callback.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/tcp/tcp_callback.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/tcp/tcp_cc.c b/net/tcp/tcp_cc.c
index b143acd732..f6207db541 100644
--- a/net/tcp/tcp_cc.c
+++ b/net/tcp/tcp_cc.c
@@ -1,6 +1,7 @@
/****************************************************************************
* net/tcp/tcp_cc.c
- * Handling TCP congestion control
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/net/tcp/tcp_close.c b/net/tcp/tcp_close.c
index a706de02e2..d392d684b5 100644
--- a/net/tcp/tcp_close.c
+++ b/net/tcp/tcp_close.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/tcp/tcp_close.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/tcp/tcp_conn.c b/net/tcp/tcp_conn.c
index cdcb2f3020..2cc05157f5 100644
--- a/net/tcp/tcp_conn.c
+++ b/net/tcp/tcp_conn.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/tcp/tcp_conn.c
*
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (C) 2007-2011, 2013-2015, 2018 Gregory Nutt. All rights
* reserved.
* Author: Gregory Nutt <gn...@nuttx.org>
diff --git a/net/tcp/tcp_connect.c b/net/tcp/tcp_connect.c
index 1cbe5910f2..efd2af5d06 100644
--- a/net/tcp/tcp_connect.c
+++ b/net/tcp/tcp_connect.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/tcp/tcp_connect.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/tcp/tcp_devpoll.c b/net/tcp/tcp_devpoll.c
index b01303d89c..741b13ff72 100644
--- a/net/tcp/tcp_devpoll.c
+++ b/net/tcp/tcp_devpoll.c
@@ -1,6 +1,7 @@
/****************************************************************************
* net/tcp/tcp_devpoll.c
- * Driver poll for the availability of TCP TX data
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (C) 2007-2009, 2016-2017 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gn...@nuttx.org>
diff --git a/net/tcp/tcp_dump.c b/net/tcp/tcp_dump.c
index b8601a1f0e..c273b39424 100644
--- a/net/tcp/tcp_dump.c
+++ b/net/tcp/tcp_dump.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/tcp/tcp_dump.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/tcp/tcp_finddev.c b/net/tcp/tcp_finddev.c
index 07961cc8c2..921c2a44f7 100644
--- a/net/tcp/tcp_finddev.c
+++ b/net/tcp/tcp_finddev.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/tcp/tcp_finddev.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/tcp/tcp_getsockopt.c b/net/tcp/tcp_getsockopt.c
index e3cbdf7f0c..8448787e18 100644
--- a/net/tcp/tcp_getsockopt.c
+++ b/net/tcp/tcp_getsockopt.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/tcp/tcp_getsockopt.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/tcp/tcp_input.c b/net/tcp/tcp_input.c
index 3b1bedd634..723cacf467 100644
--- a/net/tcp/tcp_input.c
+++ b/net/tcp/tcp_input.c
@@ -1,6 +1,7 @@
/****************************************************************************
* net/tcp/tcp_input.c
- * Handling incoming TCP input
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (C) 2007-2014, 2017-2019, 2020 Gregory Nutt. All rights
* reserved.
diff --git a/net/tcp/tcp_ioctl.c b/net/tcp/tcp_ioctl.c
index f96254fc35..7e95eea4c7 100644
--- a/net/tcp/tcp_ioctl.c
+++ b/net/tcp/tcp_ioctl.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/tcp/tcp_ioctl.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/tcp/tcp_ipselect.c b/net/tcp/tcp_ipselect.c
index bb23bf825e..600bc14345 100644
--- a/net/tcp/tcp_ipselect.c
+++ b/net/tcp/tcp_ipselect.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/tcp/tcp_ipselect.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/tcp/tcp_listen.c b/net/tcp/tcp_listen.c
index ad4397786d..d76829ec66 100644
--- a/net/tcp/tcp_listen.c
+++ b/net/tcp/tcp_listen.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/tcp/tcp_listen.c
*
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gn...@nuttx.org>
*
diff --git a/net/tcp/tcp_monitor.c b/net/tcp/tcp_monitor.c
index 96e73883b2..bccd87349c 100644
--- a/net/tcp/tcp_monitor.c
+++ b/net/tcp/tcp_monitor.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/tcp/tcp_monitor.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/tcp/tcp_netpoll.c b/net/tcp/tcp_netpoll.c
index 05d1acfc8f..f31077bcf5 100644
--- a/net/tcp/tcp_netpoll.c
+++ b/net/tcp/tcp_netpoll.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/tcp/tcp_netpoll.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/tcp/tcp_notifier.c b/net/tcp/tcp_notifier.c
index 62dd486773..edb8e9f2f1 100644
--- a/net/tcp/tcp_notifier.c
+++ b/net/tcp/tcp_notifier.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/tcp/tcp_notifier.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/tcp/tcp_recvfrom.c b/net/tcp/tcp_recvfrom.c
index 55c4a066d5..a67c49edbb 100644
--- a/net/tcp/tcp_recvfrom.c
+++ b/net/tcp/tcp_recvfrom.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/tcp/tcp_recvfrom.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/tcp/tcp_recvwindow.c b/net/tcp/tcp_recvwindow.c
index 2777c86230..382e9624e6 100644
--- a/net/tcp/tcp_recvwindow.c
+++ b/net/tcp/tcp_recvwindow.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/tcp/tcp_recvwindow.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/tcp/tcp_send.c b/net/tcp/tcp_send.c
index 08d16b175c..06fb576e0f 100644
--- a/net/tcp/tcp_send.c
+++ b/net/tcp/tcp_send.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/tcp/tcp_send.c
*
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (C) 2007-2010, 2012, 2015, 2018-2019 Gregory Nutt. All rights
* reserved.
* Author: Gregory Nutt <gn...@nuttx.org>
diff --git a/net/tcp/tcp_send_buffered.c b/net/tcp/tcp_send_buffered.c
index 090257ed1c..02281861b6 100644
--- a/net/tcp/tcp_send_buffered.c
+++ b/net/tcp/tcp_send_buffered.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/tcp/tcp_send_buffered.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/tcp/tcp_send_unbuffered.c b/net/tcp/tcp_send_unbuffered.c
index 26c091d804..45be95614b 100644
--- a/net/tcp/tcp_send_unbuffered.c
+++ b/net/tcp/tcp_send_unbuffered.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/tcp/tcp_send_unbuffered.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/tcp/tcp_sendfile.c b/net/tcp/tcp_sendfile.c
index 6f27a806b2..0268c16e89 100644
--- a/net/tcp/tcp_sendfile.c
+++ b/net/tcp/tcp_sendfile.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/tcp/tcp_sendfile.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/tcp/tcp_seqno.c b/net/tcp/tcp_seqno.c
index d790b2243a..15289af5f8 100644
--- a/net/tcp/tcp_seqno.c
+++ b/net/tcp/tcp_seqno.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/tcp/tcp_seqno.c
*
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gn...@nuttx.org>
*
diff --git a/net/tcp/tcp_setsockopt.c b/net/tcp/tcp_setsockopt.c
index ba2bdf6522..49fa51a5c8 100644
--- a/net/tcp/tcp_setsockopt.c
+++ b/net/tcp/tcp_setsockopt.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/tcp/tcp_setsockopt.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/tcp/tcp_shutdown.c b/net/tcp/tcp_shutdown.c
index 282c78a60c..2f18a9814f 100644
--- a/net/tcp/tcp_shutdown.c
+++ b/net/tcp/tcp_shutdown.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/tcp/tcp_shutdown.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/tcp/tcp_timer.c b/net/tcp/tcp_timer.c
index 8de0fa1447..1bfacfbb02 100644
--- a/net/tcp/tcp_timer.c
+++ b/net/tcp/tcp_timer.c
@@ -1,6 +1,7 @@
/****************************************************************************
* net/tcp/tcp_timer.c
- * Poll for the availability of TCP TX data
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (C) 2007-2010, 2015-2016, 2018, 2020 Gregory Nutt. All rights
* reserved.
diff --git a/net/tcp/tcp_txdrain.c b/net/tcp/tcp_txdrain.c
index 465b94a74c..3339ec0233 100644
--- a/net/tcp/tcp_txdrain.c
+++ b/net/tcp/tcp_txdrain.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/tcp/tcp_txdrain.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/tcp/tcp_wrbuffer.c b/net/tcp/tcp_wrbuffer.c
index 1ff8cf519b..4e42673609 100644
--- a/net/tcp/tcp_wrbuffer.c
+++ b/net/tcp/tcp_wrbuffer.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/tcp/tcp_wrbuffer.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/udp/CMakeLists.txt b/net/udp/CMakeLists.txt
index 7f7f3075fc..ef115f7faf 100644
--- a/net/udp/CMakeLists.txt
+++ b/net/udp/CMakeLists.txt
@@ -1,6 +1,8 @@
# ##############################################################################
# net/udp/CMakeLists.txt
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/net/udp/Make.defs b/net/udp/Make.defs
index ed420578b8..c638b7e3e5 100644
--- a/net/udp/Make.defs
+++ b/net/udp/Make.defs
@@ -1,6 +1,8 @@
############################################################################
# net/udp/Make.defs
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
diff --git a/net/udp/udp.h b/net/udp/udp.h
index f1f18ef00a..f131556816 100644
--- a/net/udp/udp.h
+++ b/net/udp/udp.h
@@ -1,6 +1,8 @@
/****************************************************************************
* net/udp/udp.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/udp/udp_callback.c b/net/udp/udp_callback.c
index ff417b5d18..87dd776f0f 100644
--- a/net/udp/udp_callback.c
+++ b/net/udp/udp_callback.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/udp/udp_callback.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/udp/udp_close.c b/net/udp/udp_close.c
index 42ade8f897..ea0ee25abc 100644
--- a/net/udp/udp_close.c
+++ b/net/udp/udp_close.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/udp/udp_close.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/udp/udp_conn.c b/net/udp/udp_conn.c
index 3fe130a216..83a13e725e 100644
--- a/net/udp/udp_conn.c
+++ b/net/udp/udp_conn.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/udp/udp_conn.c
*
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (C) 2007-2009, 2011-2012, 2016, 2018 Gregory Nutt. All rights
* reserved.
* Author: Gregory Nutt <gn...@nuttx.org>
diff --git a/net/udp/udp_devpoll.c b/net/udp/udp_devpoll.c
index d317147f9e..e35bc78934 100644
--- a/net/udp/udp_devpoll.c
+++ b/net/udp/udp_devpoll.c
@@ -1,6 +1,7 @@
/****************************************************************************
* net/udp/udp_devpoll.c
- * Network device poll for the availability of UDP TX data
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gn...@nuttx.org>
diff --git a/net/udp/udp_finddev.c b/net/udp/udp_finddev.c
index b4c2d92b50..2b953a0b0f 100644
--- a/net/udp/udp_finddev.c
+++ b/net/udp/udp_finddev.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/udp/udp_finddev.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/udp/udp_input.c b/net/udp/udp_input.c
index 3359e3f612..ef6a4fc416 100644
--- a/net/udp/udp_input.c
+++ b/net/udp/udp_input.c
@@ -1,6 +1,7 @@
/****************************************************************************
* net/udp/udp_input.c
- * Handling incoming UDP input
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (C) 2007-2009, 2011, 2018-2019 Gregory Nutt. All rights
* reserved.
diff --git a/net/udp/udp_ioctl.c b/net/udp/udp_ioctl.c
index 41392fa9a3..39b74cb195 100644
--- a/net/udp/udp_ioctl.c
+++ b/net/udp/udp_ioctl.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/udp/udp_ioctl.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/udp/udp_ipselect.c b/net/udp/udp_ipselect.c
index 8d0db11fe1..6beb000156 100644
--- a/net/udp/udp_ipselect.c
+++ b/net/udp/udp_ipselect.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/udp/udp_ipselect.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/udp/udp_netpoll.c b/net/udp/udp_netpoll.c
index 2ff569f2ff..0a64bb820c 100644
--- a/net/udp/udp_netpoll.c
+++ b/net/udp/udp_netpoll.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/udp/udp_netpoll.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/udp/udp_notifier.c b/net/udp/udp_notifier.c
index b1726ab512..82c78dad17 100644
--- a/net/udp/udp_notifier.c
+++ b/net/udp/udp_notifier.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/udp/udp_notifier.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/udp/udp_recvfrom.c b/net/udp/udp_recvfrom.c
index afc77927cf..4981e11e95 100644
--- a/net/udp/udp_recvfrom.c
+++ b/net/udp/udp_recvfrom.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/udp/udp_recvfrom.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/udp/udp_send.c b/net/udp/udp_send.c
index bc5edafee6..f4f4539f99 100644
--- a/net/udp/udp_send.c
+++ b/net/udp/udp_send.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/udp/udp_send.c
*
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (C) 2007-2009, 2011, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gn...@nuttx.org>
*
diff --git a/net/udp/udp_sendto_buffered.c b/net/udp/udp_sendto_buffered.c
index 5b2cb67b97..2a746bbc42 100644
--- a/net/udp/udp_sendto_buffered.c
+++ b/net/udp/udp_sendto_buffered.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/udp/udp_sendto_buffered.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/udp/udp_sendto_unbuffered.c b/net/udp/udp_sendto_unbuffered.c
index b45625b7a3..13460e8f23 100644
--- a/net/udp/udp_sendto_unbuffered.c
+++ b/net/udp/udp_sendto_unbuffered.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/udp/udp_sendto_unbuffered.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/udp/udp_setsockopt.c b/net/udp/udp_setsockopt.c
index de449fb162..a42a6508e7 100644
--- a/net/udp/udp_setsockopt.c
+++ b/net/udp/udp_setsockopt.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/udp/udp_setsockopt.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/udp/udp_txdrain.c b/net/udp/udp_txdrain.c
index 4bd0da23e2..791cc0a518 100644
--- a/net/udp/udp_txdrain.c
+++ b/net/udp/udp_txdrain.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/udp/udp_txdrain.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/udp/udp_wrbuffer.c b/net/udp/udp_wrbuffer.c
index dbe8478d50..0b9846c77f 100644
--- a/net/udp/udp_wrbuffer.c
+++ b/net/udp/udp_wrbuffer.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/udp/udp_wrbuffer.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/udp/udp_wrbuffer_dump.c b/net/udp/udp_wrbuffer_dump.c
index 34fefd9b51..cadaf40301 100644
--- a/net/udp/udp_wrbuffer_dump.c
+++ b/net/udp/udp_wrbuffer_dump.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/udp/udp_wrbuffer_dump.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/usrsock/CMakeLists.txt b/net/usrsock/CMakeLists.txt
index 969489e235..f178ec9ff2 100644
--- a/net/usrsock/CMakeLists.txt
+++ b/net/usrsock/CMakeLists.txt
@@ -1,6 +1,8 @@
# ##############################################################################
# net/usrsock/CMakeLists.txt
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/net/usrsock/Make.defs b/net/usrsock/Make.defs
index 01402c83d2..0310ff69eb 100644
--- a/net/usrsock/Make.defs
+++ b/net/usrsock/Make.defs
@@ -1,6 +1,8 @@
############################################################################
# net/usrsock/Make.defs
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
diff --git a/net/usrsock/usrsock.h b/net/usrsock/usrsock.h
index 4d486ad9e2..ae8b86e5a0 100644
--- a/net/usrsock/usrsock.h
+++ b/net/usrsock/usrsock.h
@@ -1,6 +1,8 @@
/****************************************************************************
* net/usrsock/usrsock.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/usrsock/usrsock_accept.c b/net/usrsock/usrsock_accept.c
index 4912fe1494..5d4bc98375 100644
--- a/net/usrsock/usrsock_accept.c
+++ b/net/usrsock/usrsock_accept.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/usrsock/usrsock_accept.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/usrsock/usrsock_bind.c b/net/usrsock/usrsock_bind.c
index b3f24661f3..4ef2faea2f 100644
--- a/net/usrsock/usrsock_bind.c
+++ b/net/usrsock/usrsock_bind.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/usrsock/usrsock_bind.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/usrsock/usrsock_close.c b/net/usrsock/usrsock_close.c
index 4a388d5cef..d95fa5c85b 100644
--- a/net/usrsock/usrsock_close.c
+++ b/net/usrsock/usrsock_close.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/usrsock/usrsock_close.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/usrsock/usrsock_conn.c b/net/usrsock/usrsock_conn.c
index 18b5eb5cbc..72cc0319c2 100644
--- a/net/usrsock/usrsock_conn.c
+++ b/net/usrsock/usrsock_conn.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/usrsock/usrsock_conn.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/usrsock/usrsock_connect.c b/net/usrsock/usrsock_connect.c
index 2fbf0af52b..3e5d98a545 100644
--- a/net/usrsock/usrsock_connect.c
+++ b/net/usrsock/usrsock_connect.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/usrsock/usrsock_connect.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/usrsock/usrsock_devif.c b/net/usrsock/usrsock_devif.c
index 3d1ad5d591..31a9dbd172 100644
--- a/net/usrsock/usrsock_devif.c
+++ b/net/usrsock/usrsock_devif.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/usrsock/usrsock_devif.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/usrsock/usrsock_event.c b/net/usrsock/usrsock_event.c
index f365e16f45..7b1b699be5 100644
--- a/net/usrsock/usrsock_event.c
+++ b/net/usrsock/usrsock_event.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/usrsock/usrsock_event.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/usrsock/usrsock_getpeername.c b/net/usrsock/usrsock_getpeername.c
index b2d3d7b945..2a541e5ab8 100644
--- a/net/usrsock/usrsock_getpeername.c
+++ b/net/usrsock/usrsock_getpeername.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/usrsock/usrsock_getpeername.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/usrsock/usrsock_getsockname.c b/net/usrsock/usrsock_getsockname.c
index 63e80db4e0..bea2890ab5 100644
--- a/net/usrsock/usrsock_getsockname.c
+++ b/net/usrsock/usrsock_getsockname.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/usrsock/usrsock_getsockname.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/usrsock/usrsock_getsockopt.c b/net/usrsock/usrsock_getsockopt.c
index 69222f05be..4826bb5926 100644
--- a/net/usrsock/usrsock_getsockopt.c
+++ b/net/usrsock/usrsock_getsockopt.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/usrsock/usrsock_getsockopt.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/usrsock/usrsock_ioctl.c b/net/usrsock/usrsock_ioctl.c
index d102f17d20..15592dae07 100644
--- a/net/usrsock/usrsock_ioctl.c
+++ b/net/usrsock/usrsock_ioctl.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/usrsock/usrsock_ioctl.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/usrsock/usrsock_listen.c b/net/usrsock/usrsock_listen.c
index 8720ca3999..d5fd825191 100644
--- a/net/usrsock/usrsock_listen.c
+++ b/net/usrsock/usrsock_listen.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/usrsock/usrsock_listen.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/usrsock/usrsock_poll.c b/net/usrsock/usrsock_poll.c
index 06066e4498..b584118470 100644
--- a/net/usrsock/usrsock_poll.c
+++ b/net/usrsock/usrsock_poll.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/usrsock/usrsock_poll.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/usrsock/usrsock_recvmsg.c b/net/usrsock/usrsock_recvmsg.c
index 0bdc90c8c7..e614d5c8f3 100644
--- a/net/usrsock/usrsock_recvmsg.c
+++ b/net/usrsock/usrsock_recvmsg.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/usrsock/usrsock_recvmsg.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/usrsock/usrsock_sendmsg.c b/net/usrsock/usrsock_sendmsg.c
index f21c9e5acf..0487911933 100644
--- a/net/usrsock/usrsock_sendmsg.c
+++ b/net/usrsock/usrsock_sendmsg.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/usrsock/usrsock_sendmsg.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/usrsock/usrsock_setsockopt.c b/net/usrsock/usrsock_setsockopt.c
index 555db24c46..1a7fca4333 100644
--- a/net/usrsock/usrsock_setsockopt.c
+++ b/net/usrsock/usrsock_setsockopt.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/usrsock/usrsock_setsockopt.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/usrsock/usrsock_shutdown.c b/net/usrsock/usrsock_shutdown.c
index 1d8762a816..6b22331edf 100644
--- a/net/usrsock/usrsock_shutdown.c
+++ b/net/usrsock/usrsock_shutdown.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/usrsock/usrsock_shutdown.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/usrsock/usrsock_socket.c b/net/usrsock/usrsock_socket.c
index 313e7971aa..980117ebbb 100644
--- a/net/usrsock/usrsock_socket.c
+++ b/net/usrsock/usrsock_socket.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/usrsock/usrsock_socket.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/usrsock/usrsock_sockif.c b/net/usrsock/usrsock_sockif.c
index 059b168610..220bad3903 100644
--- a/net/usrsock/usrsock_sockif.c
+++ b/net/usrsock/usrsock_sockif.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/usrsock/usrsock_sockif.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/utils/CMakeLists.txt b/net/utils/CMakeLists.txt
index 94dd7e70e4..bd4534b5d0 100644
--- a/net/utils/CMakeLists.txt
+++ b/net/utils/CMakeLists.txt
@@ -1,6 +1,8 @@
# ##############################################################################
# net/utils/CMakeLists.txt
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/net/utils/Make.defs b/net/utils/Make.defs
index 5039a07980..7894dd947d 100644
--- a/net/utils/Make.defs
+++ b/net/utils/Make.defs
@@ -1,6 +1,8 @@
############################################################################
# net/utils/Make.defs
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
diff --git a/net/utils/net_chksum.c b/net/utils/net_chksum.c
index 08cf72cd91..169c4b7c1b 100644
--- a/net/utils/net_chksum.c
+++ b/net/utils/net_chksum.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/utils/net_chksum.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/utils/net_cmsg.c b/net/utils/net_cmsg.c
index e3e719866c..c36c989c3c 100644
--- a/net/utils/net_cmsg.c
+++ b/net/utils/net_cmsg.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/utils/net_cmsg.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/utils/net_dsec2tick.c b/net/utils/net_dsec2tick.c
index 9c6f80db04..97ff6f1bcb 100644
--- a/net/utils/net_dsec2tick.c
+++ b/net/utils/net_dsec2tick.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/utils/net_dsec2tick.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/utils/net_dsec2timeval.c b/net/utils/net_dsec2timeval.c
index 39af77131e..5dae8757ae 100644
--- a/net/utils/net_dsec2timeval.c
+++ b/net/utils/net_dsec2timeval.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/utils/net_dsec2timeval.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/utils/net_getrandom.c b/net/utils/net_getrandom.c
index 00ed6fb833..16502c3062 100644
--- a/net/utils/net_getrandom.c
+++ b/net/utils/net_getrandom.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/utils/net_getrandom.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/utils/net_icmpchksum.c b/net/utils/net_icmpchksum.c
index 9645e30dc8..d32162e4c2 100644
--- a/net/utils/net_icmpchksum.c
+++ b/net/utils/net_icmpchksum.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/utils/net_icmpchksum.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/utils/net_incr32.c b/net/utils/net_incr32.c
index ec36e39018..42f1bd8043 100644
--- a/net/utils/net_incr32.c
+++ b/net/utils/net_incr32.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/utils/net_incr32.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/utils/net_iob_concat.c b/net/utils/net_iob_concat.c
index c2e9b292f5..6786d32019 100644
--- a/net/utils/net_iob_concat.c
+++ b/net/utils/net_iob_concat.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/utils/net_iob_concat.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/utils/net_ipchksum.c b/net/utils/net_ipchksum.c
index f1cd938a29..ee2a8fcb09 100644
--- a/net/utils/net_ipchksum.c
+++ b/net/utils/net_ipchksum.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/utils/net_ipchksum.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/utils/net_ipv6_maskcmp.c b/net/utils/net_ipv6_maskcmp.c
index 0d43141973..968bcf2a1d 100644
--- a/net/utils/net_ipv6_maskcmp.c
+++ b/net/utils/net_ipv6_maskcmp.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/utils/net_ipv6_maskcmp.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/utils/net_ipv6_payload.c b/net/utils/net_ipv6_payload.c
index fc1c5d8962..4eb9194623 100644
--- a/net/utils/net_ipv6_payload.c
+++ b/net/utils/net_ipv6_payload.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/utils/net_ipv6_payload.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/utils/net_ipv6_pref2mask.c b/net/utils/net_ipv6_pref2mask.c
index 880abc5985..c7ca577515 100644
--- a/net/utils/net_ipv6_pref2mask.c
+++ b/net/utils/net_ipv6_pref2mask.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/utils/net_ipv6_pref2mask.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/utils/net_lock.c b/net/utils/net_lock.c
index 05721477ae..033d99b0f0 100644
--- a/net/utils/net_lock.c
+++ b/net/utils/net_lock.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/utils/net_lock.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/utils/net_mask2pref.c b/net/utils/net_mask2pref.c
index 252c1f6b72..1f8c019383 100644
--- a/net/utils/net_mask2pref.c
+++ b/net/utils/net_mask2pref.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/utils/net_mask2pref.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/utils/net_snoop.c b/net/utils/net_snoop.c
index 75ff4502d3..bdbca71291 100644
--- a/net/utils/net_snoop.c
+++ b/net/utils/net_snoop.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/utils/net_snoop.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/utils/net_tcpchksum.c b/net/utils/net_tcpchksum.c
index 2922391257..b1fed46096 100644
--- a/net/utils/net_tcpchksum.c
+++ b/net/utils/net_tcpchksum.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/utils/net_tcpchksum.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/utils/net_timeval2dsec.c b/net/utils/net_timeval2dsec.c
index 6124a13e9f..f29ba50629 100644
--- a/net/utils/net_timeval2dsec.c
+++ b/net/utils/net_timeval2dsec.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/utils/net_timeval2dsec.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/utils/net_udpchksum.c b/net/utils/net_udpchksum.c
index 7cd1d8e267..503040526a 100644
--- a/net/utils/net_udpchksum.c
+++ b/net/utils/net_udpchksum.c
@@ -1,6 +1,8 @@
/****************************************************************************
* net/utils/net_udpchksum.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/net/utils/utils.h b/net/utils/utils.h
index 6cc68f8938..cfe7fcd663 100644
--- a/net/utils/utils.h
+++ b/net/utils/utils.h
@@ -1,6 +1,8 @@
/****************************************************************************
* net/utils/utils.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The