Move logging of "would block" messages to debug level 4.
[tinc] / src / connection.h
index b41cf46..acd77bc 100644 (file)
@@ -59,9 +59,9 @@ typedef struct connection_status_t {
 
 typedef struct connection_t {
        char *name;                     /* name he claims to have */
+       char *hostname;                 /* the hostname of its real ip */
 
        union sockaddr_t address;       /* his real (internet) ip */
-       char *hostname;                 /* the hostname of its real ip */
        int protocol_major;             /* used protocol */
        int protocol_minor;             /* used protocol */
 
@@ -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 */