blob: 3217df32439410af691664d323cbbe85b42bfe9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#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 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 */
|