summaryrefslogtreecommitdiffstatshomepage
path: root/contrib
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
commita18ceb81ca78a7f37adc436f35e6eeb8683bb984 (patch)
treee47051e5acf65c5d2cf8c3fa494abb6742d0bb24 /contrib
parentpoly1305: optimize unaligned access (diff)
downloadwireguard-monolithic-historical-a18ceb81ca78a7f37adc436f35e6eeb8683bb984.tar.xz
wireguard-monolithic-historical-a18ceb81ca78a7f37adc436f35e6eeb8683bb984.zip
Rework headers and includes
Diffstat (limited to 'contrib')
-rw-r--r--contrib/examples/extract-keys/config.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/examples/extract-keys/config.c b/contrib/examples/extract-keys/config.c
index 0dc4841..7852dcf 100644
--- a/contrib/examples/extract-keys/config.c
+++ b/contrib/examples/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) },