Added support for packet compression, thanks to Mark Glines.
[tinc] / src / node.h
index 6d281e6..b662ccd 100644 (file)
@@ -17,7 +17,7 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-    $Id: node.h,v 1.1.2.10 2002/02/10 21:57:54 guus Exp $
+    $Id: node.h,v 1.1.2.11 2002/02/11 15:59:18 guus Exp $
 */
 
 #ifndef __TINC_NODE_H__
@@ -54,6 +54,8 @@ typedef struct node_t {
   const EVP_MD *digest;            /* Digest type for MAC */
   int maclength;                   /* Length of MAC */
 
+  int compression;                 /* Compressionlevel, 0 = no compression */
+
   list_t *queue;                   /* Queue for packets awaiting to be encrypted */
 
   struct node_t *nexthop;          /* nearest node from us to him */