]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
SPDX license identifiers
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 24 Nov 2017 20:21:35 +0000 (12:21 -0800)
committerStephen Hemminger <stephen@networkplumber.org>
Fri, 24 Nov 2017 20:21:35 +0000 (12:21 -0800)
For all files in iproute2 which do not have an obvious license
identification, mark them with SPDK GPL-2

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
91 files changed:
Makefile
bridge/Makefile
bridge/br_common.h
bridge/bridge.c
bridge/fdb.c
bridge/link.c
bridge/mdb.c
bridge/vlan.c
configure
devlink/Makefile
examples/bpf/bpf_tailcall.c
genl/Makefile
genl/genl_utils.h
genl/static-syms.c
include/bpf_api.h
include/bpf_elf.h
include/bpf_scm.h
include/color.h
include/dlfcn.h
include/ip6tables.h
include/iptables.h
include/iptables/internal.h
include/libgenl.h
include/libiptc/ipt_kernel_headers.h
include/libiptc/libip6tc.h
include/libiptc/libiptc.h
include/libiptc/libxtc.h
include/libiptc/xtcshared.h
include/libnetlink.h
include/list.h
include/ll_map.h
include/names.h
include/namespace.h
include/rt_names.h
include/rtm_map.h
include/utils.h
include/xt-internal.h
include/xtables.h
ip/Makefile
ip/ifcfg
ip/ila_common.h
ip/ip_common.h
ip/iplink_dummy.c
ip/iplink_ifb.c
ip/iplink_nlmon.c
ip/iplink_team.c
ip/iplink_vcan.c
ip/ipnetns.c
ip/iproute_lwtunnel.h
ip/routef
ip/routel
ip/rtpr
ip/static-syms.c
ip/xdp.h
lib/Makefile
lib/color.c
lib/dnet_ntop.c
lib/dnet_pton.c
lib/exec.c
lib/ipx_ntop.c
lib/ipx_pton.c
lib/libgenl.c
lib/mpls_ntop.c
lib/mpls_pton.c
man/Makefile
man/man3/Makefile
man/man7/Makefile
man/man8/Makefile
misc/Makefile
misc/lnstat.h
misc/ssfilter.h
netem/Makefile
rdma/Makefile
tc/Makefile
tc/emp_ematch.l
tc/f_tcindex.c
tc/m_ematch.h
tc/q_atm.c
tc/q_clsact.c
tc/q_dsmark.c
tc/q_hhf.c
tc/static-syms.c
tc/tc_cbq.h
tc/tc_common.h
tc/tc_core.h
tc/tc_red.h
tc/tc_util.h
testsuite/Makefile
testsuite/iproute2/Makefile
testsuite/tools/Makefile
tipc/Makefile

index 6ad9610430526f93419878b3c13d3851986be9bd..6a51e0db910748bf1b59ae40ad5753e7dd50cb67 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 # Top level Makefile for iproute2
 
 ifeq ($(VERBOSE),0)
index b2ae0a4ed04d1380aff281b7e9b372d1092d6c04..c6b7d08dade4d454d83798602107bfebb64f4dfb 100644 (file)
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 BROBJ = bridge.o fdb.o monitor.o link.o mdb.o vlan.o
 
 include ../config.mk
index 01447ddca3374d43b6e8047a1a99ee5d2f2d8803..f07c7d1c9090b032ff5e2ae1d0660e1fcd6381aa 100644 (file)
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+
 #define MDB_RTA(r) \
                ((struct rtattr *)(((char *)(r)) + RTA_ALIGN(sizeof(struct br_mdb_entry))))
 
index 6658cb8fd801d68a6f4990f7c9544fef860dda9e..48fe1c8b2ef10b90857664530a0ab902f2c208e3 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Get/set/delete bridge with netlink
  *
index 1ab1fb716260aadea10e51646e96c775a90bdf5c..376713b64e233c5a3cb69dd8adbf05abbc46fe82 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Get/set/delete fdb table with netlink
  *
index 65ca47e14922f967ba8d43bb580b02f7c30c3ea6..e2371d0dbc12e10fae64f0d821cbec36e4d27be3 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 
 #include <stdio.h>
 #include <stdlib.h>
