]> git.ozlabs.org Git - ppp.git/commitdiff
implement logging the LCP RTT
authorMarco d'Itri <md@linux.it>
Sun, 7 May 2023 15:56:43 +0000 (17:56 +0200)
committerMarco d'Itri <md@linux.it>
Sun, 24 Sep 2023 10:20:06 +0000 (12:20 +0200)
This change adds the lcp-rtt-file configuration option, which instructs
pppd to add a timestamp to the data section of each LCP echo request
frame and then log their round-trip time and any detected packet loss
to a circular buffer in that file.

Other programs then can asynchronously read the file and report
statistics about the line.

Signed-off-by: Marco d'Itri <md@linux.it>

No differences found