#ifndef __TINC_NODE_H__
#define __TINC_NODE_H__
+#include <event.h>
+
#include "splay_tree.h"
#include "cipher.h"
#include "connection.h"
list_t *queue; /* Queue for packets awaiting to be encrypted */
+ int distance;
struct node_t *nexthop; /* nearest node from us to him */
struct node_t *via; /* next hop for UDP packets */