index f38e326e457a0cd3c481cb2bff0b00ee362f1c63..7b7b81f4692fb0b0fcc4b1b37fd10ba9e3f32cda 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Get mdb table with netlink
  */
index 0f78a9e8fe6dc70eb891cc21c37143e9173ee38f..69fb5425e2b53cc370765193c9b3bc50de220b95 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
index f0668ab3f7e9120d09e559aab1517edc248031c2..d6832464f563ed10dc9af2fe89a7287834a3ec7c 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,4 +1,5 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
 # This is not an autoconf generated configure
 #
 INCLUDE=${1:-"$PWD/include"}
index 3b2067d6658ccadbce09b031bac970c40c241c5d..3afda65e6635dbf9b53d3f24e2933f9efdc298a9 100644 (file)
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 include ../config.mk
 
 ifeq ($(HAVE_MNL),y)
index 1a30426c3138ce283a00a5292b825990a6c6152d..161eb60625699284701c0eb4bccf846a3879c957 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #include "../../include/bpf_api.h"
 
 #define ENTRY_INIT     3
index de1635e498ad1160bae56b9e760946122ab1c514..2b7a45b603192224341e82bf96a3f84acdf645e5 100644 (file)
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 GENLOBJ=genl.o
 
 include ../config.mk
index 85b518301f3c88e744032cdd51b6d2c8eeab8381..6e6f44501abad175dd1de5bfaadee505ac75345b 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef _TC_UTIL_H_
 #define _TC_UTIL_H_ 1
 
index 0bc80743a776cee0dc39c59daa16be09dc9ee61f..47c4092c9eaacb4212fec12041847cc2798b1d9c 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * This file creates a dummy version of dynamic loading
  * for environments where dynamic linking
index d13247199c9ab7f2162805aa25d6a39e61ac872f..89d3488d0741ba2c4ff234eecfdaf20333089d8e 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef __BPF_API__
 #define __BPF_API__
 
index 406c30874ac3ff4b306780df2392a5925c4dcc4f..a8e360f3bbb28e6f032c31d73299394534e488a5 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef __BPF_ELF__
 #define __BPF_ELF__
 
index 122d59fc43b92830ac3412c1f1191c2a92dbdc8f..669f053855fd31517b0ccfb489ebc2d78a536862 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef __BPF_SCM__
 #define __BPF_SCM__
 
index 7fd685d0dcf825b28374059b25b2df1fcce82e2b..f6c351b7774674c555c599eb6b0ffa0170746086 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef __COLOR_H__
 #define __COLOR_H__ 1
 
index f15bc2c773a669f7bcd362870cfcb78b9e5722a7..1d8890adff6adcc10e7bdcefa524f9f5c7d7a16b 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Stub dlfcn implementation for systems that lack shared library support
  * but obviously can still reference compiled-in symbols.
index 5f1c5b65e8c404221bee220123a6ff24d1b79d34..bfb286826af58eb52574a6055ffc19252fa28930 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef _IP6TABLES_USER_H
 #define _IP6TABLES_USER_H
 
index 78c10abd7b6e3b8d60d05e4cfa5f7fc94713ff60..78bc378e6f3932568b2ef78d976a9b43fa673e5c 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef _IPTABLES_USER_H
 #define _IPTABLES_USER_H
 
index 62a8ecb99ab40133fa09fa3a606a6457edda19a6..1fd13725003161f97b9b1cba6e3b6e63cbf60a9a 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef IPTABLES_INTERNAL_H
 #define IPTABLES_INTERNAL_H 1
 
index 2dbb4b36adcbfc9083eced4f3ac2f1e2142ce1a1..cd13f476116e05f3bca8f4e7ba97af67a84c7206 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef __LIBGENL_H__
 #define __LIBGENL_H__
 
index a5963e9441fcdf415a824402d12dcc7b08010902..3d2a2a3277e9aea40159d7f70ec7fcc5a8f5df81 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /* This is the userspace/kernel interface for Generic IP Chains,
    required for libc6. */
 #ifndef _FWCHAINS_KERNEL_HEADERS_H
