]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
tc: use SPDX
authorStephen Hemminger <stephen@networkplumber.org>
Wed, 11 Jan 2023 03:05:49 +0000 (19:05 -0800)
committerStephen Hemminger <stephen@networkplumber.org>
Sat, 14 Jan 2023 17:00:34 +0000 (09:00 -0800)
Replace GPL boilerplate with SPDX.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
81 files changed:
tc/e_bpf.c
tc/em_canid.c
tc/em_cmp.c
tc/em_ipset.c
tc/em_ipt.c
tc/em_meta.c
tc/em_nbyte.c
tc/em_u32.c
tc/emp_ematch.y
tc/f_basic.c
tc/f_bpf.c
tc/f_cgroup.c
tc/f_flow.c
tc/f_flower.c
tc/f_fw.c
tc/f_matchall.c
tc/f_route.c
tc/f_rsvp.c
tc/f_u32.c
tc/m_action.c
tc/m_bpf.c
tc/m_connmark.c
tc/m_csum.c
tc/m_ematch.c
tc/m_estimator.c
tc/m_gact.c
tc/m_ife.c
tc/m_ipt.c
tc/m_mirred.c
tc/m_nat.c
tc/m_pedit.c
tc/m_pedit.h
tc/m_police.c
tc/m_sample.c
tc/m_simple.c
tc/m_skbedit.c
tc/m_skbmod.c
tc/m_tunnel_key.c
tc/m_vlan.c
tc/m_xt.c
tc/m_xt_old.c
tc/p_eth.c
tc/p_icmp.c
tc/p_ip.c
tc/p_ip6.c
tc/p_tcp.c
tc/p_udp.c
tc/q_atm.c
tc/q_cbq.c
tc/q_cbs.c
tc/q_choke.c
tc/q_drr.c
tc/q_dsmark.c
tc/q_etf.c
tc/q_fifo.c
tc/q_gred.c
tc/q_hfsc.c
tc/q_ingress.c
tc/q_mqprio.c
tc/q_multiq.c
tc/q_pie.c
tc/q_prio.c
tc/q_qfq.c
tc/q_red.c
tc/q_sfb.c
tc/q_sfq.c
tc/q_skbprio.c
tc/q_taprio.c
tc/q_tbf.c
tc/tc.c
tc/tc_cbq.c
tc/tc_class.c
tc/tc_core.c
tc/tc_estimator.c
tc/tc_exec.c
tc/tc_filter.c
tc/tc_monitor.c
tc/tc_qdisc.c
tc/tc_red.c
tc/tc_stab.c
tc/tc_util.c

index 517ee5b35734d8a417a83eb104edd363973cfe4a..79cddace96a4af4b8799e6f31c9aaecc4dc1c401 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * e_bpf.c     BPF exec proxy
  *
- *             This program is free software; you can distribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Daniel Borkmann <daniel@iogearbox.net>
  */
 
index 197c707f43bfa2b62b869ae81b9630ee2a7897cc..6d06b66a5944bd8722985eac4ab5b2b3ea2e160e 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * em_canid.c  Ematch rule to match CAN frames according to their CAN identifiers
  *
- *             This program is free software; you can distribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Idea:       Oliver Hartkopp <oliver.hartkopp@volkswagen.de>
  * Copyright:  (c) 2011 Czech Technical University in Prague
  *             (c) 2011 Volkswagen Group Research
index e051656f0bbb7f82ba27162f85d59a87b4606cfb..dfd123df1e10aa65a7ee1c74741f527dd8a1c6be 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * em_cmp.c            Simple comparison Ematch
  *
- *             This program is free software; you can distribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Thomas Graf <tgraf@suug.ch>
  */
 
index 48b287f5ba3b267259f864d21033672e1287d968..f97abaf3cfb7fd80faa271e5e659b4d632783ebe 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * em_ipset.c          IPset Ematch
  *
