X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fconnection.h;fp=src%2Fconnection.h;h=0922fbeab71963aede15d75eabd7ffe1881ce76d;hp=d3e9224d002fdde945e966eb4ca6333ae74ff2e3;hb=42ed8fd4cf3b3e527a38c03d713739fcdc6bf520;hpb=a85864809febde02687b52dc2931ac4505f57067 diff --git a/src/connection.h b/src/connection.h index d3e9224d..0922fbea 100644 --- a/src/connection.h +++ b/src/connection.h @@ -71,6 +71,8 @@ typedef struct connection_t { const EVP_CIPHER *outcipher; /* Cipher we will use to send data to him */ EVP_CIPHER_CTX *inctx; /* Context of encrypted meta data that will come from him to us */ EVP_CIPHER_CTX *outctx; /* Context of encrypted meta data that will be sent from us to him */ + uint64_t inbudget; /* Encrypted bytes send budget */ + uint64_t outbudget; /* Encrypted bytes receive budget */ char *inkey; /* His symmetric meta key + iv */ char *outkey; /* Our symmetric meta key + iv */ int inkeylength; /* Length of his key + iv */