index 9aed80a02e5255b50f255a861b585a8552edf639..cd588de7a96d95623a87383df756a8b3d20b99cc 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef _LIBIP6TC_H
 #define _LIBIP6TC_H
 /* Library which manipulates firewall rules. Version 0.2. */
index 24cdbdb79fddc6fe2dc1b5c78db6e15b6cd48e7f..1bfe4e18e73e8c32b992be307c28e516b9243ca2 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef _LIBIPTC_H
 #define _LIBIPTC_H
 /* Library which manipulates filtering rules. */
index 37010188b64fdcf30a2e4d1f240d88b3e8925b90..1e9596a6e01c8e3c94719f2b944b8931fcd75cb3 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef _LIBXTC_H
 #define _LIBXTC_H
 /* Library which manipulates filtering rules. */
index 773ebc4c77e2c8152d19c9d4dac08f2737868909..278a58f4eb9f75df7980c3d1b81f52401160e742 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef _LIBXTC_SHARED_H
 #define _LIBXTC_SHARED_H 1
 
index 77b62605a76c85216e1f6dacffeda60ca9525572..a4d83b9ea69b5ba68cc39f14627ca69fb45db5a7 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef __LIBNETLINK_H__
 #define __LIBNETLINK_H__ 1
 
index 5b529dc6e5211a8e191ebe78a80e4d8d97e109fa..5af737c71b0fae0dc23685585a4c8f7e0d7b2a22 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef __LIST_H__
 #define __LIST_H__ 1
 /* List and hash list stuff from kernel */
index 949bfc3e16f582a21178c8746e0f66294c73051a..c8474e6eb542c9ff6a0094e1f5ab47c639ecf544 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef __LL_MAP_H__
 #define __LL_MAP_H__ 1
 
index 6fed58182842d3a15e79e13b076079331a7cd9d3..3e5d3b146a23b8cd6293b562e98200fae37f58f6 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef DB_NAMES_H_
 #define DB_NAMES_H_ 1
 
index 51324b21ba0cd5daedcc21249bcd1541fc27dd54..aed7ce08507f1a6885d34a77005bc7330d907c73 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef __NAMESPACE_H__
 #define __NAMESPACE_H__ 1
 
index 921be0607b514d29a741300a4557b08d382a688a..62ebbd6a38d0314c01755bdac404dae80f76cb69 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef RT_NAMES_H_
 #define RT_NAMES_H_ 1
 
index d6e5885c894f786ac92b6bf72b965e74e3af0cc6..f85e52c4bb3a4bb6c2e2501349e43628fb500fe1 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef __RTM_MAP_H__
 #define __RTM_MAP_H__ 1
 
index 9c37c613dce269abf476c394e04f3e09eb83d811..d3895d5627262185616534c6e9513a669e886a08 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef __UTILS_H__
 #define __UTILS_H__ 1
 
index b8ea67daf9880afd03687628adbc3918b153c527..89c73e4feb032dfe2b66f9ba2fa0af6db8f7d547 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef _XTABLES_INTERNAL_H
 #define _XTABLES_INTERNAL_H 1
 
index 978ae0d150f5dd431dd0f739472a87c83c2f22d0..b48c3166017c746c1ac957441fde712cfff1bf7d 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef _XTABLES_H
 #define _XTABLES_H
 
index 5a1c7ad2d264d452092244c52da6ec4461ae04d3..a653c1bdd9673ee267437dea31850128af4c6665 100644 (file)
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 IPOBJ=ip.o ipaddress.o ipaddrlabel.o iproute.o iprule.o ipnetns.o \
     rtm_map.o iptunnel.o ip6tunnel.o tunnel.o ipneigh.o ipntable.o iplink.o \
     ipmaddr.o ipmonitor.o ipmroute.o ipprefix.o iptuntap.o iptoken.o \
