From c87c3c3eebd3f6b887858cbf774420a4349f5d9d Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Thu, 28 Feb 2019 00:44:40 +0100 Subject: Wireguard: Initial commit --- proto/wireguard/wireguard.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 proto/wireguard/wireguard.h (limited to 'proto/wireguard/wireguard.h') diff --git a/proto/wireguard/wireguard.h b/proto/wireguard/wireguard.h new file mode 100644 index 00000000..992bb12b --- /dev/null +++ b/proto/wireguard/wireguard.h @@ -0,0 +1,22 @@ +#ifndef _BIRD_WIREGUARD_H +#define _BIRD_WIREGUARD_H + +#include "nest/protocol.h" + +struct wg_config { + struct proto_config c; + const char *ifname; +}; + +struct wg_proto { + struct proto p; + struct fib rtable; + struct iface *iface; +}; + +struct wg_entry { + struct fib_node n; +}; + + +#endif /* _BIRD_WIREGUARD_H */ -- cgit v1.2.3