PPP Idle-time

E.J. Wilburn (ej@ns1.woodtech.com)
Mon, 17 Jul 1995 23:26:43 -0500 (CDT)


I'm trying to get PPP to change the idletime reported by the program w to
reflect when it sent or recieved the last packet instead of when the
program was run. To do this I need to have the kernel touch the device
being used by the spefic ppp channel. I'm thinking I need to find the
exact place in the kernel were ppp<channel> recieves or transmits a
packet and add a line like this -

utime(stdout, buftime);

Am I on the right track? Would this signifigantly slow down the kernel
or would it just be an unnoticable increase? Currently I'm running a max
of 27 PPP channels and average about 20. Also where could I find where
a specfic PPP channel inputs or outputs a packet? I'm running 1.2.11 on
that particular system.

-E.J. Wilburn
System Administrator - Woodtech Information Systems, Inc.
ej@woodtech.com