projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added support for packet compression, thanks to Mark Glines.
[tinc]
/
src
/
node.h
diff --git
a/src/node.h
b/src/node.h
index
6d281e6
..
b662ccd
100644
(file)
--- a/
src/node.h
+++ b/
src/node.h
@@
-17,7
+17,7
@@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
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.1
0 2002/02/10 21:57:54
guus Exp $
+ $Id: node.h,v 1.1.2.1
1 2002/02/11 15:59:18
guus Exp $
*/
#ifndef __TINC_NODE_H__
*/
#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 */
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 */
list_t *queue; /* Queue for packets awaiting to be encrypted */
struct node_t *nexthop; /* nearest node from us to him */