projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make tunnel library actually work with X.509 certificate authentication.
[tinc]
/
rt
/
rt.h
diff --git
a/rt/rt.h
b/rt/rt.h
index
8f988fc
..
dd8126d
100644
(file)
--- a/
rt/rt.h
+++ b/
rt/rt.h
@@
-24,9
+24,12
@@
#ifndef __RT_H__
#define __RT_H__
#ifndef __RT_H__
#define __RT_H__
+#include "rt/node.h"
#include "tnl/tnl.h"
#include "vnd/vnd.h"
#include "tnl/tnl.h"
#include "vnd/vnd.h"
+#define RT_PROTOCOL 0
+
typedef enum rt_mode {
RT_MODE_ROUTER,
RT_MODE_SWITCH,
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_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);
extern bool rt_init(void);
extern bool rt_exit(void);