X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fnode.h;h=f4fc88bbc5fc887a7f0740c37810ef12578226c1;hb=08aabbf9317806bc50a9a6693ca866c8936ce26b;hp=da5081b49ef0dd5cc3506862443502c9a8ba1cc1;hpb=6e80da3370249caa1082c23c3ef55f338d1e9e74;p=meshlink diff --git a/src/node.h b/src/node.h index da5081b4..f4fc88bb 100644 --- a/src/node.h +++ b/src/node.h @@ -1,6 +1,6 @@ /* node.h -- header for node.c - Copyright (C) 2001-2006 Guus Sliepen , + Copyright (C) 2001-2009 Guus Sliepen , 2001-2005 Ivo Timmermans This program is free software; you can redistribute it and/or modify @@ -23,6 +23,8 @@ #ifndef __TINC_NODE_H__ #define __TINC_NODE_H__ +#include + #include "splay_tree.h" #include "cipher.h" #include "connection.h" @@ -58,8 +60,6 @@ typedef struct node_t { int compression; /* Compressionlevel, 0 = no compression */ - 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 */