aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/contrib/extract-keys/config.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-10-08 03:36:20 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-10-08 03:38:12 +0200
commit846d2514c56385aa001b52d00f267f09796a85b9 (patch)
tree4e29233dd88b5cf099efc17d1fc9dc41be191cf6 /contrib/extract-keys/config.c
parentnetlink: do not stuff index into nla type (diff)
downloadwireguard-tools-846d2514c56385aa001b52d00f267f09796a85b9.tar.xz
wireguard-tools-846d2514c56385aa001b52d00f267f09796a85b9.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 '')
-rw-r--r--contrib/extract-keys/config.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/extract-keys/config.c b/contrib/extract-keys/config.c
index 1dad1ce..e4033f9 100644
--- a/contrib/extract-keys/config.c
+++ b/contrib/extract-keys/config.c
@@ -17,11 +17,11 @@ const struct def defs[] = {
{ "SOCK_DEVICE_OFFSET", offsetof(struct sock, sk_user_data) },
{ "DEVICE_NAME_OFFSET", -ALIGN(sizeof(struct net_device), NETDEV_ALIGN) + offsetof(struct net_device, name) },
{ "IFNAMSIZ", IFNAMSIZ },
- { "DEVICE_PEERS_OFFSET", offsetof(struct wireguard_device, peer_list) },
- { "PEERS_PEER_OFFSET", -offsetof(struct wireguard_peer, peer_list) },
- { "PEER_CURRENTKEY_OFFSET", offsetof(struct wireguard_peer, keypairs.current_keypair) },
- { "PEER_PREVIOUSKEY_OFFSET", offsetof(struct wireguard_peer, keypairs.previous_keypair) },
- { "PEER_NEXTKEY_OFFSET", offsetof(struct wireguard_peer, keypairs.next_keypair) },
+ { "DEVICE_PEERS_OFFSET", offsetof(struct wg_device, peer_list) },
+ { "PEERS_PEER_OFFSET", -offsetof(struct wg_peer, peer_list) },
+ { "PEER_CURRENTKEY_OFFSET", offsetof(struct wg_peer, keypairs.current_keypair) },
+ { "PEER_PREVIOUSKEY_OFFSET", offsetof(struct wg_peer, keypairs.previous_keypair) },
+ { "PEER_NEXTKEY_OFFSET", offsetof(struct wg_peer, keypairs.next_keypair) },
{ "KEY_LOCALID_OFFSET", offsetof(struct noise_keypair, entry.index) },
{ "KEY_REMOTEID_OFFSET", offsetof(struct noise_keypair, remote_index) },
{ "KEY_SENDING_OFFSET", offsetof(struct noise_keypair, sending.key) },