In article <20010103155010.D12545@xxxxxxxxxxxxxxxxxxx> (at Wed, 3 Jan 2001
15:50:10 +0200), Matti Aarnio <matti.aarnio@xxxxxxxxxxx> says:
> One important detail would be that the interface must produce same size
> data globs for each interface so that when there is more than PAGESIZE-1k
> of text output, code can quickly get to index with new interesting stuff
> without need to do O(N^2) size iteration (like /proc/ksyms does now).
> (Adding new tags will need adjusted size, nothing else.)
>
> Another approach could be /proc/sys/net/***/IFNAME/stats style files
> ( or /proc/sys/net/stats/IFNAME files ) per interface.
Just FYI: USAGI linux24 has such an interface /proc/net/dev_snmp/<ifindex>
for ipv6 per-device statistics.
--
Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@xxxxxxxxxxxxxx>
PGP5i FP: F731 6599 5EB2 BBA7 1515 1323 1806 A96F 5700 6B25
|