@@ -8,10 +9,6 @@
  *                         Patrick Schaaf <bof@bof.de>
  *                         Martin Josefsson <gandalf@wlug.westbo.se>
  * Copyright (C) 2003-2010 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 
 #include <stdbool.h>
index b15c3ba56df431a393d4d358c0b66375f41c4306..69efefd8c5e38aedc1d74c7bc3ad88128183f2ea 100644 (file)
@@ -1,11 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * em_ipt.c            IPtables extensions matching Ematch
  *
  * (C) 2018 Eyal Birger <eyal.birger@gmail.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 
 #include <getopt.h>
index 2ddc65ed6cb6b42b1d04cc6998dd7f9b43190800..6a5654f3a28b0eae8d7906e36524b69b96aac6e5 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * em_meta.c           Metadata Ematch
  *
- *             This program is free software; you can distribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Thomas Graf <tgraf@suug.ch>
  */
 
index 274d713ffac859f0038b6553c9c9a76c4a93ca10..9f421fb423a6f3cacaca63465e30dd7272e9dcf8 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * em_nbyte.c          N-Byte Ematch
  *
- *             This program is free software; you can distribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Thomas Graf <tgraf@suug.ch>
  */
 
index ea2bf882a12fcac46a1b01eca60406a204e3fe0e..a83382ba44175c6f1d9557a01eff7cd6dbbfda5a 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * em_u32.c            U32 Ematch
  *
- *             This program is free software; you can distribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Thomas Graf <tgraf@suug.ch>
  */
 
