]> www.tinc-vpn.org Git - tinc/blobdiff - src/node.h
keep track of round trip times of UDP pings
[tinc] / src / node.h
index 496880f4715a99b67fa52eb94b7deb02bd99cd40..0cdac3fa89c4f7241112a5139bd544a5d1946cb1 100644 (file)
@@ -92,6 +92,7 @@ typedef struct node_t {
 
        struct timeval udp_reply_sent;          /* Last time a (gratuitous) UDP probe reply was sent */
        struct timeval udp_ping_sent;           /* Last time a UDP probe was sent */
+       long int udp_ping_rtt;                  /* Round trip time of UDP ping (in microseconds) */
        timeout_t udp_ping_timeout;             /* Ping timeout event */
 
        struct timeval mtu_ping_sent;           /* Last time a MTU probe was sent */