]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
ip: use SPDX
authorStephen Hemminger <stephen@networkplumber.org>
Wed, 11 Jan 2023 02:53:46 +0000 (18:53 -0800)
committerStephen Hemminger <stephen@networkplumber.org>
Sat, 14 Jan 2023 17:00:34 +0000 (09:00 -0800)
Use SPDX instead of boilerplate text for ip and related
sub commands.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
60 files changed:
ip/ip.c
ip/ip6tunnel.c
ip/ipaddress.c
ip/ipaddrlabel.c
ip/ipfou.c
ip/ipila.c
ip/ipl2tp.c
ip/iplink.c
ip/iplink_amt.c
ip/iplink_batadv.c
ip/iplink_bond.c
ip/iplink_bond_slave.c
ip/iplink_bridge.c
ip/iplink_bridge_slave.c
ip/iplink_can.c
ip/iplink_geneve.c
ip/iplink_hsr.c
ip/iplink_ipoib.c
ip/iplink_ipvlan.c
ip/iplink_macvlan.c
ip/iplink_netdevsim.c
ip/iplink_vlan.c
ip/iplink_vrf.c
ip/iplink_vxcan.c
ip/iplink_vxlan.c
ip/iplink_xdp.c
ip/iplink_xstats.c
ip/ipmacsec.c
ip/ipmaddr.c
ip/ipmonitor.c
ip/ipmroute.c
ip/ipneigh.c
ip/ipnetconf.c
ip/ipntable.c
ip/ipprefix.c
ip/iproute.c
ip/iproute_lwtunnel.c
ip/iprule.c
ip/ipseg6.c
ip/iptoken.c
ip/iptunnel.c
ip/iptuntap.c
ip/ipvrf.c
ip/ipxfrm.c
ip/link_gre.c
ip/link_gre6.c
ip/link_ip6tnl.c
ip/link_iptnl.c
ip/link_veth.c
ip/link_vti.c
ip/link_vti6.c
ip/rtm_map.c
ip/rtmon.c
ip/tcp_metrics.c
ip/tunnel.c
ip/tunnel.h
ip/xfrm.h
ip/xfrm_monitor.c
ip/xfrm_policy.c
ip/xfrm_state.c

diff --git a/ip/ip.c b/ip/ip.c
index 863e42aad9eb7c0cddd5731a98c18ab3d947fb1a..8424736f29049c27dcbd18340875d33f200c8b6a 100644 (file)
--- a/ip/ip.c
+++ b/ip/ip.c
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * ip.c                "ip" 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>
  */
 
index 5399f91d3923a3356b058fd06d911166ac1974f7..347bd46a6d98b3c28094b92d2a5dc72c5bcc8adb 100644 (file)
@@ -1,20 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright (C)2006 USAGI/WIDE Project
  *
- * 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.
- *
- * 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.
- *
- * 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:
  *     Masahide NAKAMURA @USAGI
  */
index 5e833482304462a663d1db8de92cd8be7b6078aa..c7553bcdbc5e7cb49214597ecb5747eadc3abd8d 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * ipaddress.c         "ip address".
  *
- *             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 <stdarg.h>
index beb08da3bfc2d86d5ae60daa687cbb6fcea9241d..46f68c41130c7c27fd8ad62b80561f0e96e288fd 100644 (file)
@@ -1,26 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * ipaddrlabel.c       "ip addrlabel"
  *
  * Copyright (C)2007 USAGI/WIDE Project
  *
- * 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.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see <http://www.gnu.org/licenses>.
- *
- *
  * Based on iprule.c.
  *
  * Authors:    YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
- *
  */
 
 #include <stdio.h>
index 9c6977705c996f80cfa97fb3719a925367ed4504..ed99a548412e3af021c44693eef604ec8896c8a1 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * ipfou.c     FOU (foo over UDP) support
  *
- *              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:    Tom Herbert <therbert@google.com>
  */
 
index 475c35b5c4b09549288d2eab0edbf08a307d2cb6..335d15f68bae5fe3a20659733d6286271de47400 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * ipila.c     ILA (Identifier Locator Addressing) support
  *
- *              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:    Tom Herbert <tom@herbertland.com>
  */
 