index 30a2dc49816cdc96e1975ba30abb60ca02c3e77d..851b9215ab630c052375284ebc83dd43fa0ad23c 100644 (file)
--- a/ip/ifcfg
+++ b/ip/ifcfg
@@ -1,4 +1,5 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
 
 CheckForwarding () {
   local sbase fwd
index 04c6c2ed840841ccbed238f1a16a40d18c095c33..f99c267223d9bcb08991ccd43b0b9336eb668c20 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef _ILA_COMMON_H_
 #define _ILA_COMMON_H_
 
index 4b8b0a71b87890123dcd5eea951cdbcbb3745c6b..3203f0cd5b52af1b6233dd352084be8aef62d9e7 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef _IP_COMMON_H_
 #define _IP_COMMON_H_
 
index cf78ea5bca926630dfe4093be2e7b862264cc095..cba22955206809e2bda0d8f6e94a33801f46d494 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #include <stdio.h>
 #include <stdlib.h>
 
index d7dc8f987d1208aa175da17c28884e1153509448..a2a7301f7c7bb8cd0584940dc20e932a8d19de8c 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #include <stdio.h>
 #include <stdlib.h>
 
index 51d5919a75d3d2b10402ef6f2bc876bbcb41742a..6ffb91012f51aef20de6feea0c14fbe91fe4b063 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #include <stdio.h>
 #include <stdlib.h>
 
index 6225268dda2dc926b8656fae2d00c12231d1323a..58f955a478ac0e9692118dbd75e14daaa929d3c2 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #include <stdio.h>
 #include <stdlib.h>
 
index b7ae15f072a4e76c0a8cd9af92d1e8a87757910d..74a1505b28b2a5aab3c6172c606df453f753ed51 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #include <stdio.h>
 #include <stdlib.h>
 
index 1fa539863132796ee32c8eb4921e7ecbc8c898d8..059a4220e40eee0142ec9c398a9529f082a2e166 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #define _ATFILE_SOURCE
 #include <sys/types.h>
 #include <sys/stat.h>
index b82b58ad3486d048c65e290834e4bf251014235e..be003cea7b265287f0b4dfef076818aa9356d553 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef __LWTUNNEL_H__
 #define __LETUNNEL_H__ 1
 
index d266e2d9725ff872067dc0035f530bf18b3230a1..c251e7b87efd8fb3538dea27149d55462f21eebf 100644 (file)
--- a/ip/routef
+++ b/ip/routef
@@ -1,4 +1,5 @@
 #! /bin/sh
+# SPDX-License-Identifier: GPL-2.0
 
 if [ -z "$*" ] ; then
        exec ip -4 ro flush  scope global  type unicast
index 9a30462aa6b20e378beda033e86668e8cd535a2d..7056886d0f94b8c6d89b1d58b22e24f9cda0d276 100644 (file)
--- a/ip/routel
+++ b/ip/routel
@@ -1,5 +1,5 @@
 #!/bin/sh
-#$Id$
+# SPDX-License-Identifier: GPL-2.0
 
 #
 # Script created by: Stephen R. van den Berg <srb@cuci.nl>, 1999/04/18
diff --git a/ip/rtpr b/ip/rtpr
index c3629fd60a0e08458ae4110596e08f599f0b02b9..192a476f817e1efa5ed13af4eb263de472ab59b4 100644 (file)
--- a/ip/rtpr
+++ b/ip/rtpr
@@ -1,4 +1,5 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
 
 exec tr "[\\\\]" "[
 ]"
index 0bc80743a776cee0dc39c59daa16be09dc9ee61f..47c4092c9eaacb4212fec12041847cc2798b1d9c 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * This file creates a dummy version of dynamic loading
  * for environments where dynamic linking
index 1efd591b087cef8778dfc9d621bac7125f34c146..215a6dcb9e9050238e88d097c06483b601ba36d4 100644 (file)
--- a/ip/xdp.h
+++ b/ip/xdp.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef __XDP__
 #define __XDP__
 
index 0fbdf4c31f5007e1cc28afe942a4e4ab1c4bd5e9..7b34ed5f8a48ed68398cf85e73a35c1d3f0752ae 100644 (file)
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 include ../config.mk
 
 CFLAGS += -fPIC
index 8d049a01ec0e462acbef11d60f86812070625ffc..a13a4930b10c11aca902b61ff1f73c39dbd3bf7f 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #include <stdio.h>
 #include <stdarg.h>
 #include <stdlib.h>
index 112dc0d90591077e9b0bc02c561a3f89ba5d3d19..17d960e308816be964aa4f4ed476cd723541ae28 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #include <errno.h>
 #include <string.h>
 #include <sys/types.h>