index 4da3daed095c54a7a98a9c2d540f601c265eba6e..716877b6fc41d4a7f1cbef8da9aebf883184bfef 100644 (file)
@@ -1,4 +1,5 @@
 %{
+/* SPDX-License-Identifier: GPL-2.0-or-later */
  #include <stdio.h>
  #include <stdlib.h>
  #include <malloc.h>
index 9055370e90b989bf16f94f67a2f696967e9c52df..1ceb15d404f32feda7bc0193521b10e8a469f20f 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * f_basic.c           Basic Classifier
  *
- *             This program is free software; you can distribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Thomas Graf <tgraf@suug.ch>
- *
  */
 
 #include <stdio.h>
index 96e4576aa2f88b25aadcf5e9492c86a2240bfe71..a6d4875fc05712f807480f555e7c8508ab724374 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * f_bpf.c     BPF-based Classifier
  *
- *             This program is free software; you can distribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Daniel Borkmann <daniel@iogearbox.net>
  */
 
index 633700e66aa888a8f25c38deaafe70c9f805a5e6..a4fc03d1432e7c4f13e0d6449ba99f5ac70689f9 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * f_cgroup.c          Control Group Classifier
  *
- *             This program is free software; you can distribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Thomas Graf <tgraf@infradead.org>
- *
  */
 
 #include <stdio.h>
index 9dd50df2e49212277a8f5fc9bc3609dc17d83b63..2445aaef51b366b958959101affae9f1897b50cc 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * f_flow.c            Flow filter
  *
- *             This program is free software; you can redistribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Patrick McHardy <kaber@trash.net>
  */
 #include <stdio.h>
index 4c0a194836f5b308f121d491bc8e81e8dafcad87..48cfafdbc3c08e39f6470a69addb54f0b2a63003 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * f_flower.c          Flower Classifier
  *
- *             This program is free software; you can distribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:     Jiri Pirko <jiri@resnulli.us>
  */
 
index 3c6ea93d2944ad21ecb61ec1455c0d343e0ba2a9..38bec492b49a7b688a5cf0e1c7b2a9bba5c9b046 100644 (file)
--- a/tc/f_fw.c
+++ b/tc/f_fw.c
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * f_fw.c              FW filter.
  *
- *             This program is free software; you can redistribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
- *
  */
 
 #include <stdio.h>
index 231d749e1f432b48536fb242974cbbfd5054c4ee..38b68d7e24503f2c35a49071eee4bf9b75dcc489 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * f_matchall.c                Match-all Classifier
  *
- *             This program is free software; you can distribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Jiri Pirko <jiri@mellanox.com>, Yotam Gigi <yotamg@mellanox.com>
- *
  */
 
 #include <stdio.h>
index ad516b382ac0dabfff7928f520218d5ca48c3be6..e92c798574d8166a9d18bb8c1f2a1b04d35104f1 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * f_route.c           ROUTE filter.
  *
- *             This program is free software; you can redistribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
- *
  */
 
 #include <stdio.h>
index 0211c3f5e74b1f084cafc1f1a630898b0811a53e..84187d6207caac4d9f1521b56f4511ddff17b52b 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * q_rsvp.c            RSVP filter.
  *
- *             This program is free software; you can redistribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
- *
  */
 
 #include <stdio.h>
index e4e0ab121c57bb57f632be59e4dba451a5003211..bfe9e5f98de4e914a0d0ab609510d61d92cc0e4c 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * q_u32.c             U32 filter.
  *
- *             This program is free software; you can u32istribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
  *             Match mark added by Catalin(ux aka Dino) BOIE <catab at umbrella.ro> [5 nov 2004]
  *
index b3fd019350b297ca1876997ecf99a5cd8b98d0f1..7b12b6fc51d88b4a6b5d804da5dcd4ff00efaba3 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * m_action.c          Action Management
  *
- *             This program is free software; you can distribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:  J Hadi Salim (hadi@cyberus.ca)
  *
  * TODO:
index af5ba5ce45dc3dc314682d9766e8acf81cca6c74..4eadcb6daac4029a9ab2150fdf9c38ea14fac49b 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * m_bpf.c     BPF based action module
  *
- *              This program is free software; you can redistribute it and/or
- *              modify it under the terms of the GNU General Public License
- *              as published by the Free Software Foundation; either version
- *              2 of the License, or (at your option) any later version.
- *
  * Authors:     Jiri Pirko <jiri@resnulli.us>
  *              Daniel Borkmann <daniel@iogearbox.net>
  */
index 640bba9da18e61d8764853d59e3013ccda892080..8506d95af5ec4f6d76cf5a9a942a76cbdf13f89d 100644 (file)
@@ -1,19 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * m_connmark.c                Connection tracking marking import
  *
  * Copyright (c) 2011 Felix Fietkau <nbd@openwrt.org>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, see <http://www.gnu.org/licenses>.
  */
 
 #include <stdio.h>
index 23c5972535c60512bdc3fdb7aca8a2ef8ce9b8c2..ba1e3e33b763d97c39b2d42371f2ea885fd62afd 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * m_csum.c    checksum updating action
  *
- *             This program is free software; you can distribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors: Gregoire Baron <baronchon@n7mm.org>
  */
 
index 8840a0dc62a16828e7592236c1a783cf760a93c8..e30ee20542d4028ac00660c5ddbf630e1e356240 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * m_ematch.c          Extended Matches
  *
- *             This program is free software; you can distribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Thomas Graf <tgraf@suug.ch>
  */
 
index b5f4c860c60603e7b0d8225a417b67d8f4c7822e..98fc5e73f3c6e236bfe8099d54e370ff8092e829 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * m_estimator.c       Parse/print estimator module options.
  *
- *             This program is free software; you can u32istribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
- *
  */
 
 #include <stdio.h>
index 2ef52cd1055996067373bc28c3f4e49fb186e342..e294a701bfd1a51922349dbd92bfc5517057a141 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * m_gact.c            generic actions module
  *
- *             This program is free software; you can distribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:  J Hadi Salim (hadi@cyberus.ca)
- *
  */
 
 #include <stdio.h>
index 70ab1d754fc5da9dd5dec18525e239bebfac4aa0..162607ce741540978266b3f0afc1f4d213b29c4b 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * m_ife.c     IFE actions module
  *
- *             This program is free software; you can distribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:  J Hadi Salim (jhs@mojatatu.com)
- *
  */
 
 #include <stdio.h>
index 046b310e64ab752231186bd8f0823bfa1178d57c..465d1b8073d0806622eda9c9e13ecf74a2db9a71 100644 (file)
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * m_ipt.c     iptables based targets
  *             utilities mostly ripped from iptables <duh, its the linux way>
  *
- *             This program is free software; you can distribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:  J Hadi Salim (hadi@cyberus.ca)
  */
 
index 38d8043baa46e857fb4e96a188ce40af6897ef08..e5653e67f791c8178293f6003ef3b036c3689658 100644 (file)
@@ -1,15 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * m_egress.c          ingress/egress packet mirror/redir actions module
  *
- *             This program is free software; you can distribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:  J Hadi Salim (hadi@cyberus.ca)
  *
  * TODO: Add Ingress support
- *
  */
 
 #include <stdio.h>
index 654f9a3bd95e9136f3f5858a2ba86e1f9d37de78..583151254f737a59d592fa59f6c6b3b95a00b33d 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * m_nat.c             NAT module
  *
- *             This program is free software; you can distribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Herbert Xu <herbert@gondor.apana.org.au>
- *
  */
 
 #include <stdio.h>
index 54949e4319536ff309c46c2e187b2c56afb3e65a..afdd020b92bce9d25a62a097f712aa09863174bd 100644 (file)
@@ -1,18 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * m_pedit.c           generic packet editor actions module
  *
- *             This program is free software; you can distribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:  J Hadi Salim (hadi@cyberus.ca)
  *
  * TODO:
  *     1) Big endian broken in some spots
  *     2) A lot of this stuff was added on the fly; get a big double-double
  *     and clean it up at some point.
