Re: [RFC/PATCH] ICMPv6 MIB stats per-interface
From: David S. Miller <hidden>
Date: 2003-04-14 16:06:10
From: David S. Miller <hidden>
Date: 2003-04-14 16:06:10
From: YOSHIFUJI Hideaki / 吉藤英明 [off-list ref]
Date: Tue, 15 Apr 2003 00:29:15 +0900 (JST)
I'd recommend that we split information per interface
1) to minimize the /proc file
2) to minimize the effort to rewrite snmp daemon (e.g. net-snmp)
We use /proc/net/dev_snmp6/{1,2,...}. Example:
I very much like this general idea.
But I want to suggest a different naming scheme. Let us follow the
lead of things like /proc/sys/net/ipv4/conf/ where subfiles and
subdirectories are named using device name.
So we'd then have /proc/net/dev_snmp6/{lo,eth0,eth1} etc.
Ok?