index f1d574de31e3521c6c2735b215b39f256fae5947..87a4b898052dbf55ff7657f9d46fe4d56efc4fd0 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * ipl2tp.c           "ip l2tp"
  *
- *             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.
- *
  * Original Author:    James Chapman <jchapman@katalix.com>
- *
  */
 
 #include <stdio.h>
index e94dc6a51353ee01cd2e06f2c13c3f6197361a7d..4ec9e370b107d1c2a5d3d35d615235a5c054d367 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iplink.c            "ip link".
  *
- *             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 48e079f8b78146638c4a44800859d972a73d24ac..3a35bd9df9d1b7a284dbb2b79b21dedcd108a615 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iplink_amt.c        AMT device support
  *
- *             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:    Taehee Yoo <ap420073@gmail.com>
  */
 
index 45bd923f766dc1f1bf294f26d1f8a6b3322b5a82..27d316762e707ff5782c2d515430a939046d2d2a 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iplink_batadv.c     Batman-adv support
  *
index 7943499e0adfc5df101d19814c473b464ee407df..214244daad2f2e4e9289e862a5cea9152e34854b 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iplink_bond.c       Bonding device support
  *
- *              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>
  *              Scott Feldman <sfeldma@cumulusnetworks.com>
  */
index 8103704bc9aa5107fcce35600318a433212611db..ad6875006950cac79e83fb7967602db5c83bc3b5 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iplink_bond_slave.c Bonding slave device support
  *
- *              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 8b0c142294f64f00c9a9a78af3eaf19912f9f3c1..7e4e62c81c0cb48ce11078e0f4305b63ee4a5aeb 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iplink_bridge.c     Bridge device support
  *
- *              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 ca4b264e64e7abbbc074c319081ad1a65fa27d8c..43b429485502e50286e5c0cd7dc4ec0626af5a12 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iplink_bridge_slave.c       Bridge slave device support
  *
- *              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 9bbe3d95876bfa0034a9597d9b64caa8d39ccd7b..f2967db5d2b6438ab940b2243116cab56a08303a 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iplink_can.c        CAN device support
  *
- *             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:    Wolfgang Grandegger <wg@grandegger.com>
  */
 
index 98099cc9eecef4ac57546cf0c6dcac75bc6708c8..62c61bce138bb6169c9e695913e4853cca37598c 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iplink_geneve.c     GENEVE device support
  *
- *              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:     John W. Linville <linville@tuxdriver.com>
  */
 
index da2d03d4bcbc9ca286ef7038395ea0e2001c177c..76f24a6ac3ede9223b718beb07c59d925b7884a9 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iplink_hsr.c        HSR device support
  *
- *             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:    Arvid Brodin <arvid.brodin@alten.se>
  *
  *             Based on iplink_vlan.c by Patrick McHardy <kaber@trash.net>
index b730c5335020cf1a843ff8b9e4a3cc6630a89b8a..7bf4e3215dd2a4da520ac61c9d81e49079241c11 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iplink_ipoib.c      IPoIB device support
  *
- *              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:     Or Gerlitz <ogerlitz@mellanox.com>
  *             copied iflink_vlan.c authored by Patrick McHardy <kaber@trash.net>
  */
index baae767b82c1d186faab533c025cf3224c9e0ccb..f29fa4f9e3ebed290104169286d6b08bb66275d9 100644 (file)
@@ -1,9 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* iplink_ipvlan.c     IPVLAN/IPVTAP device support
- *
- *              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:     Mahesh Bandewar <maheshb@google.com>
  */
index 05e6bc77c8c31ad558df8e71980e418d5c64b171..0f13637d8fbc9537d4b2bd8b5047efde997b9423 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iplink_macvlan.c    macvlan/macvtap device support
  *
- *              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>
  *             Arnd Bergmann <arnd@arndb.de>
  */
index 34486081f6d4eec3f92ebd2d6ebc01377ed910b1..5aaa775abad7dc345a84158b548cbd243eb94429 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #include <stdio.h>
 #include <stdlib.h>
 
