X-Git-Url: http://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fconnection.h;h=495c38e159680de85c90650209649b76006f0b12;hb=0f6f54ff8aa96d981f68b5b71c7126b8fdbead6c;hp=8d5537b2b95823f947aa5f730616b75c150748f8;hpb=17c8033029d50ce4a30b6e3585c0ee28ef45bc97;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 */