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 | 7dbb44fcbea3bbed2c73919394e22865552b7c0d (patch) | |
tree | 09d03a9b211f9f068d25b84f67c8c60d9eb30199 /src/peer.h | |
parent | 0b9dfadd25b60bf2fed43d5b553098ed70028374 (diff) |
Rework headers and includes
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/peer.h')
-rw-r--r-- | src/peer.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -3,14 +3,16 @@ #ifndef PEER_H #define PEER_H -#include "wireguard.h" #include "noise.h" #include "cookie.h" + #include <linux/types.h> #include <linux/netfilter.h> #include <linux/spinlock.h> #include <linux/kref.h> +struct wireguard_device; + struct wireguard_peer { struct wireguard_device *device; struct sockaddr_storage endpoint_addr; |