summaryrefslogtreecommitdiff
path: root/proto/wireguard/wireguard.h
blob: 992bb12b00b0092fdf8a19f6664630e94d2085c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 */