aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/compat
diff options
context:
space:
mode:
Diffstat (limited to 'src/compat')
-rw-r--r--src/compat/Kbuild.include4
-rw-r--r--src/compat/checksum/checksum_partial_compat.h5
-rw-r--r--src/compat/compat-asm.h5
-rw-r--r--src/compat/compat.h5
-rw-r--r--src/compat/udp_tunnel/udp_tunnel_partial_compat.h5
5 files changed, 22 insertions, 2 deletions
diff --git a/src/compat/Kbuild.include b/src/compat/Kbuild.include
index 2bbe9e9..b7930b6 100644
--- a/src/compat/Kbuild.include
+++ b/src/compat/Kbuild.include
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: GPL-2.0
+#
+# Copyright (C) 2015-2017 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
+
ifeq ($(wildcard $(src)/compat/compat.h),)
ccflags-y += -include $(srctree)/$(src)/compat/compat.h
asflags-y += -include $(srctree)/$(src)/compat/compat-asm.h
diff --git a/src/compat/checksum/checksum_partial_compat.h b/src/compat/checksum/checksum_partial_compat.h
index 147b0a6..115cf07 100644
--- a/src/compat/checksum/checksum_partial_compat.h
+++ b/src/compat/checksum/checksum_partial_compat.h
@@ -1,3 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0
+ *
+ * Copyright (C) 2015-2017 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
+ */
+
#include <net/route.h>
#include <net/esp.h>
#include <net/ip.h>
diff --git a/src/compat/compat-asm.h b/src/compat/compat-asm.h
index 548841d..418c566 100644
--- a/src/compat/compat-asm.h
+++ b/src/compat/compat-asm.h
@@ -1,4 +1,7 @@
-/* Copyright (C) 2017 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
+/* SPDX-License-Identifier: GPL-2.0
+ *
+ * Copyright (C) 2015-2017 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
+ */
#ifndef _WG_COMPATASM_H
#define _WG_COMPATASM_H
diff --git a/src/compat/compat.h b/src/compat/compat.h
index 042e987..f4716d1 100644
--- a/src/compat/compat.h
+++ b/src/compat/compat.h
@@ -1,4 +1,7 @@
-/* Copyright (C) 2015-2017 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
+/* SPDX-License-Identifier: GPL-2.0
+ *
+ * Copyright (C) 2015-2017 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
+ */
#ifndef _WG_COMPAT_H
#define _WG_COMPAT_H
diff --git a/src/compat/udp_tunnel/udp_tunnel_partial_compat.h b/src/compat/udp_tunnel/udp_tunnel_partial_compat.h
index e16ab52..230b3cd 100644
--- a/src/compat/udp_tunnel/udp_tunnel_partial_compat.h
+++ b/src/compat/udp_tunnel/udp_tunnel_partial_compat.h
@@ -1,3 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0
+ *
+ * Copyright (C) 2015-2017 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
+ */
+
#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 18, 0)
#define udp_sock_create4 udp_sock_create
#define udp_sock_create6 udp_sock_create