X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fconnection.h;h=2d84aced1cdee1119a549dbc222800c7625b2d17;hb=65d6f023c46ac3a087f59b60762f87c869783f21;hp=26aa3f0c25c0f9159c08d2b05d9896abddecdb0d;hpb=210b5ceeeebdf742a74dcf95a0a13d69623ee001;p=tinc diff --git a/src/connection.h b/src/connection.h index 26aa3f0c..2d84aced 100644 --- a/src/connection.h +++ b/src/connection.h @@ -26,6 +26,7 @@ #include "digest.h" #include "rsa.h" #include "splay_tree.h" +#include "sptps.h" #define OPTION_INDIRECT 0x0001 #define OPTION_TCPONLY 0x0002 @@ -73,11 +74,11 @@ typedef struct connection_t { rsa_t rsa; /* his public RSA key */ ecdsa_t ecdsa; /* his public ECDSA key */ - ecdsa_t ecdh; /* state for ECDH key exchange */ cipher_t incipher; /* Cipher he will use to send data to us */ cipher_t outcipher; /* Cipher we will use to send data to him */ digest_t indigest; digest_t outdigest; + sptps_t sptps; int inmaclength; int outmaclength; @@ -99,7 +100,7 @@ typedef struct connection_t { } connection_t; extern splay_tree_t *connection_tree; -extern connection_t *broadcast; +extern connection_t *everyone; extern void init_connections(void); extern void exit_connections(void);