index 1426f2afca23ffe7ae14da9a589f82dd1eb3d770..4ac5bc03f2b343e1b62a1fd7d3e50f2e4d3a3de1 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iplink_vlan.c       VLAN device support
  *
- *              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>
  */
 
index 5d20f29d3526f845344e929ecf14922c9c056925..9474a2b78c5fc6417a9197b28edc4151b08b3bb3 100644 (file)
@@ -1,9 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* iplink_vrf.c        VRF device support
- *
- *              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:     Shrijeet Mukherjee <shm@cumulusnetworks.com>
  */
index 8b08c9a70c65169734c3037efd6c3ca5ae3bb5f9..e0f9bacbd3db5eecc9e9aa4aa1d384ba9cb46459 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iplink_vxcan.c      vxcan device support (Virtual CAN Tunnel)
  *
- *             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:     Oliver Hartkopp <socketcan@hartkopp.net>
  * Based on:   link_veth.c from Pavel Emelianov <xemul@openvz.org>
  */
index 01522d6ebd02b37d9d7d7f075325e74c950722a3..c7e0e1c47606c973d5b9f679e10f29cc0969987e 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iplink_vxlan.c      VXLAN device support
  *
- *              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 4a490bc8fb66c65448ba860355d8837be2eec3c0..5928dff75b8aa3bec8e3fd735dfa7129d914bdb5 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iplink_xdp.c XDP program loader
  *
- *              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 1d180b0bdada242ceab79e883fc952288f021383..6c184c02cb3101869d49f743b054fc698040d2bc 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iplink_stats.c       Extended statistics commands
  *
- *              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:     Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
  */
 
index 6dd7382785a38b0062166e027544ee7a9229a4fe..f3b2e03bdaebcd3e22f920773777ef80b0c098d0 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * ipmacsec.c          "ip macsec".
  *
- *             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:    Sabrina Dubroca <sd@queasysnail.net>
  */
 
index d41ac63a74ecb8fd2bb5ed722211ca8164061b09..f8d6b992d254c64564c1d23c188477a1457aeea1 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * ipmaddr.c           "ip maddress".
  *
- *             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 d808369c2898e4c664d16822836c2c3354583e8f..9b055264ca7bf4e821074cc630f14c78597ef0e8 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * ipmonitor.c         "ip 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:    Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
- *
  */
 
 #include <stdio.h>
index 32019c944c5229475c320e41c2417b2fcb3ab2d2..b6d9e618f284cb8495506444150ea584a45c0a1d 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * ipmroute.c          "ip mroute".
  *
- *             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 0cf7bb60553aefd5d818bd5896e4dd056cb7cd40..ee14ffcccc468b2635d2d2e1bdd8066f3596aaa9 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * ipneigh.c           "ip neigh".
  *
- *             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 bb0ebe12da93bba8f94d5c71b7730009794f636e..7ddaefb407ed8d54d68acefa5b6726267df9304d 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * ipnetconf.c         "ip netconf".
  *
- *             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:    Nicolas Dichtel, <nicolas.dichtel@6wind.com>
- *
  */
 
 #include <stdio.h>
index 762c790d10fc26cc3147836006a3e32a2b39bd0e..4ce02a315fe11acb60e8c41566ebd93dc8c00081 100644 (file)
@@ -1,23 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright (C)2006 USAGI/WIDE Project
  *
- * 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.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see <http://www.gnu.org/licenses>.
- */
-/*
  * based on ipneigh.c
- */
-/*
+ *
  * Authors:
  *     Masahide NAKAMURA @USAGI
  */
index 466af2088d9037e4a56ee2df21fa9eee145b12b5..ddf770146784d5639f47ba67436af760902f91d5 100644 (file)
@@ -1,23 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright (C)2005 USAGI/WIDE Project
  *
- * 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.
  *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see <http://www.gnu.org/licenses>.
- */
-/*
  * based on ip.c, iproute.c
- */
-/*
+ *
  * Authors:
  *     Masahide NAKAMURA @USAGI
  */
index f34289e836ec3f093b24163e90063250bac49b5a..0bab0fdfae136a4ce52c07a80c37bf325dd36ec4 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iproute.c           "ip route".
  *
