]> tinc-vpn.org Git - tinc/blobdiff - src/connection.h
Enforce maximum amount of bytes sent/received on meta-connections.
[tinc] / src / connection.h
index 7fa769f8d784042edb85c319f31263146369e7bc..acd77bc277e88e5568b151ac2dca4349cc74fae3 100644 (file)
@@ -81,6 +81,8 @@ typedef struct connection_t {
        cipher_t *outcipher;            /* Cipher we will use to send data to him */
        digest_t *indigest;
        digest_t *outdigest;
+       uint64_t inbudget;
+       uint64_t outbudget;
 #endif
 
        ecdsa_t *ecdsa;                 /* his public ECDSA key */