index 73857562be0243c45b6b2ab175a4a201d2e230f5..1cf54e51868de7cdbd1f9e956aa52a6fb419c8b7 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #include <errno.h>
 #include <string.h>
 #include <sys/types.h>
index 97c991202aead8649ed081ffec7cb1262cdb14db..eb36b59dee7f494ace68636e439bced6670b052b 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #include <sys/wait.h>
 #include <stdio.h>
 #include <errno.h>
index 5f646b3e0ec40a50b57fbcffe82d322a5a7040bd..80b8a34e1a70499a7db495b5e48ec81a3c81fd24 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #include <errno.h>
 #include <sys/types.h>
 #include <sys/socket.h>
index 071a775e7437b84c9988742d71abec3571b92ec5..a97c1c1bc7bfebfd9e5a5e7357fe669c75cd144d 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #include <errno.h>
 #include <string.h>
 #include <sys/types.h>
index bb5fbb5f518d2f6ce64b031acf8d566190529edf..f2ce698fc71169a808a40e5d3651b06a2ae7b978 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * libgenl.c   GENL library
  */
index 5902f5037b13701b3b07d118d32c12b074f92296..f8d89f421ecba6b09af1fd191d5c8a9af320439e 100644 (file)
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+
 #include <errno.h>
 #include <string.h>
 #include <sys/types.h>
index 6d2e6a69436a785695fda047167a6414874742ab..065374eb11bf582a3b3952d36994cddf9ae36ff8 100644 (file)
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+
 #include <errno.h>
 #include <string.h>
 #include <sys/types.h>
index 749faa11ef4a0d3d783351fa507b6f22272f98c9..6b095ee4664746c92e5ac86eb82e2f024fe522bd 100644 (file)
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 INSTALL=install
 INSTALLDIR=install -m 0755 -d
 INSTALLMAN=install -m 0644
index a98741de29262aa8c7b4301bbd75457e1fd02d11..e3d3e60782cadd42bfc659255cda52589bd08d21 100644 (file)
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 MAN3PAGES = $(wildcard *.3)
 
 all:
index 689fc713b672945b5270433d0a82e1cda5a604bd..1a8d521914cc1686acc56c2e83eb98754976f0b1 100644 (file)
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 MAN7PAGES = $(wildcard *.7)
 
 all:
index 12af66be4bc736d9bbe3a09edbb6a8c36f77075d..932ba1f3c488f5aedd1a9eab170f1db230b26a74 100644 (file)
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 TARGETS = ip-address.8 ip-link.8 ip-route.8
 
 MAN8PAGES = $(TARGETS) $(filter-out $(TARGETS),$(wildcard *.8))
index d02616e3482af3dba9bd8bcd07958604364d0b7c..34ef6b21b4ed4299dda4a824263de9a3c687d70b 100644 (file)
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 SSOBJ=ss.o ssfilter.o
 LNSTATOBJ=lnstat.o lnstat_util.o
 
index 83dad9703b92ef30703162f35798779ca0eca2a2..199eb54ab2883d69bef18f3a5014ceab0b6b4885 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef _LNSTAT_H
 #define _LNSTAT_H
 
index dfc5b938cdfca09054d9295fbca13affbc0fc24b..f5b0bc8a16e72961cd925e971bd164f245a60e6b 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #define SSF_DCOND 0
 #define SSF_SCOND 1
 #define SSF_OR   2
index 434185273f64ca29e4ee7e68fb2f8509e5ce7ec9..ba4c5a76baab5ad3536a84351b05364d93eed3ea 100644 (file)
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 include ../config.mk
 
 DISTGEN = maketable normal pareto paretonormal
index 1b5aa50b2cb8e9b78153d54c3021466879a77cf4..c8966bfda9f864577cb4e8529596b9cd7e227742 100644 (file)
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 include ../config.mk
 
 ifeq ($(HAVE_MNL),y)
