X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=rt%2Frt.h;h=dd8126d1bb355b416a27da270b6a7791759541cc;hb=aa5cb9218724b9d3ee190b9b9c236991b8aca411;hp=8f988fc258037a0786dbe65cb908f24883c83428;hpb=7d12cbb6e6acebbe8f9bcab75f5ec878a3360eb9;p=tinc diff --git a/rt/rt.h b/rt/rt.h index 8f988fc2..dd8126d1 100644 --- a/rt/rt.h +++ b/rt/rt.h @@ -24,9 +24,12 @@ #ifndef __RT_H__ #define __RT_H__ +#include "rt/node.h" #include "tnl/tnl.h" #include "vnd/vnd.h" +#define RT_PROTOCOL 0 + typedef enum rt_mode { RT_MODE_ROUTER, RT_MODE_SWITCH, @@ -39,6 +42,11 @@ extern bool rt_hostnames; extern bool rt_priorityinheritance; extern int rt_macexpire; extern int rt_maxtimeout; +extern bool rt_overwrite_mac; + +extern node_t *myself; +extern vnd_t *rt_vnd; +extern avl_tree_t *rt_tnls; extern bool rt_init(void); extern bool rt_exit(void);