- *             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 bf4468b6db1601c284ddcc7ddd1285182ddc2c74..52221c6976b36a8f256d8e0e1f088fa3ce821e7b 100644 (file)
@@ -1,14 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iproute_lwtunnel.c
  *
- *             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:    Roopa Prabhu, <roopa@cumulusnetworks.com>
  *             Thomas Graf <tgraf@suug.ch>
- *
  */
 
 #include <stdio.h>
index 8e5a2287ca6f08c62112ac9a8477a749206a1c8a..654ffffe3cc056a4556bee0d477c8c45f8a4aa6e 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iprule.c            "ip rule".
  *
- *             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 4f541ae4232c3dbbaa0a809bf04a3675ab0dab6c..305b89614af5a184239dc4b175888ca9b0e65210 100644 (file)
@@ -1,10 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * seg6.c "ip sr/seg6"
  *
- *       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;
- *
  * Author: David Lebrun <david.lebrun@uclouvain.be>
  */
 
index 9f35689006cfe80c591ab82e32c92968e3c27e89..f25a7c8b21f57c941d975a0255b0613f8a38f999 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iptoken.c    "ip token"
  *
- *              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, <borkmann@redhat.com>
  */
 
index 7a0e723714ccde0aea7279423256c76b7009309b..02c3670b469d53c7e274b12e7be430a675824f49 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iptunnel.c         "ip tunnel"
  *
- *             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 8e4e09bff838e09c3a90020903983cbd7abc5caf..ab7d5d87a02d0aef3959455cd82eb509db8cc613 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iptunnel.c         "ip tuntap"
  *
- *             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:    David Woodhouse <David.Woodhouse@intel.com>
- *
  */
 
 #include <stdio.h>
index 915780310cf1a677256819d7fd935160c746bb64..0718bea8bba9a715351414af0ec1058c209e441b 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * ipvrf.c     "ip vrf"
  *
- *             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:    David Ahern <dsa@cumulusnetworks.com>
- *
  */
 
 #include <sys/types.h>
index 7a1ebc9539b35135d83d7006a4871c59f1adbcd8..b78c712dfd73650491786be258653697205b03c4 100644 (file)
@@ -1,25 +1,9 @@
-/* $USAGI: $ */
-
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright (C)2004 USAGI/WIDE Project
  *
- * 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.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see <http://www.gnu.org/licenses>.
- */
-/*
  * based on ip.c, iproute.c
- */
-/*
+ *
  * Authors:
  *     Masahide NAKAMURA @USAGI
  */
index f462a227a5071f1db889e35ff4e69395e89b4ab0..74a5b5e9652aee3289989340f846ef9b30745e2e 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * link_gre.c  gre driver 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:    Herbert Xu <herbert@gondor.apana.org.au>
- *
  */
 
 #include <string.h>
index 232d9bde24d948b3a1c919f75a68f16dc9a60eef..b03bd65adb53edaeadd8ff612245865a1c0343c6 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * link_gre6.c gre driver 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:    Dmitry Kozlov <xeb@mail.ru>
- *
  */
 
 #include <string.h>
index 2fcc13ef64d337d48bd54e111f13f2d41d80ef8f..b27d696f565a1deaba758ca9fe10afc53b272faf 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * link_ip6tnl.c       ip6tnl driver 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:    Nicolas Dichtel <nicolas.dichtel@6wind.com>
- *
  */
 
 #include <string.h>
index b25855ba20049b2b95290ba1b9c06f4a2671ba92..1315aebe93f257c98770832cbf16ae1e56851d4d 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * link_iptnl.c        ipip and sit driver 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:    Nicolas Dichtel <nicolas.dichtel@6wind.com>
- *
  */
 
 #include <string.h>
index 33e8f2b102e7f8178afe04694ebe8d62160317fb..6da5b64f73cea15976b6645abfd78390a335165d 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * link_veth.c veth driver 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:    Pavel Emelianov <xemul@openvz.org>
- *
  */
 
 #include <string.h>
index 3a52ea870b56b6e3df15c7c882420262bfa0503e..509432543fc5384ec101b46cc644303e82c6c6b5 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * link_vti.c  VTI driver 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:    Herbert Xu <herbert@gondor.apana.org.au>
  *          Saurabh Mohan <saurabh.mohan@vyatta.com> Modified link_gre.c for VTI
  */
