aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/device.h')
-rw-r--r--src/device.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/device.h b/src/device.h
index e8e00a0..f716242 100644
--- a/src/device.h
+++ b/src/device.h
@@ -14,6 +14,7 @@
#include <linux/mutex.h>
#include <linux/net.h>
#include <linux/padata.h>
+#include <linux/notifier.h>
struct wireguard_device {
struct sock __rcu *sock4, *sock6;
@@ -32,6 +33,7 @@ struct wireguard_device {
struct list_head peer_list;
struct mutex device_update_lock;
struct mutex socket_update_lock;
+ struct notifier_block clear_peers_on_suspend;
};
int device_init(void);