- *
  */
 
 #include <stdio.h>
index 549bcf86a91fc2f80fff0355d4b4d56219a800e2..8f3771e162553d852d8dc7afc7a05dbc89d53414 100644 (file)
@@ -1,10 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * m_pedit.h           generic packet editor actions module
  *
- *             This program is free software; you can distribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
  *
  * Authors:  J Hadi Salim (hadi@cyberus.ca)
  *
index f38ab90a303963bdbd4713019be7219ad899674e..46c39a8187616bffd6a3b0cf16eee387f6654092 100644 (file)
@@ -1,16 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * m_police.c          Parse/print policing module options.
  *
- *             This program is free software; you can u32istribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
- * FIXES:       19990619 - J Hadi Salim (hadi@cyberus.ca)
- *             simple addattr packaging fix.
- *             2002: J Hadi Salim - Add tc action extensions syntax
- *
  */
 
 #include <stdio.h>
index 696d76095ae6d0df9e016ea518381379f0c5debf..769de144cbe0076be8fd6b8da429c046b007d8e1 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * m_sample.c          ingress/egress packet sampling module
  *
- *             This program is free software; you can distribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Yotam Gigi <yotamg@mellanox.com>
- *
  */
 
 #include <stdio.h>
index bc86be27cbccfee76f1d2acbbb6426450f927a1c..fe2bca21ae46d27691ed3c078c60e06de9be62e0 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * m_simple.c  simple action
  *
- *             This program is free software; you can distribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    J Hadi Salim <jhs@mojatatu.com>
  *
  * Pedagogical example. Adds a string that will be printed every time
index 46d92b25582f6e896e5f6d2244d1f6b8f5913ecd..d55a6128494e22db6ab6186545a8f7323e4e66da 100644 (file)
@@ -1,22 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * m_skbedit.c         SKB Editing module
  *
  * Copyright (c) 2008, Intel Corporation.
  *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see <http://www.gnu.org/licenses>.
- *
  * Authors:    Alexander Duyck <alexander.h.duyck@intel.com>
- *
  */
 
 #include <stdio.h>
index 8d8bac5bc4818ac47aafa564e0e23eef10643a3c..b1c8d00dfe47ad8134c2e8d2d4aa2198f7812718 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * m_skbmod.c  skb modifier action module
  *
