diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-10-08 03:36:20 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-10-08 03:38:12 +0200 |
commit | 1027c1fb4493130ed9df96fd4092c4bf9c599b82 (patch) | |
tree | 9cc86eb2c6c003f220c9d66171a2d5d0f59745b6 /src/device.h | |
parent | netlink: do not stuff index into nla type (diff) | |
download | wireguard-linux-compat-1027c1fb4493130ed9df96fd4092c4bf9c599b82.tar.xz wireguard-linux-compat-1027c1fb4493130ed9df96fd4092c4bf9c599b82.zip |
global: rename struct wireguard_ to struct wg_
This required a bit of pruning of our christmas trees.
Suggested-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/device.h')
-rw-r--r-- | src/device.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/device.h b/src/device.h index 2bd1429..b0cbc78 100644 --- a/src/device.h +++ b/src/device.h @@ -18,7 +18,7 @@ #include <linux/net.h> #include <linux/ptr_ring.h> -struct wireguard_device; +struct wg_device; struct multicore_worker { void *ptr; @@ -36,7 +36,7 @@ struct crypt_queue { }; }; -struct wireguard_device { +struct wg_device { struct net_device *dev; struct crypt_queue encrypt_queue, decrypt_queue; struct sock __rcu *sock4, *sock6; |