X-Git-Url: http://tinc-vpn.org/git/browse?a=blobdiff_plain;ds=sidebyside;f=src%2Fconnection.h;h=92cd23b4f08028992a57ed2dcc23da6f12a8d40d;hb=760dd966efe7dbff316a8c638e40dee162848256;hp=8d5537b2b95823f947aa5f730616b75c150748f8;hpb=38c25d62c2bc76908bd95fb21c8f5e39ad269884;p=tinc diff --git a/src/connection.h b/src/connection.h index 8d5537b2..92cd23b4 100644 --- a/src/connection.h +++ b/src/connection.h @@ -101,9 +101,9 @@ typedef struct connection_t { int outbufstart; /* index of first meaningful byte in output buffer */ int outbuflen; /* number of meaningful bytes in output buffer */ int outbufsize; /* number of bytes allocated to output buffer */ + struct event outev; /* events on this metadata connection */ time_t last_ping_time; /* last time we saw some activity from the other end or pinged them */ - time_t last_flushed_time; /* last time buffer was empty. Only meaningful if outbuflen > 0 */ avl_tree_t *config_tree; /* Pointer to configuration tree belonging to him */ } connection_t;