- *             This program is free software; you can distribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:  J Hadi Salim (jhs@mojatatu.com)
- *
  */
 
 #include <stdio.h>
index ca0dff119a49bec6997c527a54256a60269ce5c3..1b4c8bd640ebfa9d47be446814182310d51d86f0 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * m_tunnel_key.c      ip tunnel manipulation module
  *
- *              This program is free software; you can redistribute it and/or
- *              modify it under the terms of the GNU General Public License
- *              as published by the Free Software Foundation; either version
- *              2 of the License, or (at your option) any later version.
- *
  * Authors:     Amir Vadai <amir@vadai.me>
  */
 
index 1b2b1d51ed2df9aecbb7a706577e82b0f00d194e..c1dc8b428e61188e65c7ed7d9a3477342f5fe853 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * m_vlan.c            vlan manipulation module
  *
- *              This program is free software; you can redistribute it and/or
- *              modify it under the terms of the GNU General Public License
- *              as published by the Free Software Foundation; either version
- *              2 of the License, or (at your option) any later version.
- *
  * Authors:     Jiri Pirko <jiri@resnulli.us>
  */
 
index deaf96a26f7517665973ff110a2b7354127437ce..8a6fd3ce0ffcb919186b1ce43d50e20d93852325 100644 (file)
--- a/tc/m_xt.c
+++ b/tc/m_xt.c
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * m_xt.c      xtables based targets
  *             utilities mostly ripped from iptables <duh, its the linux way>
  *
- *             This program is free software; you can distribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:  J Hadi Salim (hadi@cyberus.ca)
  */
 
index db014898590d8252b506e33d0e2ae1c0220adc48..efa084c5441b163018b5b056cb0fb6ef545557a1 100644 (file)
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * m_xt.c      xtables based targets
  *             utilities mostly ripped from iptables <duh, its the linux way>
  *
- *             This program is free software; you can distribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:  J Hadi Salim (hadi@cyberus.ca)
  */
 
index 7b6b61f809d33faf49e0c27365e7525f0f9bccf9..b35e0c2b7c9a8c2739a04bd6f81d24e9ce1e8664 100644 (file)
@@ -1,13 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * m_pedit_eth.c       packet editor: ETH header
  *
- *             This program is free software; you can distribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
  *
  * Authors:  Amir Vadai (amir@vadai.me)
- *
  */
 
 #include <stdio.h>
index 933ca8a5ff1e28bce127c34e319ff3f96e998502..074d02f43019d1e1139d3b245295784e93aeea79 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * m_pedit_icmp.c      packet editor: ICMP header
  *
- *             This program is free software; you can distribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:  J Hadi Salim (hadi@cyberus.ca)
- *
  */
 
 #include <stdio.h>
index 8eed9e8da57dc275df7a6c2d7a7633b148570d86..7f66ef3143fb947c3a9a0fcec0c496bec2c0f5d7 100644 (file)
--- a/tc/p_ip.c
+++ b/tc/p_ip.c
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * p_ip.c              packet editor: IPV4 header
  *
- *             This program is free software; you can distribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:  J Hadi Salim (hadi@cyberus.ca)
- *
  */
 
 #include <stdio.h>
index f855c59e1f6ba2e5124adf0b2c7f2cff201971eb..3f8c23e469334be20a54567881c15a87f13e3171 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * p_ip6.c             packet editor: IPV6 header
  *
- *             This program is free software; you can distribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:  Amir Vadai <amir@vadai.me>
- *
  */
 
 #include <stdio.h>
index ec7b08a28c075a41515bbe20e69a83f979fea22b..43d7fb48c194f081569b8ada79303ea1fdb8bbdc 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * m_pedit_tcp.c       packet editor: TCP header
  *
- *             This program is free software; you can distribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:  J Hadi Salim (hadi@cyberus.ca)
- *
  */
 
 #include <stdio.h>
index 742955e6d225ebabe316678d5a5167975354cf19..d98224fb383616aacb0d2958099f86250794c0c3 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * m_pedit_udp.c       packet editor: UDP header
  *
