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.20 2002/09/09 21:24:41 guus Exp $
+ $Id: node.h,v 1.1.2.22 2003/05/06 21:13:18 guus Exp $
*/
#ifndef __TINC_NODE_H__
const EVP_CIPHER *cipher; /* Cipher type for UDP packets */
char *key; /* Cipher key and iv */
int keylength; /* Cipher key and iv length */
-
+ EVP_CIPHER_CTX packet_ctx; /* Cipher context */
+
const EVP_MD *digest; /* Digest type for MAC */
int maclength; /* Length of MAC */
uint32_t sent_seqno; /* Sequence number last sent to this node */
uint32_t received_seqno; /* Sequence number last received from this node */
+ unsigned char late[16]; /* Bitfield marking late packets */
} node_t;
extern struct node_t *myself;