X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fconnection.h;h=495c38e159680de85c90650209649b76006f0b12;hb=7e1117197ca4fc62af93fda50e28e0ff06cb736c;hp=8d5537b2b95823f947aa5f730616b75c150748f8;hpb=38c25d62c2bc76908bd95fb21c8f5e39ad269884;p=tinc diff --git a/src/connection.h b/src/connection.h index 8d5537b2..495c38e1 100644 --- a/src/connection.h +++ b/src/connection.h @@ -101,6 +101,7 @@ 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 */