- *             This program is free software; you can distribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:  J Hadi Salim (hadi@cyberus.ca)
- *
  */
 
 #include <stdio.h>
index 77b56825f777bf09cf90f4989b266420f7a5156d..07866ccf2fce042e2860b1db45eb27fc61b851ab 100644 (file)
@@ -3,7 +3,6 @@
  * q_atm.c             ATM.
  *
  * Hacked 1998-2000 by Werner Almesberger, EPFL ICA
- *
  */
 
 #include <stdio.h>
index 4619a37b816027e83a69aff3c7c7c5725826759a..58afdca76a6110856b31177a8bea20733865ea1f 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * q_cbq.c             CBQ.
  *
- *             This program is free software; you can redistribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
- *
  */
 
 #include <stdio.h>
index 13bb08e97e4209cb071d2ca7755247c904a0b3a8..788535c6a022a494dedb13701ae6f4112fc251f8 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * q_cbs.c             CBS.
  *
- *             This program is free software; you can redistribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Vinicius Costa Gomes <vinicius.gomes@intel.com>
- *
  */
 
 #include <stdio.h>
index 570c3599e28bf530bde42a62f0569c4cf4024adf..7653eb7ef9c869ba02d52e459694af6d50f92db0 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * q_choke.c           CHOKE.
  *
- *             This program is free software; you can redistribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Stephen Hemminger <shemminger@vyatta.com>
  */
 
index 4e829ce3331df7469dd3a6271f67f80d02541a24..03c4744f6f26f4ab90fdbe517a1c3ebfd918ec44 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * q_drr.c             DRR.
  *
- *             This program is free software; you can redistribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Patrick McHardy <kaber@trash.net>
- *
  */
 
 #include <stdio.h>
index d3e8292d777cc2be5385cde5a13bdeb5c966aabc..9adceba59c99a065c142a710c2fbf803105b80b7 100644 (file)
@@ -3,7 +3,6 @@
  * q_dsmark.c          Differentiated Services field marking.
  *
  * Hacked 1998,1999 by Werner Almesberger, EPFL ICA
- *
  */
 
 #include <stdio.h>
index c2090589bc64595c61843279fada9bea04d38c2d..572e2bc89fc1de666f16c75909254e4c678d673e 100644 (file)
@@ -1,14 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * q_etf.c             Earliest TxTime First (ETF).
  *
- *             This program is free software; you can redistribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Vinicius Costa Gomes <vinicius.gomes@intel.com>
  *             Jesus Sanchez-Palencia <jesus.sanchez-palencia@intel.com>
- *
  */
 
 #include <stdio.h>
index ce82e74dcc5e19461ee5ced883f34cd1acb2b48d..9b2c5348d3753f69b3b0668746df5405a63def55 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * q_fifo.c            FIFO.
  *
- *             This program is free software; you can redistribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
- *
  */
 
 #include <stdio.h>
index 01f12eeeffada0d258d5aecd7a665f00f7cb7dd1..f6a3f05eb95eb41a17ba06bc4fdf05fdfa77fe19 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * q_gred.c            GRED.
  *
- *             This program is free software; you can redistribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    J Hadi Salim(hadi@nortelnetworks.com)
  *             code ruthlessly ripped from
  *            Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
index 81c10210c8842e0aae9faafc9af9900e53a42577..609d925a42e58c061b99cdc718c4ae35b32df80c 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * q_hfsc.c    HFSC.
  *
- *             This program is free software; you can redistribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Patrick McHardy, <kaber@trash.net>
- *
  */
 
 #include <stdio.h>
index 93313c9c2aec6edf41b51336df4466926be35033..3df4914c7d64ecf79285a49e951948d75f310790 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * q_ingress.c             INGRESS.
  *
- *              This program is free software; you can redistribute it and/or
- *              modify it under the terms of the GNU General Public License
- *              as published by the Free Software Foundation; either version
- *              2 of the License, or (at your option) any later version.
- *
  * Authors:    J Hadi Salim
  */
 
