From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 59B40C46467 for ; Wed, 11 Jan 2023 03:17:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229653AbjAKDRd (ORCPT ); Tue, 10 Jan 2023 22:17:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231761AbjAKDRX (ORCPT ); Tue, 10 Jan 2023 22:17:23 -0500 Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9072C13D30 for ; Tue, 10 Jan 2023 19:17:20 -0800 (PST) Received: by mail-pj1-x102c.google.com with SMTP id z9-20020a17090a468900b00226b6e7aeeaso15697987pjf.1 for ; Tue, 10 Jan 2023 19:17:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=hV9Wphx4WVR+vAftQvkaNJsn3J3ONtVJKrKfK/C4PC4=; b=0OlEna1NmGTsblOwZOcENEMkYquEx1zkPXcVc//F/gDsMw13FUWp6zyu6EaCRcLkjk S1Li7dXE+lLEyV4NTLCtRbwF5ojehxtlt/Ak4xtskg3xBqMWeyuF0RPAd0XToj+XoKSg /iLnLWrsJAObLSySi6WAc5bdfyf0DIkEAgE/aUNnIoP7bpTCgIlBaF250dceU0iOGRSK WTLON0VF2CnRRgb0SEOb+X7gfW6/Zj5YgBdVogQbpS8bh3xSIpAIpV8dbC/uVctWlvdL mxqWnVtofW+FOKlI4sw4Ppl2eYQHyy6pvkSEw+ThZRhGcM83bFhsudjlI73kCHbKPhLy kZcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hV9Wphx4WVR+vAftQvkaNJsn3J3ONtVJKrKfK/C4PC4=; b=vSXDEXYHmVp2p2xE1JdODvIhZN3XoiOTEvvOTyT27FWTHpm5tfXc1fpygsU93ExMzu 4Z8u0IZacUSnntVcpMUTIl60wjY/xmelwBcTUwifJ/vGEzJfQJr3mk9Dq/3huCEVtSAC NxAelVV1fEsXAafDQLHsjhgqSx7u4QTbEFA7OWNmcsUeq630iF+xbKdkBN1amg0dwNui 4kivuY1Iu8sW/oZbkp8pnIcDlNQIzgrfcNLe38wn0YE8q9N3mf7Et5QyeJMrvieL+oym O1or+aRWUkY3dJaGxqjjkgBiKjmgeZ595KBt+M+uAClJFYDOWXWPRfL5Fnepkycm4Zgj QIVQ== X-Gm-Message-State: AFqh2kprJUiAmCz6XLXJIn9yEwdvvVMMt1hIBxoPShAzuHJtTX6Pjq+c uo+R2uR9/Wd2ONy0Y9HAwny5mMQTGJThk2hXgdA= X-Google-Smtp-Source: AMrXdXtwklNIMJc1RioVc68sPe1UH2GZK7LWQDPxxrYnk2fU/7Qk1eCv2+nGdA0MytF+oqrgEl1gFA== X-Received: by 2002:a17:903:54d:b0:190:fbbd:277d with SMTP id jo13-20020a170903054d00b00190fbbd277dmr69629015plb.17.1673407038848; Tue, 10 Jan 2023 19:17:18 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id h5-20020a170902f7c500b0019337bf957dsm4226756plw.296.2023.01.10.19.17.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Jan 2023 19:17:18 -0800 (PST) From: Stephen Hemminger To: netdev@vger.kernel.org Cc: Stephen Hemminger Subject: [PATCH iproute2 05/10] ip: use SPDX Date: Tue, 10 Jan 2023 19:17:07 -0800 Message-Id: <20230111031712.19037-6-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230111031712.19037-1-stephen@networkplumber.org> References: <20230111031712.19037-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Use SPDX instead of boilerplate text for ip and related sub commands. Signed-off-by: Stephen Hemminger --- ip/ip.c | 6 +----- ip/ip6tunnel.c | 15 +-------------- ip/ipaddress.c | 7 +------ ip/ipaddrlabel.c | 16 +--------------- ip/ipfou.c | 6 +----- ip/ipila.c | 6 +----- ip/ipl2tp.c | 7 +------ ip/iplink.c | 7 +------ ip/iplink_amt.c | 6 +----- ip/iplink_bond.c | 6 +----- ip/iplink_bond_slave.c | 6 +----- ip/iplink_bridge.c | 6 +----- ip/iplink_bridge_slave.c | 6 +----- ip/iplink_can.c | 6 +----- ip/iplink_geneve.c | 6 +----- ip/iplink_hsr.c | 6 +----- ip/iplink_ipoib.c | 6 +----- ip/iplink_ipvlan.c | 6 +----- ip/iplink_macvlan.c | 6 +----- ip/iplink_netdevsim.c | 1 + ip/iplink_vlan.c | 6 +----- ip/iplink_vrf.c | 6 +----- ip/iplink_vxcan.c | 6 +----- ip/iplink_vxlan.c | 6 +----- ip/iplink_xdp.c | 6 +----- ip/iplink_xstats.c | 6 +----- ip/ipmacsec.c | 6 +----- ip/ipmaddr.c | 7 +------ ip/ipmonitor.c | 7 +------ ip/ipmroute.c | 7 +------ ip/ipneigh.c | 7 +------ ip/ipnetconf.c | 7 +------ ip/ipntable.c | 18 ++---------------- ip/ipprefix.c | 17 ++--------------- ip/iproute.c | 7 +------ ip/iproute_lwtunnel.c | 7 +------ ip/iprule.c | 7 +------ ip/ipseg6.c | 5 +---- ip/iptoken.c | 6 +----- ip/iptunnel.c | 7 +------ ip/iptuntap.c | 7 +------ ip/ipvrf.c | 7 +------ ip/ipxfrm.c | 20 ++------------------ ip/link_gre.c | 7 +------ ip/link_gre6.c | 7 +------ ip/link_ip6tnl.c | 7 +------ ip/link_iptnl.c | 7 +------ ip/link_veth.c | 7 +------ ip/link_vti.c | 6 +----- ip/link_vti6.c | 6 +----- ip/rtm_map.c | 7 +------ ip/rtmon.c | 7 +------ ip/tcp_metrics.c | 5 +---- ip/tunnel.c | 18 ++---------------- ip/tunnel.h | 15 +-------------- ip/xfrm.h | 17 +---------------- ip/xfrm_monitor.c | 20 ++------------------ ip/xfrm_policy.c | 20 ++------------------ ip/xfrm_state.c | 20 ++------------------ 59 files changed, 66 insertions(+), 432 deletions(-) diff --git a/ip/ip.c b/ip/ip.c index 863e42aad9eb..8424736f2904 100644 --- 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, */ diff --git a/ip/ip6tunnel.c b/ip/ip6tunnel.c index 5399f91d3923..347bd46a6d98 100644 --- a/ip/ip6tunnel.c +++ b/ip/ip6tunnel.c @@ -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 . - */ -/* * Author: * Masahide NAKAMURA @USAGI */ diff --git a/ip/ipaddress.c b/ip/ipaddress.c index 5e8334823044..c7553bcdbc5e 100644 --- a/ip/ipaddress.c +++ b/ip/ipaddress.c @@ -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, - * */ #include diff --git a/ip/ipaddrlabel.c b/ip/ipaddrlabel.c index beb08da3bfc2..46f68c41130c 100644 --- a/ip/ipaddrlabel.c +++ b/ip/ipaddrlabel.c @@ -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 . - * - * * Based on iprule.c. * * Authors: YOSHIFUJI Hideaki - * */ #include diff --git a/ip/ipfou.c b/ip/ipfou.c index 9c6977705c99..ed99a548412e 100644 --- a/ip/ipfou.c +++ b/ip/ipfou.c @@ -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 */ diff --git a/ip/ipila.c b/ip/ipila.c index 475c35b5c4b0..335d15f68bae 100644 --- a/ip/ipila.c +++ b/ip/ipila.c @@ -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 */ diff --git a/ip/ipl2tp.c b/ip/ipl2tp.c index f1d574de31e3..87a4b898052d 100644 --- a/ip/ipl2tp.c +++ b/ip/ipl2tp.c @@ -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 - * */ #include diff --git a/ip/iplink.c b/ip/iplink.c index e94dc6a51353..4ec9e370b107 100644 --- a/ip/iplink.c +++ b/ip/iplink.c @@ -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, - * */ #include diff --git a/ip/iplink_amt.c b/ip/iplink_amt.c index 48e079f8b781..3a35bd9df9d1 100644 --- a/ip/iplink_amt.c +++ b/ip/iplink_amt.c @@ -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 */ diff --git a/ip/iplink_bond.c b/ip/iplink_bond.c index 7943499e0adf..214244daad2f 100644 --- a/ip/iplink_bond.c +++ b/ip/iplink_bond.c @@ -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 * Scott Feldman */ diff --git a/ip/iplink_bond_slave.c b/ip/iplink_bond_slave.c index 8103704bc9aa..ad6875006950 100644 --- a/ip/iplink_bond_slave.c +++ b/ip/iplink_bond_slave.c @@ -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 */ diff --git a/ip/iplink_bridge.c b/ip/iplink_bridge.c index 8b0c142294f6..7e4e62c81c0c 100644 --- a/ip/iplink_bridge.c +++ b/ip/iplink_bridge.c @@ -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 */ diff --git a/ip/iplink_bridge_slave.c b/ip/iplink_bridge_slave.c index ca4b264e64e7..43b429485502 100644 --- a/ip/iplink_bridge_slave.c +++ b/ip/iplink_bridge_slave.c @@ -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 */ diff --git a/ip/iplink_can.c b/ip/iplink_can.c index 9bbe3d95876b..f2967db5d2b6 100644 --- a/ip/iplink_can.c +++ b/ip/iplink_can.c @@ -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 */ diff --git a/ip/iplink_geneve.c b/ip/iplink_geneve.c index 98099cc9eece..62c61bce138b 100644 --- a/ip/iplink_geneve.c +++ b/ip/iplink_geneve.c @@ -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 */ diff --git a/ip/iplink_hsr.c b/ip/iplink_hsr.c index da2d03d4bcbc..76f24a6ac3ed 100644 --- a/ip/iplink_hsr.c +++ b/ip/iplink_hsr.c @@ -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 * * Based on iplink_vlan.c by Patrick McHardy diff --git a/ip/iplink_ipoib.c b/ip/iplink_ipoib.c index b730c5335020..7bf4e3215dd2 100644 --- a/ip/iplink_ipoib.c +++ b/ip/iplink_ipoib.c @@ -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 * copied iflink_vlan.c authored by Patrick McHardy */ diff --git a/ip/iplink_ipvlan.c b/ip/iplink_ipvlan.c index baae767b82c1..f29fa4f9e3eb 100644 --- a/ip/iplink_ipvlan.c +++ b/ip/iplink_ipvlan.c @@ -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 */ diff --git a/ip/iplink_macvlan.c b/ip/iplink_macvlan.c index 05e6bc77c8c3..0f13637d8fbc 100644 --- a/ip/iplink_macvlan.c +++ b/ip/iplink_macvlan.c @@ -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 * Arnd Bergmann */ diff --git a/ip/iplink_netdevsim.c b/ip/iplink_netdevsim.c index 34486081f6d4..5aaa775abad7 100644 --- a/ip/iplink_netdevsim.c +++ b/ip/iplink_netdevsim.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #include #include diff --git a/ip/iplink_vlan.c b/ip/iplink_vlan.c index 1426f2afca23..4ac5bc03f2b3 100644 --- a/ip/iplink_vlan.c +++ b/ip/iplink_vlan.c @@ -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 */ diff --git a/ip/iplink_vrf.c b/ip/iplink_vrf.c index 5d20f29d3526..9474a2b78c5f 100644 --- a/ip/iplink_vrf.c +++ b/ip/iplink_vrf.c @@ -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 */ diff --git a/ip/iplink_vxcan.c b/ip/iplink_vxcan.c index 8b08c9a70c65..e0f9bacbd3db 100644 --- a/ip/iplink_vxcan.c +++ b/ip/iplink_vxcan.c @@ -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 * Based on: link_veth.c from Pavel Emelianov */ diff --git a/ip/iplink_vxlan.c b/ip/iplink_vxlan.c index 01522d6ebd02..c7e0e1c47606 100644 --- a/ip/iplink_vxlan.c +++ b/ip/iplink_vxlan.c @@ -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 */ diff --git a/ip/iplink_xstats.c b/ip/iplink_xstats.c index 1d180b0bdada..6c184c02cb31 100644 --- a/ip/iplink_xstats.c +++ b/ip/iplink_xstats.c @@ -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 */ diff --git a/ip/ipmacsec.c b/ip/ipmacsec.c index 6dd7382785a3..f3b2e03bdaeb 100644 --- a/ip/ipmacsec.c +++ b/ip/ipmacsec.c @@ -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 */ diff --git a/ip/ipmaddr.c b/ip/ipmaddr.c index d41ac63a74ec..f8d6b992d254 100644 --- a/ip/ipmaddr.c +++ b/ip/ipmaddr.c @@ -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, - * */ #include diff --git a/ip/ipmonitor.c b/ip/ipmonitor.c index d808369c2898..9b055264ca7b 100644 --- a/ip/ipmonitor.c +++ b/ip/ipmonitor.c @@ -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, - * */ #include diff --git a/ip/ipmroute.c b/ip/ipmroute.c index 32019c944c52..b6d9e618f284 100644 --- a/ip/ipmroute.c +++ b/ip/ipmroute.c @@ -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, - * */ #include diff --git a/ip/ipneigh.c b/ip/ipneigh.c index 0cf7bb60553a..ee14ffcccc46 100644 --- a/ip/ipneigh.c +++ b/ip/ipneigh.c @@ -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, - * */ #include diff --git a/ip/ipnetconf.c b/ip/ipnetconf.c index bb0ebe12da93..7ddaefb407ed 100644 --- a/ip/ipnetconf.c +++ b/ip/ipnetconf.c @@ -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, - * */ #include diff --git a/ip/ipntable.c b/ip/ipntable.c index 762c790d10fc..4ce02a315fe1 100644 --- a/ip/ipntable.c +++ b/ip/ipntable.c @@ -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 . - */ -/* * based on ipneigh.c - */ -/* + * * Authors: * Masahide NAKAMURA @USAGI */ diff --git a/ip/ipprefix.c b/ip/ipprefix.c index 466af2088d90..ddf770146784 100644 --- a/ip/ipprefix.c +++ b/ip/ipprefix.c @@ -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 . - */ -/* * based on ip.c, iproute.c - */ -/* + * * Authors: * Masahide NAKAMURA @USAGI */ diff --git a/ip/iproute.c b/ip/iproute.c index f34289e836ec..0bab0fdfae13 100644 --- a/ip/iproute.c +++ b/ip/iproute.c @@ -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, - * */ #include diff --git a/ip/iproute_lwtunnel.c b/ip/iproute_lwtunnel.c index bf4468b6db16..52221c6976b3 100644 --- a/ip/iproute_lwtunnel.c +++ b/ip/iproute_lwtunnel.c @@ -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, * Thomas Graf - * */ #include diff --git a/ip/iprule.c b/ip/iprule.c index 8e5a2287ca6f..654ffffe3cc0 100644 --- a/ip/iprule.c +++ b/ip/iprule.c @@ -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, - * */ #include diff --git a/ip/ipseg6.c b/ip/ipseg6.c index 4f541ae4232c..305b89614af5 100644 --- a/ip/ipseg6.c +++ b/ip/ipseg6.c @@ -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 */ diff --git a/ip/iptoken.c b/ip/iptoken.c index 9f35689006cf..f25a7c8b21f5 100644 --- a/ip/iptoken.c +++ b/ip/iptoken.c @@ -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, */ diff --git a/ip/iptunnel.c b/ip/iptunnel.c index 7a0e723714cc..02c3670b469d 100644 --- a/ip/iptunnel.c +++ b/ip/iptunnel.c @@ -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, - * */ #include diff --git a/ip/iptuntap.c b/ip/iptuntap.c index 8e4e09bff838..ab7d5d87a02d 100644 --- a/ip/iptuntap.c +++ b/ip/iptuntap.c @@ -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 - * */ #include diff --git a/ip/ipvrf.c b/ip/ipvrf.c index 915780310cf1..0718bea8bba9 100644 --- a/ip/ipvrf.c +++ b/ip/ipvrf.c @@ -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 - * */ #include diff --git a/ip/ipxfrm.c b/ip/ipxfrm.c index 7a1ebc9539b3..b78c712dfd73 100644 --- a/ip/ipxfrm.c +++ b/ip/ipxfrm.c @@ -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 . - */ -/* * based on ip.c, iproute.c - */ -/* + * * Authors: * Masahide NAKAMURA @USAGI */ diff --git a/ip/link_gre.c b/ip/link_gre.c index f462a227a507..74a5b5e9652a 100644 --- a/ip/link_gre.c +++ b/ip/link_gre.c @@ -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 - * */ #include diff --git a/ip/link_gre6.c b/ip/link_gre6.c index 232d9bde24d9..b03bd65adb53 100644 --- a/ip/link_gre6.c +++ b/ip/link_gre6.c @@ -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 - * */ #include diff --git a/ip/link_ip6tnl.c b/ip/link_ip6tnl.c index 2fcc13ef64d3..b27d696f565a 100644 --- a/ip/link_ip6tnl.c +++ b/ip/link_ip6tnl.c @@ -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 - * */ #include diff --git a/ip/link_iptnl.c b/ip/link_iptnl.c index b25855ba2004..1315aebe93f2 100644 --- a/ip/link_iptnl.c +++ b/ip/link_iptnl.c @@ -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 - * */ #include diff --git a/ip/link_veth.c b/ip/link_veth.c index 33e8f2b102e7..6da5b64f73ce 100644 --- a/ip/link_veth.c +++ b/ip/link_veth.c @@ -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 - * */ #include diff --git a/ip/link_vti.c b/ip/link_vti.c index 3a52ea870b56..509432543fc5 100644 --- a/ip/link_vti.c +++ b/ip/link_vti.c @@ -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 * Saurabh Mohan Modified link_gre.c for VTI */ diff --git a/ip/link_vti6.c b/ip/link_vti6.c index 0b080fa9f4dd..5764221ebb89 100644 --- a/ip/link_vti6.c +++ b/ip/link_vti6.c @@ -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 * Saurabh Mohan Modified link_gre.c for VTI * Steffen Klassert Modified link_vti.c for IPv6 diff --git a/ip/rtm_map.c b/ip/rtm_map.c index 8d8eafe0ae99..29463baedda0 100644 --- a/ip/rtm_map.c +++ b/ip/rtm_map.c @@ -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, - * */ #include diff --git a/ip/rtmon.c b/ip/rtmon.c index b021f773d071..aad9968f967b 100644 --- a/ip/rtmon.c +++ b/ip/rtmon.c @@ -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, - * */ #include diff --git a/ip/tcp_metrics.c b/ip/tcp_metrics.c index acbd745ab09e..9c8fb07240bf 100644 --- a/ip/tcp_metrics.c +++ b/ip/tcp_metrics.c @@ -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 , August 2012 */ diff --git a/ip/tunnel.c b/ip/tunnel.c index 224c81e42e9b..75cb0b51e4c0 100644 --- a/ip/tunnel.c +++ b/ip/tunnel.c @@ -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 . - */ -/* * split from ip_tunnel.c - */ -/* + * * Author: * Masahide NAKAMURA @USAGI */ diff --git a/ip/tunnel.h b/ip/tunnel.h index 604f8cbfd6db..0c9852e32364 100644 --- a/ip/tunnel.h +++ b/ip/tunnel.h @@ -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 . - */ -/* * Author: * Masahide NAKAMURA @USAGI */ diff --git a/ip/xfrm.h b/ip/xfrm.h index 6f251603f108..33c42730375d 100644 --- 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 . - */ -/* * Authors: * Masahide NAKAMURA @USAGI */ diff --git a/ip/xfrm_monitor.c b/ip/xfrm_monitor.c index b0056d9de432..1f67fe9d14ff 100644 --- a/ip/xfrm_monitor.c +++ b/ip/xfrm_monitor.c @@ -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 . - */ -/* * based on ipmonitor.c - */ -/* + * * Authors: * Masahide NAKAMURA @USAGI */ diff --git a/ip/xfrm_policy.c b/ip/xfrm_policy.c index be5fcfed2027..be2235ca949d 100644 --- a/ip/xfrm_policy.c +++ b/ip/xfrm_policy.c @@ -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 . - */ -/* * based on iproute.c - */ -/* + * * Authors: * Masahide NAKAMURA @USAGI */ diff --git a/ip/xfrm_state.c b/ip/xfrm_state.c index 16c65e23a7e7..aa0dce072dff 100644 --- a/ip/xfrm_state.c +++ b/ip/xfrm_state.c @@ -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 . - */ -/* * based on iproute.c - */ -/* + * * Authors: * Masahide NAKAMURA @USAGI */ -- 2.39.0