+// SPDX-License-Identifier: GPL-2.0
#include <linux/rtnetlink.h>
#include <linux/notifier.h>
#include <linux/rcupdate.h>
-/* License: GPL */
-
+// SPDX-License-Identifier: GPL-2.0
#include <linux/filter.h>
#include <linux/mutex.h>
#include <linux/socket.h>
+// SPDX-License-Identifier: LGPL-2.1-or-later
/* Key type used to cache DNS lookups made by the kernel
*
* See Documentation/networking/dns_resolver.rst
* Steve French (sfrench@us.ibm.com)
* Wang Lei (wang840925@gmail.com)
* David Howells (dhowells@redhat.com)
- *
- * This library is free software; you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published
- * by the Free Software Foundation; either version 2.1 of the License, or
- * (at your option) any later version.
- *
- * This library 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 Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include <linux/module.h>
#include <linux/moduleparam.h>
+// SPDX-License-Identifier: LGPL-2.1-or-later
/* Upcall routine, designed to work as a key type and working through
* /sbin/request-key to contact userspace when handling DNS queries.
*
* For example to use this module to query AFSDB RR:
*
* create dns_resolver afsdb:* * /sbin/dns.afsdb %k
- *
- * This library is free software; you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published
- * by the Free Software Foundation; either version 2.1 of the License, or
- * (at your option) any later version.
- *
- * This library 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 Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include <linux/module.h>
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
* Copyright (c) 2010 Wang Lei
* Author(s): Wang Lei (wang840925@gmail.com). All Rights Reserved.
*
* Internal DNS Rsolver stuff
- *
- * This library is free software; you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published
- * by the Free Software Foundation; either version 2.1 of the License, or
- * (at your option) any later version.
- *
- * This library 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 Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include <linux/compiler.h>
+// SPDX-License-Identifier: GPL-2.0
/*
* INETPEER - A storage for permanent information about peers
*
- * This source is covered by the GNU GPL, the same as all kernel sources.
- *
* Authors: Andrey V. Savochkin <saw@msu.ru>
*/
+// SPDX-License-Identifier: GPL-2.0
/* Linux multicast routing support
* Common logic shared by IPv4 [ipmr] and IPv6 [ip6mr] implementation
*/
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
* IPv4 specific functions of netfilter core
*
- * Rusty Russell (C) 2000 -- This code is GPL.
+ * Rusty Russell (C) 2000
* Patrick McHardy (C) 2006-2012
*/
#include <linux/kernel.h>
+// SPDX-License-Identifier: GPL-2.0
/* Bottleneck Bandwidth and RTT (BBR) congestion control
*
* BBR congestion control computes the sending rate based on the delivery
+/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _TCP_DCTCP_H
#define _TCP_DCTCP_H
+// SPDX-License-Identifier: GPL-2.0
/* Protective Load Balancing (PLB)
*
* PLB was designed to reduce link load imbalance across datacenter
+// SPDX-License-Identifier: GPL-2.0
#include <linux/notifier.h>
#include <linux/socket.h>
#include <linux/kernel.h>
+// SPDX-License-Identifier: GPL-2.0
#include <linux/errno.h>
#include <linux/ip.h>
#include <linux/kernel.h>
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
* IPv6 specific functions of netfilter core
*
- * Rusty Russell (C) 2000 -- This code is GPL.
+ * Rusty Russell (C) 2000
* Patrick McHardy (C) 2006-2012
*/
#include <linux/kernel.h>
+// SPDX-License-Identifier: GPL-2.0
/* netfilter.c: look after the filters for various protocols.
* Heavily influenced by the old firewall.c by David Bonn and Alan Cox.
*
* Thanks to Rob `CmdrTaco' Malda for not influencing this code in any
* way.
- *
- * This code is GPL.
*/
#include <linux/kernel.h>
#include <linux/netfilter.h>
+// SPDX-License-Identifier: GPL-2.0
/* Connection tracking via netlink socket. Allows for user space
* protocol helpers and general trouble making from userspace.
*
* generally made possible by Network Robots, Inc. (www.networkrobots.com)
*
* Further development of this code funded by Astaro AG (http://www.astaro.com)
- *
- * This software may be used and distributed according to the terms
- * of the GNU General Public License, incorporated herein by reference.
*/
#include <linux/init.h>
+// SPDX-License-Identifier: GPL-2.0
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/module.h>
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Rusty Russell (C)2000 -- This code is GPL.
* Patrick McHardy (c) 2006-2012
+// SPDX-License-Identifier: GPL-2.0
/* Netfilter messages via netlink socket. Allows for user space
* protocol helpers and general trouble making from userspace.
*
* generally made possible by Network Robots, Inc. (www.networkrobots.com)
*
* Further development of this code funded by Astaro AG (http://www.astaro.com)
- *
- * This software may be used and distributed according to the terms
- * of the GNU General Public License, incorporated herein by reference.
*/
#include <linux/module.h>
+// SPDX-License-Identifier: GPL-2.0
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/netdevice.h>
+// SPDX-License-Identifier: GPL-2.0
/* Kernel module to match connection tracking byte counter.
- * GPL (C) 2002 Martin Devera (devik@cdi.cz).
+ * (C) 2002 Martin Devera (devik@cdi.cz).
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
* netfilter module to limit the number of parallel tcp
* connections per IP address.
* based on ...
*
* Kernel module to match connection tracking information.
- * GPL (C) 1999 Rusty Russell (rusty@rustcorp.com.au).
+ * (C) 1999 Rusty Russell (rusty@rustcorp.com.au).
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+// SPDX-License-Identifier: GPL-2.0
/*
* xt_time
* Copyright © CC Computer Consultants GmbH, 2007
* This is a module which is used for time matching
* It is using some modified code from dietlibc (localtime() function)
* that you can find at https://www.fefe.de/dietlibc/
- * This file is distributed under the terms of the GNU General Public
- * License (GPL). Copies of the GPL can be obtained from gnu.org/gpl.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt