diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-09-29 04:36:14 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-09-29 19:25:30 +0200 |
commit | 8a57a2cefbeaf9e42b7a8e603f7a0bc6582a1aae (patch) | |
tree | 5329400b70c682e98eea2a1f937ca123175f3a2b /contrib/extract-keys | |
parent | wg: allow multiple AllowedIPs invocations (diff) | |
download | wireguard-tools-8a57a2cefbeaf9e42b7a8e603f7a0bc6582a1aae.tar.xz wireguard-tools-8a57a2cefbeaf9e42b7a8e603f7a0bc6582a1aae.zip |
Rework headers and includes
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r-- | contrib/extract-keys/config.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/extract-keys/config.c b/contrib/extract-keys/config.c index 0dc4841..7852dcf 100644 --- a/contrib/extract-keys/config.c +++ b/contrib/extract-keys/config.c @@ -5,7 +5,9 @@ struct def { extern const struct def defs[]; #ifdef __KERNEL__ -#include "../../../src/wireguard.h" +#include "../../../src/device.h" +#include "../../../src/peer.h" +#include "../../../src/noise.h" 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) }, |