diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cookie.h | 2 | ||||
-rw-r--r-- | src/noise.h | 6 | ||||
-rw-r--r-- | src/socket.h | 3 |
3 files changed, 0 insertions, 11 deletions
diff --git a/src/cookie.h b/src/cookie.h index f0e5594..e264e35 100644 --- a/src/cookie.h +++ b/src/cookie.h @@ -7,8 +7,6 @@ #include <linux/rwsem.h> struct wireguard_peer; -struct wireguard_device; -struct sk_buff; struct cookie_checker { u8 secret[NOISE_HASH_LEN]; diff --git a/src/noise.h b/src/noise.h index f696c57..01026a4 100644 --- a/src/noise.h +++ b/src/noise.h @@ -92,13 +92,7 @@ struct noise_handshake { struct rw_semaphore lock; }; -struct wireguard_peer; struct wireguard_device; -struct message_header; -struct message_handshake_initiation; -struct message_handshake_response; -struct message_data; -struct message_handshake_cookie; void noise_init(void); bool noise_handshake_init(struct noise_handshake *handshake, struct noise_static_identity *static_identity, const u8 peer_public_key[NOISE_PUBLIC_KEY_LEN], const u8 peer_preshared_key[NOISE_SYMMETRIC_KEY_LEN], struct wireguard_peer *peer); diff --git a/src/socket.h b/src/socket.h index 4f83926..843d544 100644 --- a/src/socket.h +++ b/src/socket.h @@ -8,9 +8,6 @@ #include <linux/if_vlan.h> #include <linux/if_ether.h> -struct wireguard_device; -struct endpoint; - int socket_init(struct wireguard_device *wg); void socket_uninit(struct wireguard_device *wg); int socket_send_buffer_to_peer(struct wireguard_peer *peer, void *data, size_t len, u8 ds); |