From: Stephen Hemminger Date: Fri, 24 Nov 2017 20:21:35 +0000 (-0800) Subject: SPDX license identifiers X-Git-Tag: v4.15.0~121 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6054c1ebf7727123654f2c0764f3693813e9bad6;p=thirdparty%2Fiproute2.git SPDX license identifiers For all files in iproute2 which do not have an obvious license identification, mark them with SPDK GPL-2 Signed-off-by: Stephen Hemminger --- diff --git a/Makefile b/Makefile index 6ad961043..6a51e0db9 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # Top level Makefile for iproute2 ifeq ($(VERBOSE),0) diff --git a/bridge/Makefile b/bridge/Makefile index b2ae0a4ed..c6b7d08da 100644 --- a/bridge/Makefile +++ b/bridge/Makefile @@ -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 diff --git a/bridge/br_common.h b/bridge/br_common.h index 01447ddca..f07c7d1c9 100644 --- a/bridge/br_common.h +++ b/bridge/br_common.h @@ -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)))) diff --git a/bridge/bridge.c b/bridge/bridge.c index 6658cb8fd..48fe1c8b2 100644 --- a/bridge/bridge.c +++ b/bridge/bridge.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Get/set/delete bridge with netlink * diff --git a/bridge/fdb.c b/bridge/fdb.c index 1ab1fb716..376713b64 100644 --- a/bridge/fdb.c +++ b/bridge/fdb.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Get/set/delete fdb table with netlink * diff --git a/bridge/link.c b/bridge/link.c index 65ca47e14..e2371d0db 100644 --- a/bridge/link.c +++ b/bridge/link.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #include #include diff --git a/bridge/mdb.c b/bridge/mdb.c index f38e326e4..7b7b81f46 100644 --- a/bridge/mdb.c +++ b/bridge/mdb.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Get mdb table with netlink */ diff --git a/bridge/vlan.c b/bridge/vlan.c index 0f78a9e8f..69fb5425e 100644 --- a/bridge/vlan.c +++ b/bridge/vlan.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #include #include #include diff --git a/configure b/configure index f0668ab3f..d6832464f 100755 --- 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"} diff --git a/devlink/Makefile b/devlink/Makefile index 3b2067d66..3afda65e6 100644 --- a/devlink/Makefile +++ b/devlink/Makefile @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 include ../config.mk ifeq ($(HAVE_MNL),y) diff --git a/examples/bpf/bpf_tailcall.c b/examples/bpf/bpf_tailcall.c index 1a30426c3..161eb6062 100644 --- a/examples/bpf/bpf_tailcall.c +++ b/examples/bpf/bpf_tailcall.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #include "../../include/bpf_api.h" #define ENTRY_INIT 3 diff --git a/genl/Makefile b/genl/Makefile index de1635e49..2b7a45b60 100644 --- a/genl/Makefile +++ b/genl/Makefile @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 GENLOBJ=genl.o include ../config.mk diff --git a/genl/genl_utils.h b/genl/genl_utils.h index 85b518301..6e6f44501 100644 --- a/genl/genl_utils.h +++ b/genl/genl_utils.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _TC_UTIL_H_ #define _TC_UTIL_H_ 1 diff --git a/genl/static-syms.c b/genl/static-syms.c index 0bc80743a..47c4092c9 100644 --- a/genl/static-syms.c +++ b/genl/static-syms.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * This file creates a dummy version of dynamic loading * for environments where dynamic linking diff --git a/include/bpf_api.h b/include/bpf_api.h index d13247199..89d3488d0 100644 --- a/include/bpf_api.h +++ b/include/bpf_api.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __BPF_API__ #define __BPF_API__ diff --git a/include/bpf_elf.h b/include/bpf_elf.h index 406c30874..a8e360f3b 100644 --- a/include/bpf_elf.h +++ b/include/bpf_elf.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __BPF_ELF__ #define __BPF_ELF__ diff --git a/include/bpf_scm.h b/include/bpf_scm.h index 122d59fc4..669f05385 100644 --- a/include/bpf_scm.h +++ b/include/bpf_scm.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __BPF_SCM__ #define __BPF_SCM__ diff --git a/include/color.h b/include/color.h index 7fd685d0d..f6c351b77 100644 --- a/include/color.h +++ b/include/color.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __COLOR_H__ #define __COLOR_H__ 1 diff --git a/include/dlfcn.h b/include/dlfcn.h index f15bc2c77..1d8890adf 100644 --- a/include/dlfcn.h +++ b/include/dlfcn.h @@ -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. diff --git a/include/ip6tables.h b/include/ip6tables.h index 5f1c5b65e..bfb286826 100644 --- a/include/ip6tables.h +++ b/include/ip6tables.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _IP6TABLES_USER_H #define _IP6TABLES_USER_H diff --git a/include/iptables.h b/include/iptables.h index 78c10abd7..78bc378e6 100644 --- a/include/iptables.h +++ b/include/iptables.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _IPTABLES_USER_H #define _IPTABLES_USER_H diff --git a/include/iptables/internal.h b/include/iptables/internal.h index 62a8ecb99..1fd137250 100644 --- a/include/iptables/internal.h +++ b/include/iptables/internal.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef IPTABLES_INTERNAL_H #define IPTABLES_INTERNAL_H 1 diff --git a/include/libgenl.h b/include/libgenl.h index 2dbb4b36a..cd13f4761 100644 --- a/include/libgenl.h +++ b/include/libgenl.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LIBGENL_H__ #define __LIBGENL_H__ diff --git a/include/libiptc/ipt_kernel_headers.h b/include/libiptc/ipt_kernel_headers.h index a5963e944..3d2a2a327 100644 --- a/include/libiptc/ipt_kernel_headers.h +++ b/include/libiptc/ipt_kernel_headers.h @@ -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 diff --git a/include/libiptc/libip6tc.h b/include/libiptc/libip6tc.h index 9aed80a02..cd588de7a 100644 --- a/include/libiptc/libip6tc.h +++ b/include/libiptc/libip6tc.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LIBIP6TC_H #define _LIBIP6TC_H /* Library which manipulates firewall rules. Version 0.2. */ diff --git a/include/libiptc/libiptc.h b/include/libiptc/libiptc.h index 24cdbdb79..1bfe4e18e 100644 --- a/include/libiptc/libiptc.h +++ b/include/libiptc/libiptc.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LIBIPTC_H #define _LIBIPTC_H /* Library which manipulates filtering rules. */ diff --git a/include/libiptc/libxtc.h b/include/libiptc/libxtc.h index 37010188b..1e9596a6e 100644 --- a/include/libiptc/libxtc.h +++ b/include/libiptc/libxtc.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LIBXTC_H #define _LIBXTC_H /* Library which manipulates filtering rules. */ diff --git a/include/libiptc/xtcshared.h b/include/libiptc/xtcshared.h index 773ebc4c7..278a58f4e 100644 --- a/include/libiptc/xtcshared.h +++ b/include/libiptc/xtcshared.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LIBXTC_SHARED_H #define _LIBXTC_SHARED_H 1 diff --git a/include/libnetlink.h b/include/libnetlink.h index 77b62605a..a4d83b9ea 100644 --- a/include/libnetlink.h +++ b/include/libnetlink.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LIBNETLINK_H__ #define __LIBNETLINK_H__ 1 diff --git a/include/list.h b/include/list.h index 5b529dc6e..5af737c71 100644 --- a/include/list.h +++ b/include/list.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LIST_H__ #define __LIST_H__ 1 /* List and hash list stuff from kernel */ diff --git a/include/ll_map.h b/include/ll_map.h index 949bfc3e1..c8474e6eb 100644 --- a/include/ll_map.h +++ b/include/ll_map.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LL_MAP_H__ #define __LL_MAP_H__ 1 diff --git a/include/names.h b/include/names.h index 6fed58182..3e5d3b146 100644 --- a/include/names.h +++ b/include/names.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef DB_NAMES_H_ #define DB_NAMES_H_ 1 diff --git a/include/namespace.h b/include/namespace.h index 51324b21b..aed7ce085 100644 --- a/include/namespace.h +++ b/include/namespace.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __NAMESPACE_H__ #define __NAMESPACE_H__ 1 diff --git a/include/rt_names.h b/include/rt_names.h index 921be0607..62ebbd6a3 100644 --- a/include/rt_names.h +++ b/include/rt_names.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef RT_NAMES_H_ #define RT_NAMES_H_ 1 diff --git a/include/rtm_map.h b/include/rtm_map.h index d6e5885c8..f85e52c4b 100644 --- a/include/rtm_map.h +++ b/include/rtm_map.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __RTM_MAP_H__ #define __RTM_MAP_H__ 1 diff --git a/include/utils.h b/include/utils.h index 9c37c613d..d3895d562 100644 --- a/include/utils.h +++ b/include/utils.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __UTILS_H__ #define __UTILS_H__ 1 diff --git a/include/xt-internal.h b/include/xt-internal.h index b8ea67daf..89c73e4fe 100644 --- a/include/xt-internal.h +++ b/include/xt-internal.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _XTABLES_INTERNAL_H #define _XTABLES_INTERNAL_H 1 diff --git a/include/xtables.h b/include/xtables.h index 978ae0d15..b48c31660 100644 --- a/include/xtables.h +++ b/include/xtables.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _XTABLES_H #define _XTABLES_H diff --git a/ip/Makefile b/ip/Makefile index 5a1c7ad2d..a653c1bdd 100644 --- a/ip/Makefile +++ b/ip/Makefile @@ -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 \ diff --git a/ip/ifcfg b/ip/ifcfg index 30a2dc498..851b9215a 100644 --- a/ip/ifcfg +++ b/ip/ifcfg @@ -1,4 +1,5 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 CheckForwarding () { local sbase fwd diff --git a/ip/ila_common.h b/ip/ila_common.h index 04c6c2ed8..f99c26722 100644 --- a/ip/ila_common.h +++ b/ip/ila_common.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ILA_COMMON_H_ #define _ILA_COMMON_H_ diff --git a/ip/ip_common.h b/ip/ip_common.h index 4b8b0a71b..3203f0cd5 100644 --- a/ip/ip_common.h +++ b/ip/ip_common.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _IP_COMMON_H_ #define _IP_COMMON_H_ diff --git a/ip/iplink_dummy.c b/ip/iplink_dummy.c index cf78ea5bc..cba229552 100644 --- a/ip/iplink_dummy.c +++ b/ip/iplink_dummy.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #include #include diff --git a/ip/iplink_ifb.c b/ip/iplink_ifb.c index d7dc8f987..a2a7301f7 100644 --- a/ip/iplink_ifb.c +++ b/ip/iplink_ifb.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #include #include diff --git a/ip/iplink_nlmon.c b/ip/iplink_nlmon.c index 51d5919a7..6ffb91012 100644 --- a/ip/iplink_nlmon.c +++ b/ip/iplink_nlmon.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #include #include diff --git a/ip/iplink_team.c b/ip/iplink_team.c index 6225268dd..58f955a47 100644 --- a/ip/iplink_team.c +++ b/ip/iplink_team.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #include #include diff --git a/ip/iplink_vcan.c b/ip/iplink_vcan.c index b7ae15f07..74a1505b2 100644 --- a/ip/iplink_vcan.c +++ b/ip/iplink_vcan.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #include #include diff --git a/ip/ipnetns.c b/ip/ipnetns.c index 1fa539863..059a4220e 100644 --- a/ip/ipnetns.c +++ b/ip/ipnetns.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #define _ATFILE_SOURCE #include #include diff --git a/ip/iproute_lwtunnel.h b/ip/iproute_lwtunnel.h index b82b58ad3..be003cea7 100644 --- a/ip/iproute_lwtunnel.h +++ b/ip/iproute_lwtunnel.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LWTUNNEL_H__ #define __LETUNNEL_H__ 1 diff --git a/ip/routef b/ip/routef index d266e2d97..c251e7b87 100644 --- 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 diff --git a/ip/routel b/ip/routel index 9a30462aa..7056886d0 100644 --- 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 , 1999/04/18 diff --git a/ip/rtpr b/ip/rtpr index c3629fd60..192a476f8 100644 --- a/ip/rtpr +++ b/ip/rtpr @@ -1,4 +1,5 @@ #! /bin/bash +# SPDX-License-Identifier: GPL-2.0 exec tr "[\\\\]" "[ ]" diff --git a/ip/static-syms.c b/ip/static-syms.c index 0bc80743a..47c4092c9 100644 --- a/ip/static-syms.c +++ b/ip/static-syms.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * This file creates a dummy version of dynamic loading * for environments where dynamic linking diff --git a/ip/xdp.h b/ip/xdp.h index 1efd591b0..215a6dcb9 100644 --- a/ip/xdp.h +++ b/ip/xdp.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __XDP__ #define __XDP__ diff --git a/lib/Makefile b/lib/Makefile index 0fbdf4c31..7b34ed5f8 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 include ../config.mk CFLAGS += -fPIC diff --git a/lib/color.c b/lib/color.c index 8d049a01e..a13a4930b 100644 --- a/lib/color.c +++ b/lib/color.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #include #include #include diff --git a/lib/dnet_ntop.c b/lib/dnet_ntop.c index 112dc0d90..17d960e30 100644 --- a/lib/dnet_ntop.c +++ b/lib/dnet_ntop.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #include #include #include diff --git a/lib/dnet_pton.c b/lib/dnet_pton.c index 73857562b..1cf54e518 100644 --- a/lib/dnet_pton.c +++ b/lib/dnet_pton.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #include #include #include diff --git a/lib/exec.c b/lib/exec.c index 97c991202..eb36b59de 100644 --- a/lib/exec.c +++ b/lib/exec.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #include #include #include diff --git a/lib/ipx_ntop.c b/lib/ipx_ntop.c index 5f646b3e0..80b8a34e1 100644 --- a/lib/ipx_ntop.c +++ b/lib/ipx_ntop.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #include #include #include diff --git a/lib/ipx_pton.c b/lib/ipx_pton.c index 071a775e7..a97c1c1bc 100644 --- a/lib/ipx_pton.c +++ b/lib/ipx_pton.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #include #include #include diff --git a/lib/libgenl.c b/lib/libgenl.c index bb5fbb5f5..f2ce698fc 100644 --- a/lib/libgenl.c +++ b/lib/libgenl.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * libgenl.c GENL library */ diff --git a/lib/mpls_ntop.c b/lib/mpls_ntop.c index 5902f5037..f8d89f421 100644 --- a/lib/mpls_ntop.c +++ b/lib/mpls_ntop.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0 */ + #include #include #include diff --git a/lib/mpls_pton.c b/lib/mpls_pton.c index 6d2e6a694..065374eb1 100644 --- a/lib/mpls_pton.c +++ b/lib/mpls_pton.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0 */ + #include #include #include diff --git a/man/Makefile b/man/Makefile index 749faa11e..6b095ee46 100644 --- a/man/Makefile +++ b/man/Makefile @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 INSTALL=install INSTALLDIR=install -m 0755 -d INSTALLMAN=install -m 0644 diff --git a/man/man3/Makefile b/man/man3/Makefile index a98741de2..e3d3e6078 100644 --- a/man/man3/Makefile +++ b/man/man3/Makefile @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 MAN3PAGES = $(wildcard *.3) all: diff --git a/man/man7/Makefile b/man/man7/Makefile index 689fc713b..1a8d52191 100644 --- a/man/man7/Makefile +++ b/man/man7/Makefile @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 MAN7PAGES = $(wildcard *.7) all: diff --git a/man/man8/Makefile b/man/man8/Makefile index 12af66be4..932ba1f3c 100644 --- a/man/man8/Makefile +++ b/man/man8/Makefile @@ -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)) diff --git a/misc/Makefile b/misc/Makefile index d02616e34..34ef6b21b 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 SSOBJ=ss.o ssfilter.o LNSTATOBJ=lnstat.o lnstat_util.o diff --git a/misc/lnstat.h b/misc/lnstat.h index 83dad9703..199eb54ab 100644 --- a/misc/lnstat.h +++ b/misc/lnstat.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LNSTAT_H #define _LNSTAT_H diff --git a/misc/ssfilter.h b/misc/ssfilter.h index dfc5b938c..f5b0bc8a1 100644 --- a/misc/ssfilter.h +++ b/misc/ssfilter.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #define SSF_DCOND 0 #define SSF_SCOND 1 #define SSF_OR 2 diff --git a/netem/Makefile b/netem/Makefile index 434185273..ba4c5a76b 100644 --- a/netem/Makefile +++ b/netem/Makefile @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 include ../config.mk DISTGEN = maketable normal pareto paretonormal diff --git a/rdma/Makefile b/rdma/Makefile index 1b5aa50b2..c8966bfda 100644 --- a/rdma/Makefile +++ b/rdma/Makefile @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 include ../config.mk ifeq ($(HAVE_MNL),y) diff --git a/tc/Makefile b/tc/Makefile index 24bd3e2ed..3716dd6a2 100644 --- a/tc/Makefile +++ b/tc/Makefile @@ -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 diff --git a/tc/emp_ematch.l b/tc/emp_ematch.l index d9b45be12..dc1067591 100644 --- a/tc/emp_ematch.l +++ b/tc/emp_ematch.l @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ %{ #include "emp_ematch.yacc.h" #include "m_ematch.h" diff --git a/tc/f_tcindex.c b/tc/f_tcindex.c index 4cd7859fc..749273dbd 100644 --- a/tc/f_tcindex.c +++ b/tc/f_tcindex.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * f_tcindex.c Traffic control index filter * diff --git a/tc/m_ematch.h b/tc/m_ematch.h index 81456aac3..fa6e214a4 100644 --- a/tc/m_ematch.h +++ b/tc/m_ematch.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __TC_EMATCH_H_ #define __TC_EMATCH_H_ diff --git a/tc/q_atm.c b/tc/q_atm.c index 783a578c3..3ea4cf4eb 100644 --- a/tc/q_atm.c +++ b/tc/q_atm.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * q_atm.c ATM. * diff --git a/tc/q_clsact.c b/tc/q_clsact.c index 5e8dd91cb..341f653f6 100644 --- a/tc/q_clsact.c +++ b/tc/q_clsact.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #include #include diff --git a/tc/q_dsmark.c b/tc/q_dsmark.c index 65eeb2715..967fd8921 100644 --- a/tc/q_dsmark.c +++ b/tc/q_dsmark.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * q_dsmark.c Differentiated Services field marking. * diff --git a/tc/q_hhf.c b/tc/q_hhf.c index 2ec3d42f0..66c718866 100644 --- a/tc/q_hhf.c +++ b/tc/q_hhf.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* q_hhf.c Heavy-Hitter Filter (HHF) * * Copyright (C) 2013 Terry Lam diff --git a/tc/static-syms.c b/tc/static-syms.c index 0bc80743a..47c4092c9 100644 --- a/tc/static-syms.c +++ b/tc/static-syms.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * This file creates a dummy version of dynamic loading * for environments where dynamic linking diff --git a/tc/tc_cbq.h b/tc/tc_cbq.h index 8f956490d..fa17d249a 100644 --- a/tc/tc_cbq.h +++ b/tc/tc_cbq.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _TC_CBQ_H_ #define _TC_CBQ_H_ 1 diff --git a/tc/tc_common.h b/tc/tc_common.h index a2f389845..264fbdac0 100644 --- a/tc/tc_common.h +++ b/tc/tc_common.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #define TCA_BUF_MAX (64*1024) diff --git a/tc/tc_core.h b/tc/tc_core.h index 8a63b79c1..1dfa9a4f7 100644 --- a/tc/tc_core.h +++ b/tc/tc_core.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _TC_CORE_H_ #define _TC_CORE_H_ 1 diff --git a/tc/tc_red.h b/tc/tc_red.h index 6f6b09e3e..88fba58b7 100644 --- a/tc/tc_red.h +++ b/tc/tc_red.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _TC_RED_H_ #define _TC_RED_H_ 1 diff --git a/tc/tc_util.h b/tc/tc_util.h index eae109132..40a8865d6 100644 --- a/tc/tc_util.h +++ b/tc/tc_util.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _TC_UTIL_H_ #define _TC_UTIL_H_ 1 diff --git a/testsuite/Makefile b/testsuite/Makefile index 055136b52..2a54e5c84 100644 --- a/testsuite/Makefile +++ b/testsuite/Makefile @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 ## -- Config -- DEV := lo PREFIX := sudo -E unshare -n diff --git a/testsuite/iproute2/Makefile b/testsuite/iproute2/Makefile index ba128aa78..b8a7d5153 100644 --- a/testsuite/iproute2/Makefile +++ b/testsuite/iproute2/Makefile @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 SUBDIRS := $(filter-out Makefile,$(wildcard *)) .PHONY: all configure clean distclean show $(SUBDIRS) diff --git a/testsuite/tools/Makefile b/testsuite/tools/Makefile index 9581de51f..f2cdc9803 100644 --- a/testsuite/tools/Makefile +++ b/testsuite/tools/Makefile @@ -1,2 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0 generate_nlmsg: generate_nlmsg.c ../../lib/libnetlink.c $(CC) -o $@ $^ diff --git a/tipc/Makefile b/tipc/Makefile index d3c957e23..abd33ab07 100644 --- a/tipc/Makefile +++ b/tipc/Makefile @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 include ../config.mk ifeq ($(HAVE_MNL),y)