summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2019-06-20 14:33:19 (GMT)
committerThomas Haller <thaller@redhat.com>2019-08-12 13:01:16 (GMT)
commitcee0b1b50c2ec4e3c4b88deaf0887133f4adf4d3 (patch)
tree389d2894df11bd42e710cd805bcd5a30821598f5 /src
parent1e3e9c4689064c8b9ced8334b91f44b3a02b4912 (diff)
downloadlibnl-cee0b1b50c2ec4e3c4b88deaf0887133f4adf4d3.zip
libnl-cee0b1b50c2ec4e3c4b88deaf0887133f4adf4d3.tar.gz
libnl-cee0b1b50c2ec4e3c4b88deaf0887133f4adf4d3.tar.bz2
Add SPDX identifiers
Software Package Data Exchange identifiers help to detect source file licenses and hence simplify the FOSS compliance process. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> https://github.com/thom311/libnl/pull/219 --- FILES=( lib/addr.c lib/attr.c lib/cache.c lib/cache_mngr.c lib/cache_mngt.c lib/data.c lib/error.c lib/fib_lookup/lookup.c lib/fib_lookup/request.c lib/genl/ctrl.c lib/genl/family.c lib/genl/genl.c lib/genl/mngt.c lib/handlers.c lib/hash.c lib/hashtable.c lib/idiag/idiag.c lib/idiag/idiag_meminfo_obj.c lib/idiag/idiag_msg_obj.c lib/idiag/idiag_req_obj.c lib/idiag/idiag_vegasinfo_obj.c lib/mpls.c lib/msg.c lib/netfilter/ct.c lib/netfilter/ct_obj.c lib/netfilter/exp.c lib/netfilter/exp_obj.c lib/netfilter/log.c lib/netfilter/log_msg.c lib/netfilter/log_msg_obj.c lib/netfilter/log_obj.c lib/netfilter/netfilter.c lib/netfilter/nfnl.c lib/netfilter/queue.c lib/netfilter/queue_msg.c lib/netfilter/queue_msg_obj.c lib/netfilter/queue_obj.c lib/nl.c lib/object.c lib/route/act.c lib/route/addr.c lib/route/class.c lib/route/classid.c lib/route/cls.c lib/route/link.c lib/route/neigh.c lib/route/neightbl.c lib/route/netconf.c lib/route/nexthop.c lib/route/nexthop_encap.c lib/route/nh_encap_mpls.c lib/route/pktloc.c lib/route/qdisc.c lib/route/route.c lib/route/route_obj.c lib/route/route_utils.c lib/route/rtnl.c lib/route/rule.c lib/route/tc.c lib/socket.c lib/utils.c lib/version.c lib/xfrm/ae.c lib/xfrm/lifetime.c lib/xfrm/sa.c lib/xfrm/selector.c lib/xfrm/sp.c lib/xfrm/template.c src/genl-ctrl-list.c src/idiag-socket-details.c src/lib/addr.c src/lib/class.c src/lib/cls.c src/lib/ct.c src/lib/exp.c src/lib/link.c src/lib/neigh.c src/lib/qdisc.c src/lib/route.c src/lib/rule.c src/lib/tc.c src/lib/utils.c src/nf-ct-add.c src/nf-ct-events.c src/nf-ct-list.c src/nf-exp-add.c src/nf-exp-delete.c src/nf-exp-list.c src/nf-log.c src/nf-monitor.c src/nf-queue.c src/nl-addr-add.c src/nl-addr-delete.c src/nl-addr-list.c src/nl-class-add.c src/nl-class-delete.c src/nl-class-list.c src/nl-classid-lookup.c src/nl-cls-add.c src/nl-cls-delete.c src/nl-cls-list.c src/nl-fib-lookup.c src/nl-link-enslave.c src/nl-link-ifindex2name.c src/nl-link-list.c src/nl-link-name2ifindex.c src/nl-link-release.c src/nl-link-set.c src/nl-link-stats.c src/nl-list-caches.c src/nl-list-sockets.c src/nl-monitor.c src/nl-neigh-add.c src/nl-neigh-delete.c src/nl-neigh-list.c src/nl-neightbl-list.c src/nl-pktloc-lookup.c src/nl-qdisc-add.c src/nl-qdisc-delete.c src/nl-qdisc-list.c src/nl-route-add.c src/nl-route-delete.c src/nl-route-get.c src/nl-route-list.c src/nl-rule-list.c src/nl-tctree-list.c src/nl-util-addr.c ) sed '1s#^#/* SPDX-License-Identifier: LGPL-2.1-only */\n#' "${FILES[@]}" -i
Diffstat (limited to 'src')
-rw-r--r--src/genl-ctrl-list.c1
-rw-r--r--src/idiag-socket-details.c1
-rw-r--r--src/lib/addr.c1
-rw-r--r--src/lib/class.c1
-rw-r--r--src/lib/cls.c1
-rw-r--r--src/lib/ct.c1
-rw-r--r--src/lib/exp.c1
-rw-r--r--src/lib/link.c1
-rw-r--r--src/lib/neigh.c1
-rw-r--r--src/lib/qdisc.c1
-rw-r--r--src/lib/route.c1
-rw-r--r--src/lib/rule.c1
-rw-r--r--src/lib/tc.c1
-rw-r--r--src/lib/utils.c1
-rw-r--r--src/nf-ct-add.c1
-rw-r--r--src/nf-ct-events.c1
-rw-r--r--src/nf-ct-list.c1
-rw-r--r--src/nf-exp-add.c1
-rw-r--r--src/nf-exp-delete.c1
-rw-r--r--src/nf-exp-list.c1
-rw-r--r--src/nf-log.c1
-rw-r--r--src/nf-monitor.c1
-rw-r--r--src/nf-queue.c1
-rw-r--r--src/nl-addr-add.c1
-rw-r--r--src/nl-addr-delete.c1
-rw-r--r--src/nl-addr-list.c1
-rw-r--r--src/nl-class-add.c1
-rw-r--r--src/nl-class-delete.c1
-rw-r--r--src/nl-class-list.c1
-rw-r--r--src/nl-classid-lookup.c1
-rw-r--r--src/nl-cls-add.c1
-rw-r--r--src/nl-cls-delete.c1
-rw-r--r--src/nl-cls-list.c1
-rw-r--r--src/nl-fib-lookup.c1
-rw-r--r--src/nl-link-enslave.c1
-rw-r--r--src/nl-link-ifindex2name.c1
-rw-r--r--src/nl-link-list.c1
-rw-r--r--src/nl-link-name2ifindex.c1
-rw-r--r--src/nl-link-release.c1
-rw-r--r--src/nl-link-set.c1
-rw-r--r--src/nl-link-stats.c1
-rw-r--r--src/nl-list-caches.c1
-rw-r--r--src/nl-list-sockets.c1
-rw-r--r--src/nl-monitor.c1
-rw-r--r--src/nl-neigh-add.c1
-rw-r--r--src/nl-neigh-delete.c1
-rw-r--r--src/nl-neigh-list.c1
-rw-r--r--src/nl-neightbl-list.c1
-rw-r--r--src/nl-pktloc-lookup.c1
-rw-r--r--src/nl-qdisc-add.c1
-rw-r--r--src/nl-qdisc-delete.c1
-rw-r--r--src/nl-qdisc-list.c1
-rw-r--r--src/nl-route-add.c1
-rw-r--r--src/nl-route-delete.c1
-rw-r--r--src/nl-route-get.c1
-rw-r--r--src/nl-route-list.c1
-rw-r--r--src/nl-rule-list.c1
-rw-r--r--src/nl-tctree-list.c1
-rw-r--r--src/nl-util-addr.c1
59 files changed, 59 insertions, 0 deletions
diff --git a/src/genl-ctrl-list.c b/src/genl-ctrl-list.c
index e6d09c3..d3279a8 100644
--- a/src/genl-ctrl-list.c
+++ b/src/genl-ctrl-list.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/genl-ctrl-list.c List Generic Netlink Families
*
diff --git a/src/idiag-socket-details.c b/src/idiag-socket-details.c
index 17bcef2..2d7dd4b 100644
--- a/src/idiag-socket-details.c
+++ b/src/idiag-socket-details.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/idiag-socket-details.c List socket details
*
diff --git a/src/lib/addr.c b/src/lib/addr.c
index a9c137b..5d39f7c 100644
--- a/src/lib/addr.c
+++ b/src/lib/addr.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/lib/addr.c Address Helpers
*
diff --git a/src/lib/class.c b/src/lib/class.c
index 96f60cd..162e542 100644
--- a/src/lib/class.c
+++ b/src/lib/class.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/lib/class.c CLI Class Helpers
*
diff --git a/src/lib/cls.c b/src/lib/cls.c
index 86d775d..a5ac925 100644
--- a/src/lib/cls.c
+++ b/src/lib/cls.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/lib/cls.c CLI Classifier Helpers
*
diff --git a/src/lib/ct.c b/src/lib/ct.c
index c903878..e6732ae 100644
--- a/src/lib/ct.c
+++ b/src/lib/ct.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/lib/ct.c CLI Conntrack Helpers
*
diff --git a/src/lib/exp.c b/src/lib/exp.c
index a7a74f5..732843f 100644
--- a/src/lib/exp.c
+++ b/src/lib/exp.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/lib/exp.c CLI Expectation Helpers
*
diff --git a/src/lib/link.c b/src/lib/link.c
index eb5b54b..ae367e4 100644
--- a/src/lib/link.c
+++ b/src/lib/link.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/lib/link.c CLI Link Helpers
*
diff --git a/src/lib/neigh.c b/src/lib/neigh.c
index 4518e46..75862c7 100644
--- a/src/lib/neigh.c
+++ b/src/lib/neigh.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/lib/neigh.c CLI Neighbour Helpers
*
diff --git a/src/lib/qdisc.c b/src/lib/qdisc.c
index ccf7d26..ea047c2 100644
--- a/src/lib/qdisc.c
+++ b/src/lib/qdisc.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/lib/qdisc.c CLI QDisc Helpers
*
diff --git a/src/lib/route.c b/src/lib/route.c
index 2eac0a0..9d0fbe8 100644
--- a/src/lib/route.c
+++ b/src/lib/route.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/lib/route.c CLI Route Helpers
*
diff --git a/src/lib/rule.c b/src/lib/rule.c
index 96f1d4c..213eca2 100644
--- a/src/lib/rule.c
+++ b/src/lib/rule.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/lib/rule.c CLI Routing Rule Helpers
*
diff --git a/src/lib/tc.c b/src/lib/tc.c
index dde729f..5d3a203 100644
--- a/src/lib/tc.c
+++ b/src/lib/tc.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/lib/tc.c CLI Traffic Control Helpers
*
diff --git a/src/lib/utils.c b/src/lib/utils.c
index 1886159..3aa2a90 100644
--- a/src/lib/utils.c
+++ b/src/lib/utils.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/utils.c Utilities
*
diff --git a/src/nf-ct-add.c b/src/nf-ct-add.c
index 0dd2110..eec9b86 100644
--- a/src/nf-ct-add.c
+++ b/src/nf-ct-add.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nf-ct-add.c Add Conntrack Entry
*
diff --git a/src/nf-ct-events.c b/src/nf-ct-events.c
index a9156b4..87f2da9 100644
--- a/src/nf-ct-events.c
+++ b/src/nf-ct-events.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nf-ct-events.c Listen on Conntrack Events
*
diff --git a/src/nf-ct-list.c b/src/nf-ct-list.c
index 6355d10..c512027 100644
--- a/src/nf-ct-list.c
+++ b/src/nf-ct-list.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nf-ct-list.c List Conntrack Entries
*
diff --git a/src/nf-exp-add.c b/src/nf-exp-add.c
index 68e2ec6..1f71cd5 100644
--- a/src/nf-exp-add.c
+++ b/src/nf-exp-add.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nf-exp-add.c Create an expectation
*
diff --git a/src/nf-exp-delete.c b/src/nf-exp-delete.c
index 43493d5..c6e478c 100644
--- a/src/nf-exp-delete.c
+++ b/src/nf-exp-delete.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nf-exp-delete.c Delete an expectation
*
diff --git a/src/nf-exp-list.c b/src/nf-exp-list.c
index d14b1fa..0993a98 100644
--- a/src/nf-exp-list.c
+++ b/src/nf-exp-list.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nf-exp-list.c List Expectation Entries
*
diff --git a/src/nf-log.c b/src/nf-log.c
index c0fd978..c8a40bf 100644
--- a/src/nf-log.c
+++ b/src/nf-log.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nf-log.c Monitor netfilter log events
*
diff --git a/src/nf-monitor.c b/src/nf-monitor.c
index 0b74473..4afbdb2 100644
--- a/src/nf-monitor.c
+++ b/src/nf-monitor.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nf-monitor.c Monitor netfilter events
*
diff --git a/src/nf-queue.c b/src/nf-queue.c
index de069b0..f46abc2 100644
--- a/src/nf-queue.c
+++ b/src/nf-queue.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nf-queue.c Monitor netfilter queue events
*
diff --git a/src/nl-addr-add.c b/src/nl-addr-add.c
index 0467f67..e6ebefe 100644
--- a/src/nl-addr-add.c
+++ b/src/nl-addr-add.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nl-addr-add.c Add addresses
*
diff --git a/src/nl-addr-delete.c b/src/nl-addr-delete.c
index 0f3ae2f..9d017f4 100644
--- a/src/nl-addr-delete.c
+++ b/src/nl-addr-delete.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nl-addr-delete.c Delete addresses
*
diff --git a/src/nl-addr-list.c b/src/nl-addr-list.c
index f9e4080..c5258bd 100644
--- a/src/nl-addr-list.c
+++ b/src/nl-addr-list.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nl-addr-list.c List addresses
*
diff --git a/src/nl-class-add.c b/src/nl-class-add.c
index bbba619..a1ccf4e 100644
--- a/src/nl-class-add.c
+++ b/src/nl-class-add.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nl-class-add.c Add/Update/Replace Traffic Class
*
diff --git a/src/nl-class-delete.c b/src/nl-class-delete.c
index 4570258..5627821 100644
--- a/src/nl-class-delete.c
+++ b/src/nl-class-delete.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nl-class-delete.c Delete Traffic Classes
*
diff --git a/src/nl-class-list.c b/src/nl-class-list.c
index 4cace9a..0ce4ab2 100644
--- a/src/nl-class-list.c
+++ b/src/nl-class-list.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nl-class-list.c List Traffic Classes
*
diff --git a/src/nl-classid-lookup.c b/src/nl-classid-lookup.c
index b633ab6..4ddc842 100644
--- a/src/nl-classid-lookup.c
+++ b/src/nl-classid-lookup.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nl-classid-lookup.c Lookup classid
*
diff --git a/src/nl-cls-add.c b/src/nl-cls-add.c
index e4a080a..c2ad717 100644
--- a/src/nl-cls-add.c
+++ b/src/nl-cls-add.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nl-cls-add.c Add classifier
*
diff --git a/src/nl-cls-delete.c b/src/nl-cls-delete.c
index 3297992..a2a93a7 100644
--- a/src/nl-cls-delete.c
+++ b/src/nl-cls-delete.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nl-cls-delete.c Delete Classifier
*
diff --git a/src/nl-cls-list.c b/src/nl-cls-list.c
index 2ab3d12..5d4faa0 100644
--- a/src/nl-cls-list.c
+++ b/src/nl-cls-list.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nl-cls-list.c List classifiers
*
diff --git a/src/nl-fib-lookup.c b/src/nl-fib-lookup.c
index 95e6acd..a649687 100644
--- a/src/nl-fib-lookup.c
+++ b/src/nl-fib-lookup.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nl-fib-lookup.c FIB Route Lookup
*
diff --git a/src/nl-link-enslave.c b/src/nl-link-enslave.c
index 1a75939..4e368c3 100644
--- a/src/nl-link-enslave.c
+++ b/src/nl-link-enslave.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nl-link-enslave.c Enslave a link
*
diff --git a/src/nl-link-ifindex2name.c b/src/nl-link-ifindex2name.c
index c4ed827..0cb3cbe 100644
--- a/src/nl-link-ifindex2name.c
+++ b/src/nl-link-ifindex2name.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nl-link-ifindex2name.c Transform a interface index to its name
*
diff --git a/src/nl-link-list.c b/src/nl-link-list.c
index 47d5c06..d382076 100644
--- a/src/nl-link-list.c
+++ b/src/nl-link-list.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nl-link-dump.c Dump link attributes
*
diff --git a/src/nl-link-name2ifindex.c b/src/nl-link-name2ifindex.c
index 1be1d18..d3e8399 100644
--- a/src/nl-link-name2ifindex.c
+++ b/src/nl-link-name2ifindex.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nl-link-name2ifindex.c Transform a interface name to its index
*
diff --git a/src/nl-link-release.c b/src/nl-link-release.c
index 6f9de0e..abe8cdb 100644
--- a/src/nl-link-release.c
+++ b/src/nl-link-release.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nl-link-release.c release a link
*
diff --git a/src/nl-link-set.c b/src/nl-link-set.c
index a3ff8a1..fc0f5a7 100644
--- a/src/nl-link-set.c
+++ b/src/nl-link-set.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nl-link-set.c Set link attributes
*
diff --git a/src/nl-link-stats.c b/src/nl-link-stats.c
index 82132f8..85719c1 100644
--- a/src/nl-link-stats.c
+++ b/src/nl-link-stats.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nl-link-stats.c Retrieve link statistics
*
diff --git a/src/nl-list-caches.c b/src/nl-list-caches.c
index 853d8a4..c59f95b 100644
--- a/src/nl-list-caches.c
+++ b/src/nl-list-caches.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* nl-list-caches.c List registered cache types
*
diff --git a/src/nl-list-sockets.c b/src/nl-list-sockets.c
index 74957de..e7d4703 100644
--- a/src/nl-list-sockets.c
+++ b/src/nl-list-sockets.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* nl-list-sockets.c Pretty-print /proc/net/netlink
*
diff --git a/src/nl-monitor.c b/src/nl-monitor.c
index 4400df5..a6f21b4 100644
--- a/src/nl-monitor.c
+++ b/src/nl-monitor.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nl-monitor.c Monitor events
*
diff --git a/src/nl-neigh-add.c b/src/nl-neigh-add.c
index d98330b..585639a 100644
--- a/src/nl-neigh-add.c
+++ b/src/nl-neigh-add.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/ nl-neigh-add.c Add a neighbour
*
diff --git a/src/nl-neigh-delete.c b/src/nl-neigh-delete.c
index 2d3be37..826c1c5 100644
--- a/src/nl-neigh-delete.c
+++ b/src/nl-neigh-delete.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nl-neigh-delete.c Delete a neighbour
*
diff --git a/src/nl-neigh-list.c b/src/nl-neigh-list.c
index 1581e17..a926208 100644
--- a/src/nl-neigh-list.c
+++ b/src/nl-neigh-list.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nl-neigh-list.c List Neighbours
*
diff --git a/src/nl-neightbl-list.c b/src/nl-neightbl-list.c
index 5c28e91..10d7ed4 100644
--- a/src/nl-neightbl-list.c
+++ b/src/nl-neightbl-list.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nl-neightbl-list.c Dump neighbour tables
*
diff --git a/src/nl-pktloc-lookup.c b/src/nl-pktloc-lookup.c
index 68dbdf9..8b1272c 100644
--- a/src/nl-pktloc-lookup.c
+++ b/src/nl-pktloc-lookup.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nl-pktloc-lookup.c Lookup packet location alias
*
diff --git a/src/nl-qdisc-add.c b/src/nl-qdisc-add.c
index dc0b4f1..38903f3 100644
--- a/src/nl-qdisc-add.c
+++ b/src/nl-qdisc-add.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nl-qdisc-add.c Add Queueing Discipline
*
diff --git a/src/nl-qdisc-delete.c b/src/nl-qdisc-delete.c
index 4a63a7e..7c5926b 100644
--- a/src/nl-qdisc-delete.c
+++ b/src/nl-qdisc-delete.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nl-qdisc-delete.c Delete Queuing Disciplines
*
diff --git a/src/nl-qdisc-list.c b/src/nl-qdisc-list.c
index eb73e5f..6796ca5 100644
--- a/src/nl-qdisc-list.c
+++ b/src/nl-qdisc-list.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nl-qdisc-list.c List Queueing Disciplines
*
diff --git a/src/nl-route-add.c b/src/nl-route-add.c
index 3a2dd61..ed2c4e2 100644
--- a/src/nl-route-add.c
+++ b/src/nl-route-add.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nl-route-add.c Route addition utility
*
diff --git a/src/nl-route-delete.c b/src/nl-route-delete.c
index 56d52eb..750b57f 100644
--- a/src/nl-route-delete.c
+++ b/src/nl-route-delete.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nl-route-delete.c Delete Routes
*
diff --git a/src/nl-route-get.c b/src/nl-route-get.c
index b031ae4..564fc16 100644
--- a/src/nl-route-get.c
+++ b/src/nl-route-get.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nl-route-get.c Get Route Attributes
*
diff --git a/src/nl-route-list.c b/src/nl-route-list.c
index 06ef01a..b6c4270 100644
--- a/src/nl-route-list.c
+++ b/src/nl-route-list.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nl-route-list.c List route attributes
*
diff --git a/src/nl-rule-list.c b/src/nl-rule-list.c
index ec73aca..b923184 100644
--- a/src/nl-rule-list.c
+++ b/src/nl-rule-list.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nl-rule-dump.c Dump rule attributes
*
diff --git a/src/nl-tctree-list.c b/src/nl-tctree-list.c
index 7c3b7e6..c80093b 100644
--- a/src/nl-tctree-list.c
+++ b/src/nl-tctree-list.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nl-tctree-list.c List Traffic Control Tree
*
diff --git a/src/nl-util-addr.c b/src/nl-util-addr.c
index 5f0738d..6a81166 100644
--- a/src/nl-util-addr.c
+++ b/src/nl-util-addr.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* src/nl-util-addr.c Address Helper
*