summaryrefslogtreecommitdiff
path: root/usr.bin/systat/iostat.c
diff options
context:
space:
mode:
authorbrian <brian@cvs.openbsd.org>2000-02-27 00:21:11 +0000
committerbrian <brian@cvs.openbsd.org>2000-02-27 00:21:11 +0000
commit0b9c6c302f5adf323ce40459851cd2f5127e0750 (patch)
tree5dd496ca0eb56aaddcff1e514ecd595b840ea86d /usr.bin/systat/iostat.c
parenta0ec6e07bcae2bf76ca750b6228011001c430492 (diff)
When we stop a timer that's the first in the timer list, ensure
that we adjust that timers `rest' value (with the current getitimer() values) before using that to adjust the next items `rest' value. After adjusting that value, restart the timer service so that we've now got the correct setitimer() values. When adjusting timer::rest, round to the closest TICKUNIT usecs value. struct descriptor -> struct fdescriptor (to avoid header polution in NetBSD). Introduce LOCALNAT and LOCALRAD defines. The interface list that comes back from the PF_ROUTE/NET_RT_IFLIST mib is aligned. Teach this to ``show route'' and clean up some of the sockaddr parsing routines. Add ``set log dns'' to log DNS QUERY packets. When ppp can't identify the relevant name, don't use "???", use <nnn> or <0xnnn> instead. Don't ``break'' when we come accross a non-RTM_IFINFO type entry in the block returned by the NET_RT_IFLIST mib, continue instead. Correct UN_SIZE definition; ben@scientia.demon.co.uk
Diffstat (limited to 'usr.bin/systat/iostat.c')
0 files changed, 0 insertions, 0 deletions