diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2019-03-26 00:25:14 +0100 |
---|---|---|
committer | Mikael Magnusson <mikma@users.sourceforge.net> | 2019-11-15 00:11:29 +0100 |
commit | b665072deca53febe721c8bfef6445ae201a33e8 (patch) | |
tree | f4b34cc0f1413ad863bf1e61e63f567da7b913d4 /proto/wireguard/wireguard.h | |
parent | 383d9f15bc7d5ac1e39a17c5d98788ea7c36b347 (diff) |
Wireguard: Allow multiple channels
Diffstat (limited to 'proto/wireguard/wireguard.h')
-rw-r--r-- | proto/wireguard/wireguard.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/proto/wireguard/wireguard.h b/proto/wireguard/wireguard.h index 992bb12b..3217df32 100644 --- a/proto/wireguard/wireguard.h +++ b/proto/wireguard/wireguard.h @@ -10,13 +10,23 @@ struct wg_config { struct wg_proto { struct proto p; - struct fib rtable; struct iface *iface; }; +struct wg_channel_config { + struct channel_config c; +}; + +struct wg_channel { + struct channel c; + + struct fib rtable; +}; + struct wg_entry { struct fib_node n; }; +extern struct channel_class channel_wg; #endif /* _BIRD_WIREGUARD_H */ |