summaryrefslogtreecommitdiff
path: root/tipc
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2023-01-10 19:05:18 -0800
committerStephen Hemminger <stephen@networkplumber.org>2023-01-14 09:00:34 -0800
commitd2c5676eec0636f089dc108512be33d33101c2dd (patch)
tree0982677d6221287968f8c869b391bd745628af15 /tipc
parent2a5fb175fa011e7f1a10c6029cbac6d638e6b572 (diff)
downloadiproute2-d2c5676eec0636f089dc108512be33d33101c2dd.tar.gz
tipc: use SPDX
Replace boilerplate GPL text with SPDX Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Diffstat (limited to 'tipc')
-rw-r--r--tipc/bearer.c6
-rw-r--r--tipc/bearer.h6
-rw-r--r--tipc/cmdl.c6
-rw-r--r--tipc/cmdl.h6
-rw-r--r--tipc/link.c6
-rw-r--r--tipc/link.h6
-rw-r--r--tipc/media.c6
-rw-r--r--tipc/media.h6
-rw-r--r--tipc/misc.c6
-rw-r--r--tipc/misc.h6
-rw-r--r--tipc/msg.c6
-rw-r--r--tipc/msg.h6
-rw-r--r--tipc/nametable.c6
-rw-r--r--tipc/nametable.h6
-rw-r--r--tipc/node.c6
-rw-r--r--tipc/node.h6
-rw-r--r--tipc/peer.c6
-rw-r--r--tipc/peer.h6
-rw-r--r--tipc/socket.c6
-rw-r--r--tipc/socket.h6
-rw-r--r--tipc/tipc.c6
21 files changed, 21 insertions, 105 deletions
diff --git a/tipc/bearer.c b/tipc/bearer.c
index 968293bc..bb434f5f 100644
--- a/tipc/bearer.c
+++ b/tipc/bearer.c
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* bearer.c TIPC bearer functionality.
*
- * 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: Richard Alpe <richard.alpe@ericsson.com>
*/
diff --git a/tipc/bearer.h b/tipc/bearer.h
index c0d09963..a9344659 100644
--- a/tipc/bearer.h
+++ b/tipc/bearer.h
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* bearer.h TIPC bearer functionality.
*
- * 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: Richard Alpe <richard.alpe@ericsson.com>
*/
diff --git a/tipc/cmdl.c b/tipc/cmdl.c
index feaac2da..152ddb51 100644
--- a/tipc/cmdl.c
+++ b/tipc/cmdl.c
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* cmdl.c Framework for handling command line options.
*
- * 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: Richard Alpe <richard.alpe@ericsson.com>
*/
diff --git a/tipc/cmdl.h b/tipc/cmdl.h
index dcade362..18fe51bf 100644
--- a/tipc/cmdl.h
+++ b/tipc/cmdl.h
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* cmdl.h Framework for handling command line options.
*
- * 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: Richard Alpe <richard.alpe@ericsson.com>
*/
diff --git a/tipc/link.c b/tipc/link.c
index 53f49c89..f91c3000 100644
--- a/tipc/link.c
+++ b/tipc/link.c
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* link.c TIPC link functionality.
*
- * 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: Richard Alpe <richard.alpe@ericsson.com>
*/
diff --git a/tipc/link.h b/tipc/link.h
index 6dc95e5b..a0d46035 100644
--- a/tipc/link.h
+++ b/tipc/link.h
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* link.c TIPC link functionality.
*
- * 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: Richard Alpe <richard.alpe@ericsson.com>
*/
diff --git a/tipc/media.c b/tipc/media.c
index a3fec681..5ff0c8c4 100644
--- a/tipc/media.c
+++ b/tipc/media.c
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* media.c TIPC link functionality.
*
- * 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: Richard Alpe <richard.alpe@ericsson.com>
*/
diff --git a/tipc/media.h b/tipc/media.h
index 8584af74..f1b4b540 100644
--- a/tipc/media.h
+++ b/tipc/media.h
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* media.h TIPC link functionality.
*
- * 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: Richard Alpe <richard.alpe@ericsson.com>
*/
diff --git a/tipc/misc.c b/tipc/misc.c
index 6175bf07..32d4a5e0 100644
--- a/tipc/misc.c
+++ b/tipc/misc.c
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* misc.c Miscellaneous TIPC helper 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: Richard Alpe <richard.alpe@ericsson.com>
*/
diff --git a/tipc/misc.h b/tipc/misc.h
index 59309f68..d00d7c9c 100644
--- a/tipc/misc.h
+++ b/tipc/misc.h
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* misc.h Miscellaneous TIPC helper 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: Richard Alpe <richard.alpe@ericsson.com>
*/
diff --git a/tipc/msg.c b/tipc/msg.c
index 1225691c..731b0fa7 100644
--- a/tipc/msg.c
+++ b/tipc/msg.c
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* msg.c Messaging (netlink) helper 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: Richard Alpe <richard.alpe@ericsson.com>
*/
diff --git a/tipc/msg.h b/tipc/msg.h
index 56af5a70..118a2664 100644
--- a/tipc/msg.h
+++ b/tipc/msg.h
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* msg.h Messaging (netlink) helper 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: Richard Alpe <richard.alpe@ericsson.com>
*/
diff --git a/tipc/nametable.c b/tipc/nametable.c
index b09ed5fc..5162f7fc 100644
--- a/tipc/nametable.c
+++ b/tipc/nametable.c
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* nametable.c TIPC nametable functionality.
*
- * 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: Richard Alpe <richard.alpe@ericsson.com>
*/
diff --git a/tipc/nametable.h b/tipc/nametable.h
index e0473e18..c4df8d9d 100644
--- a/tipc/nametable.h
+++ b/tipc/nametable.h
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* nametable.h TIPC nametable functionality.
*
- * 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: Richard Alpe <richard.alpe@ericsson.com>
*/
diff --git a/tipc/node.c b/tipc/node.c
index bf592a07..e645d374 100644
--- a/tipc/node.c
+++ b/tipc/node.c
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* node.c TIPC node functionality.
*
- * 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: Richard Alpe <richard.alpe@ericsson.com>
*/
diff --git a/tipc/node.h b/tipc/node.h
index afee1fd0..4a986d07 100644
--- a/tipc/node.h
+++ b/tipc/node.h
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* node.h TIPC node functionality.
*
- * 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: Richard Alpe <richard.alpe@ericsson.com>
*/
diff --git a/tipc/peer.c b/tipc/peer.c
index ed18efc5..5a583fb9 100644
--- a/tipc/peer.c
+++ b/tipc/peer.c
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* peer.c TIPC peer functionality.
*
- * 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: Richard Alpe <richard.alpe@ericsson.com>
*/
diff --git a/tipc/peer.h b/tipc/peer.h
index 89722616..2bd0a2a3 100644
--- a/tipc/peer.h
+++ b/tipc/peer.h
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* peer.h TIPC peer functionality.
*
- * 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: Richard Alpe <richard.alpe@ericsson.com>
*/
diff --git a/tipc/socket.c b/tipc/socket.c
index 597ffd91..4d376e07 100644
--- a/tipc/socket.c
+++ b/tipc/socket.c
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* socket.c TIPC socket functionality.
*
- * 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: Richard Alpe <richard.alpe@ericsson.com>
*/
diff --git a/tipc/socket.h b/tipc/socket.h
index 9d1b6487..c4341bb2 100644
--- a/tipc/socket.h
+++ b/tipc/socket.h
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* socket.h TIPC socket functionality.
*
- * 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: Richard Alpe <richard.alpe@ericsson.com>
*/
diff --git a/tipc/tipc.c b/tipc/tipc.c
index 9f23a4bf..56af052c 100644
--- a/tipc/tipc.c
+++ b/tipc/tipc.c
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* tipc. TIPC 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: Richard Alpe <richard.alpe@ericsson.com>
*/