index 706452d080926dc809d9d0b20cb2da172768d8ad..99c43491e0bea948c8007e1528d5d72417fb5386 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * q_mqprio.c  MQ prio qdisc
  *
- *             This program is free software; you can redistribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Author:     John Fastabend, <john.r.fastabend@intel.com>
  */
 
index 8ad9e0b2fa3ca9ee3b8cb68f3785f9bd46685aff..b1e6c9a83708ffc64740f3b01412adab7712d785 100644 (file)
@@ -1,20 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * q_multiq.c          Multiqueue aware qdisc
  *
  * Copyright (c) 2008, Intel Corporation.
  *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see <http://www.gnu.org/licenses>.
- *
  * Author: Alexander Duyck <alexander.h.duyck@intel.com>
  *
  * Original Authors:   PJ Waskiewicz, <peter.p.waskiewicz.jr@intel.com> (RR)
index 709a78b4c7c47f58226c20a0d677583039c137e9..177cdcae0f2e2ee45ef863ba6e35cbf8f8a7c72a 100644 (file)
@@ -1,18 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /* Copyright (C) 2013 Cisco Systems, Inc, 2013.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  *
  * Author: Vijay Subramanian <vijaynsu@cisco.com>
  * Author: Mythili Prabhu <mysuryan@cisco.com>
- *
  */
 
 #include <stdio.h>
index a723a151bb7fbd720233ac2b128e68013d2cd7e7..c8c6477e1a982037808aa983d6b1f6a8bc0bf5c9 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * q_prio.c            PRIO.
  *
- *             This program is free software; you can redistribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
- *
  */
 
 #include <stdio.h>
index eb8fa4b849273c4771a1a6d00db8a354d045e0a5..c9955cc96a97ca34bb36ef066245a75609f3f8af 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * q_qfq.c     QFQ.
  *
- *             This program is free software; you can redistribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Stephen Hemminger <shemminger@vyatta.com>
  *             Fabio Checconi <fabio@gandalf.sssup.it>
  *
index fd50d37d31cbc47dd96289bbf0f6ceed51c0bc2e..f760253d13b2c35cc789c872902ee2d632d049a1 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * q_red.c             RED.
  *
- *             This program is free software; you can redistribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
- *
  */
 
 #include <stdio.h>
index 8af55d98c36a149c2ed276b240ffd46d7556241b..a2eef281e10f55c0c4cb1604e9b1250444012409 100644 (file)
@@ -1,17 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * q_sfb.c     Stochastic Fair Blue.
  *
- *             This program is free software; you can redistribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Juliusz Chroboczek <jch@pps.jussieu.fr>
- *
  */
 
-
-
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
index d04a440cece7e2caedea2dbe14d7949910f31edc..17bf8f63f105abfba8de96b112200eb421578b82 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * q_sfq.c             SFQ.
  *
- *             This program is free software; you can redistribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
- *
  */
 
 #include <stdio.h>
index ca81a72cc8b1da60d66cfdfffc6e7a5f893cb549..b0ba180ab9c4426b8b12bade023e81d5479ee15e 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * q_skbprio.c         SKB PRIORITY QUEUE.
  *
- *             This program is free software; you can redistribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Nishanth Devarajan, <ndev2021@gmail.com>
- *
  */
 
 #include <stdio.h>
index a7c01ae0cedbad57a8ab35d4eaf7526f67195a01..e00d2aa9a84266a967006b1bb4d320eb7a8b508f 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * q_taprio.c  Time Aware Priority Scheduler
  *
- *             This program is free software; you can redistribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Vinicius Costa Gomes <vinicius.gomes@intel.com>
  *             Jesus Sanchez-Palencia <jesus.sanchez-palencia@intel.com>
  */
index 4e5bf382fd03bc4b5f062df77fa23220fe75af61..caea6bebd871462fd93a33fa086937c96f56ae55 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * q_tbf.c             TBF.
  *
