Use SPDX tag instead of GPL boilerplate.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* arpd.c ARP helper daemon.
*
- * 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>
*/
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* ifstat.c handy utility to read net interface statistics
*
- * 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>
*/
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/* lnstat - Unified linux network statistics
*
* Copyright (C) 2004 by Harald Welte <laforge@gnumonks.org>
*
* Copyright 2001 by Robert Olsson <robert.olsson@its.uu.se>
* Uppsala University, Sweden
- *
- * 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.
- *
*/
/* Maximum number of fields that can be displayed */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/* lnstat.c: Unified linux network statistics
*
* Copyright (C) 2004 by Harald Welte <laforge@gnumonks.org>
*
* Copyright 2001 by Robert Olsson <robert.olsson@its.uu.se>
* Uppsala University, Sweden
- *
- * 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.
- *
*/
#include <unistd.h>
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* nstat.c handy utility to read counters /proc/net/netstat and snmp
*
- * 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>
*/
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* rtacct.c Applet to display contents of /proc/net/rt_acct.
*
- * 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>
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* ss.c "sockstat", socket statistics
*
- * 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>
*/
+/* SPDX-License-Identifier: GPL-2.0-or-later */
#ifndef __SS_UTIL_H__
#define __SS_UTIL_H__
+/* SPDX-License-Identifier: GPL-2.0-or-later */
#include <stdbool.h>
enum {
%{
+/* SPDX-License-Identifier: GPL-2.0-or-later */
#include <stdio.h>
#include <stdlib.h>
+/* SPDX-License-Identifier: GPL-2.0-or-later */
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>