]> git.ozlabs.org Git - ppp.git/commit
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)
commitcdae9beff066cd11cdae2d6b10bbe329a0872c49
tree38fa83fabc9d4dbbe3cebb80fe3d0cd63040b12a
parentf5aa69baefa83c1d9316f5736c2b6521eff44a81
implement logging the LCP RTT

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>
pppd/lcp.c
pppd/pppd.8