index 24bd3e2eda79e7c5f34e30e15b086a8b2c1d0cc0..3716dd6a28de09b9045caf2eaf83834496931bd6 100644 (file)
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 TCOBJ= tc.o tc_qdisc.o tc_class.o tc_filter.o tc_util.o tc_monitor.o \
        tc_exec.o m_police.o m_estimator.o m_action.o m_ematch.o \
        emp_ematch.yacc.o emp_ematch.lex.o
index d9b45be12055edb839a0c105d708644b97c4265a..dc1067591a96443e8f6db796851e92ca3653f00b 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 %{
  #include "emp_ematch.yacc.h"
  #include "m_ematch.h"
index 4cd7859fcb1d5e2e838f4d1b4f22973936aa766a..749273dbd9abb4c3cfe0838a73f392ac7d58763e 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * f_tcindex.c         Traffic control index filter
  *
index 81456aac3d5a80dc18f58d5d22a9b10dfc4ce8f8..fa6e214a44c6dbc32625dd1fcb97753608c9014f 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef __TC_EMATCH_H_
 #define __TC_EMATCH_H_
 
index 783a578c308a7e05b08d136df2d1fade2494dc70..3ea4cf4eb986f66192709699f56143e30ff66338 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * q_atm.c             ATM.
  *
index 5e8dd91cb3744b57fb0d12c21c3e053981f0e404..341f653f60b13cc95f6efcc69143dcd1da730d41 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #include <stdio.h>
 #include <string.h>
 
index 65eeb271588b6e8b1516e0895163b1155c7c7e3b..967fd89214156f990f3b915cae77c0eec198b0a4 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * q_dsmark.c          Differentiated Services field marking.
  *
index 2ec3d42f042983a90b5dd17400b6cb83139b5874..66c7188663547ec21f31574977649476750aab20 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /* q_hhf.c             Heavy-Hitter Filter (HHF)
  *
  * Copyright (C) 2013 Terry Lam <vtlam@google.com>
index 0bc80743a776cee0dc39c59daa16be09dc9ee61f..47c4092c9eaacb4212fec12041847cc2798b1d9c 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * This file creates a dummy version of dynamic loading
  * for environments where dynamic linking
index 8f956490dd3055f0145719c16a37ef4e69f4a1f7..fa17d249a1cc2fc30bdf464f2534b23bf26ef16a 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef _TC_CBQ_H_
 #define _TC_CBQ_H_ 1
 
index a2f389845feee72f207eaf3d444bbea258d56bb7..264fbdac0288d096564af2566f25ed3540b8e755 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 
 #define TCA_BUF_MAX    (64*1024)
 
index 8a63b79c147f9573f5e3b91ab71e2cda5f551d0a..1dfa9a4f773bd5b4039e35fb4b15e8fd1e964ab3 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef _TC_CORE_H_
 #define _TC_CORE_H_ 1
 
index 6f6b09e3e05e34b7f15bcfa7113df2d93de7c415..88fba58b7416c517040ff692bf9e8301b17a0e58 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef _TC_RED_H_
 #define _TC_RED_H_ 1
 
index eae1091329b8a02d61f416a6db45adf61c6f07a4..40a8865d6e35761ea0c083629395d0d25d9072d9 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef _TC_UTIL_H_
 #define _TC_UTIL_H_ 1
 
index 055136b52683615e0ed1fca29b7501dadcabcacf..2a54e5c845e65da6cc61678ebe082301b60d8336 100644 (file)
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 ## -- Config --
 DEV := lo
 PREFIX := sudo -E unshare -n
index ba128aa78d5f64469dcb692c9e26578c9bc490c7..b8a7d5153175a927d7a36971e58b3275c31769c5 100644 (file)
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 SUBDIRS := $(filter-out Makefile,$(wildcard *))
 .PHONY: all configure clean distclean show $(SUBDIRS)
 
index 9581de51fd358e4b95ae116705bb199619544a35..f2cdc9803939b98b10a264c4cee5a2d59a340afe 100644 (file)
@@ -1,2 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0
 generate_nlmsg: generate_nlmsg.c ../../lib/libnetlink.c
        $(CC) -o $@ $^
index d3c957e230a41fd01201e3034571c5ef235fe033..abd33ab073e8905b80653ec611b2bf0440a692aa 100644 (file)
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 include ../config.mk
 
 ifeq ($(HAVE_MNL),y)