index 0b080fa9f4ddad30d787855198ea57e3f543b33d..5764221ebb89191192b078d6936e261ffb3869d8 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * link_vti6.c VTI driver 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:    Herbert Xu <herbert@gondor.apana.org.au>
  *             Saurabh Mohan <saurabh.mohan@vyatta.com> Modified link_gre.c for VTI
  *             Steffen Klassert <steffen.klassert@secunet.com> Modified link_vti.c for IPv6
index 8d8eafe0ae99aa5a242735120e109af67f81b016..29463baedda0090315ee6727200c2fdb6830c0d5 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * rtm_map.c
  *
- *             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 b021f773d07154e32e6c54e7867d8af56fe831d1..aad9968f967b2b2ed95301b2ef3ce983690de913 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * rtmon.c             RTnetlink listener.
  *
- *             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 acbd745ab09ed596f01c0a9f6a11b3e00342b05a..9c8fb07240bf01511aa2fc8cc2e80603db3252c9 100644 (file)
@@ -1,10 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * tcp_metrics.c       "ip tcp_metrics/tcpmetrics"
  *
- *             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;
- *
  * Authors:    Julian Anastasov <ja@ssi.bg>, August 2012
  */
 
index 224c81e42e9baf7cd5c3df07be53c7baf245187f..75cb0b51e4c053ae669f6de7cc9ca9046a7e5d83 100644 (file)
@@ -1,23 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright (C)2006 USAGI/WIDE Project
  *
- * 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.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see <http://www.gnu.org/licenses>.
- */
-/*
  * split from ip_tunnel.c
- */
-/*
+ *
  * Author:
  *     Masahide NAKAMURA @USAGI
  */
index 604f8cbfd6db2164e2bacf5d897937d324138b4a..0c9852e3236494218f191717eff6afdbc906108f 100644 (file)
@@ -1,20 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright (C)2006 USAGI/WIDE Project
  *
- * 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.
- *
- * 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.
- *
- * 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:
  *     Masahide NAKAMURA @USAGI
  */
index 6f251603f1082ad492ab9f47ed2d572f5fe03aef..33c42730375d8616714aa7e07ea654c11151105f 100644 (file)
--- a/ip/xfrm.h
+++ b/ip/xfrm.h
@@ -1,22 +1,7 @@
-/* $USAGI: $ */
-
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright (C)2004 USAGI/WIDE Project
  *
- * 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.
- *
- * 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.
- *
- * 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:
  *     Masahide NAKAMURA @USAGI
  */
index b0056d9de43244e20f4b463e726a61edb3335e7e..1f67fe9d14ffd84d1fdaf459ab5c14662cb6538c 100644 (file)
@@ -1,25 +1,9 @@
-/* $USAGI: $ */
-
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright (C)2005 USAGI/WIDE Project
  *
- * 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.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see <http://www.gnu.org/licenses>.
- */
-/*
  * based on ipmonitor.c
- */
-/*
+ *
  * Authors:
  *     Masahide NAKAMURA @USAGI
  */
index be5fcfed2027f69d1bd1d9c63f0338639fee89ed..be2235ca949d02924434010cff21f4303f6c5047 100644 (file)
@@ -1,25 +1,9 @@
-/* $USAGI: $ */
-
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright (C)2004 USAGI/WIDE Project
  *
- * 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.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see <http://www.gnu.org/licenses>.
- */
-/*
  * based on iproute.c
- */
-/*
+ *
  * Authors:
  *     Masahide NAKAMURA @USAGI
  */
index 16c65e23a7e76193e7326e8f79f588188c154542..aa0dce072dff57a762e441f0190b6fd06e6ccd3a 100644 (file)
@@ -1,25 +1,9 @@
-/* $USAGI: $ */
-
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright (C)2004 USAGI/WIDE Project
  *
- * 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.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see <http://www.gnu.org/licenses>.
- */
-/*
  * based on iproute.c
- */
-/*
+ *
  * Authors:
  *     Masahide NAKAMURA @USAGI
  */