summaryrefslogtreecommitdiff
path: root/nest
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2019-02-28 00:44:40 +0100
committerMikael Magnusson <mikma@users.sourceforge.net>2023-12-21 22:53:23 +0100
commite4855773dfd6fd5f40b9df2aedd95f3a6ab0f4d1 (patch)
tree6448f8a8630e8abd42ab04df4cfe1a340e9f9c57 /nest
parent304c6821fb44356477b32311bcf8c335253bee06 (diff)
Wireguard: Initial commit
Use 51820 (default wireguard port) as default tunnel type.
Diffstat (limited to 'nest')
-rw-r--r--nest/protocol.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/nest/protocol.h b/nest/protocol.h
index c87d3814..ee55d316 100644
--- a/nest/protocol.h
+++ b/nest/protocol.h
@@ -57,6 +57,7 @@ enum protocol_class {
PROTOCOL_RIP,
PROTOCOL_RPKI,
PROTOCOL_STATIC,
+ PROTOCOL_WG,
PROTOCOL__MAX
};
@@ -107,7 +108,8 @@ void protos_dump_all(void);
extern struct protocol
proto_device, proto_radv, proto_rip, proto_static, proto_mrt,
proto_ospf, proto_perf, proto_l3vpn, proto_aggregator,
- proto_pipe, proto_bgp, proto_bmp, proto_bfd, proto_babel, proto_rpki;
+ proto_pipe, proto_bgp, proto_bmp, proto_bfd, proto_babel, proto_rpki,
+ proto_wireguard;
/*
* Routing Protocol Instance
@@ -483,6 +485,7 @@ struct channel_class {
extern const struct channel_class channel_basic;
extern const struct channel_class channel_bgp;
+extern const struct channel_class channel_wg;
struct channel_config {
node n;