- *             This program is free software; you can redistribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
- *
  */
 
 #include <stdio.h>
diff --git a/tc/tc.c b/tc/tc.c
index 7557b9778111f3e3724e524beee0b5ee81ea11d5..258205004611c4a131b7370272d2cdf2c8ad42e2 100644 (file)
--- a/tc/tc.c
+++ b/tc/tc.c
@@ -1,16 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * tc.c                "tc" utility frontend.
  *
- *             This program is free software; you can redistribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
- *
- * Fixes:
- *
- * Petri Mattila <petri@prihateam.fi> 990308: wrong memset's resulted in faults
  */
 
 #include <stdio.h>
index f56011ad1d07514674b8b322db1f1411e41aff08..7d1a44569f1d63b212d69d5ac7a7ec7d26209946 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * tc_cbq.c            CBQ maintenance routines.
  *
- *             This program is free software; you can redistribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
- *
  */
 
 #include <stdio.h>
index 409af2db7a3dbd95ef8cb91bfc56d1fd81e40f45..c1feb0098feb70aacec1e75e8309b9730ad66f3a 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * tc_class.c          "tc class".
  *
- *             This program is free software; you can redistribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
- *
  */
 
 #include <stdio.h>
index 498d35dca8fbfcbd4efe1bf24fbd05c3bcb9bd96..8276f6a1f60b6326679d718719c2f6d3ca344395 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * tc_core.c           TC core library.
  *
- *             This program is free software; you can redistribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
- *
  */
 
 #include <stdio.h>
index f494b7caa44ea10732b475c7ed774a2c4ef59c30..275f254949d2786b94e0e78968dcf66def7cff7d 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * tc_core.c           TC core library.
  *
- *             This program is free software; you can redistribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
- *
  */
 
 #include <stdio.h>
index 9b912ceb1916c04f7908ed1615967835604aa78b..5d8834029a0b6cdb81e9c6d1f2671313c60662d6 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * tc_exec.c   "tc exec".
  *
- *             This program is free software; you can redistribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Daniel Borkmann <daniel@iogearbox.net>
  */
 
index 71be2e8119c9995357c8d1c825530b0c6daf95a5..9617d28a831f9df2d885f79e07fd845deaa1499a 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * tc_filter.c         "tc filter".
  *
- *             This program is free software; you can redistribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
- *
  */
 
 #include <stdio.h>
index 64f31491607e779c745051a1d40593b222d48358..2573d744a0ee349cb4e431eca4222463abae2c7a 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * tc_monitor.c                "tc monitor".
  *
- *             This program is free software; you can redistribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Jamal Hadi Salim
- *
  */
 
 #include <stdio.h>
index 33a6665eaac00775375e0592b9f24a30099a27be..b97f21822e2780fe09c6bf672332ac45cee560ad 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * tc_qdisc.c          "tc qdisc".
  *
- *             This program is free software; you can redistribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
  *             J Hadi Salim: Extension to ingress
  */
index 88f5ff358ce5596cac86790bd9acdd2e4edc278a..700a9212f227a34c8d2064a520a3837abf42863d 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * tc_red.c            RED maintenance routines.
  *
- *             This program is free software; you can redistribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
- *
  */
 
 #include <stdio.h>
index 0f944003458d4db76efaefb0e3f543d4fb8c9492..a773372635e720e73fff836a9475c87e5a38179c 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * tc_stab.c           "tc qdisc ... stab *".
  *
- *             This program is free software; you can redistribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Jussi Kivilinna, <jussi.kivilinna@mbnet.fi>
- *
  */
 
 #include <stdio.h>
index d2622063a6d48a393a232057eac4f020db00a10b..f72a19ca2757d44761f0e1b262405ccc19754918 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * tc_util.c           Misc TC utility functions.
  *
- *             This program is free software; you can redistribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
- *
  * Authors:    Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
- *
  */
 
 #include <stdio.h>