aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/contrib/extract-keys
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2016-09-29 04:36:14 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2016-09-29 19:25:30 +0200
commit8a57a2cefbeaf9e42b7a8e603f7a0bc6582a1aae (patch)
tree5329400b70c682e98eea2a1f937ca123175f3a2b /contrib/extract-keys
parentwg: allow multiple AllowedIPs invocations (diff)
downloadwireguard-tools-8a57a2cefbeaf9e42b7a8e603f7a0bc6582a1aae.tar.xz
wireguard-tools-8a57a2cefbeaf9e42b7a8e603f7a0bc6582a1aae.zip
Rework headers and includes
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'contrib/extract-keys')
-rw-r--r--contrib/extract-keys/config.c4
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) },