X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fnode.h;h=0cdac3fa89c4f7241112a5139bd544a5d1946cb1;hb=0f0585d71b28428792e53258bc570dddc17b0b27;hp=daa0830a5797db76df3b5c13a8a351d8ecdc9adf;hpb=42d2dff33306beae8ddbd9cc991ad80f135950a6;p=tinc diff --git a/src/node.h b/src/node.h index daa0830a..0cdac3fa 100644 --- a/src/node.h +++ b/src/node.h @@ -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 */ @@ -110,6 +111,8 @@ typedef struct node_t { uint64_t in_bytes; uint64_t out_packets; uint64_t out_bytes; + + struct address_cache_t *address_cache; } node_t; extern struct node_t *myself;