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>
This commit is contained in:
Jason A. Donenfeld 2018-10-08 03:36:20 +02:00
parent 54569b7999
commit 846d2514c5
1 changed files with 5 additions and 5 deletions

View File

@ -17,11 +17,11 @@ const struct def defs[] = {
{ "SOCK_DEVICE_OFFSET", offsetof(struct sock, sk_user_data) }, { "SOCK_DEVICE_OFFSET", offsetof(struct sock, sk_user_data) },
{ "DEVICE_NAME_OFFSET", -ALIGN(sizeof(struct net_device), NETDEV_ALIGN) + offsetof(struct net_device, name) }, { "DEVICE_NAME_OFFSET", -ALIGN(sizeof(struct net_device), NETDEV_ALIGN) + offsetof(struct net_device, name) },
{ "IFNAMSIZ", IFNAMSIZ }, { "IFNAMSIZ", IFNAMSIZ },
{ "DEVICE_PEERS_OFFSET", offsetof(struct wireguard_device, peer_list) }, { "DEVICE_PEERS_OFFSET", offsetof(struct wg_device, peer_list) },
{ "PEERS_PEER_OFFSET", -offsetof(struct wireguard_peer, peer_list) }, { "PEERS_PEER_OFFSET", -offsetof(struct wg_peer, peer_list) },
{ "PEER_CURRENTKEY_OFFSET", offsetof(struct wireguard_peer, keypairs.current_keypair) }, { "PEER_CURRENTKEY_OFFSET", offsetof(struct wg_peer, keypairs.current_keypair) },
{ "PEER_PREVIOUSKEY_OFFSET", offsetof(struct wireguard_peer, keypairs.previous_keypair) }, { "PEER_PREVIOUSKEY_OFFSET", offsetof(struct wg_peer, keypairs.previous_keypair) },
{ "PEER_NEXTKEY_OFFSET", offsetof(struct wireguard_peer, keypairs.next_keypair) }, { "PEER_NEXTKEY_OFFSET", offsetof(struct wg_peer, keypairs.next_keypair) },
{ "KEY_LOCALID_OFFSET", offsetof(struct noise_keypair, entry.index) }, { "KEY_LOCALID_OFFSET", offsetof(struct noise_keypair, entry.index) },
{ "KEY_REMOTEID_OFFSET", offsetof(struct noise_keypair, remote_index) }, { "KEY_REMOTEID_OFFSET", offsetof(struct noise_keypair, remote_index) },
{ "KEY_SENDING_OFFSET", offsetof(struct noise_keypair, sending.key) }, { "KEY_SENDING_OFFSET", offsetof(struct noise_keypair, sending.key) },