Commit graph

3 commits

Author SHA1 Message Date
thorkill
0cd387fd90 This commit implements average RTT estimation based on PING-PONG between active TCP connections.
Average RTT can be used to update edge weight and propagate it to the network.
tinc dump edges has been also extended to give the current RTT.
New edge weight will change only if the config has EdgeUpdateInterval set to other value than 0.

- Ignore local configuration for editors
- Extended manpage with informations about EdgeUpdateInterval
- Added clone_edge and fixed potential segfault when b->from not defined
- Compute avg_rtt based on the time values we got back in PONG
- Add avg_rtt on dump edge
- Send current time on PING and return it on PONG
- Changed last_ping_time to struct timeval
- Extended edge_t with avg_rtt
2015-04-11 15:27:28 +02:00
Guus Sliepen
72f08932cf Don't ignore Makefile.am. 2012-09-24 14:56:00 +02:00
Vilbrekin
c6720f1a60 Add basic .gitignore file, cleaning (most) files generated by autotools. 2012-09-24 13:55:27 +02:00