David Miller wrote:
> From: Varun Chandramohan <[EMAIL PROTECTED]>
> Date: Mon, 25 Jun 2007 10:51:39 +0530
>
>
>> YOSHIFUJI Hideaki / ������������ wrote:
>>
>>> In article <[EMAIL PROTECTED]> (at Mon, 25 Jun 2007 10:28:38 +0530), Varun
>>> Chandramohan <[EMAIL PROTECTED]> says:
>>>
>>>
>>>
>>>> According to the RFC 4292 (IP Forwarding Table MIB) there is a need for an
>>>> age entry for all the routes in the routing table. The entry in the RFC is
>>>> inetCidrRouteAge and oid is inetCidrRouteAge.1.10.
>>>> Many snmp application require this age entry. So iam adding the age field
>>>> in the routing table and providing
>>>> the interface for this value via /proc/net/route.
>>>>
>>>>
>>> I'm not in favor of adding new field(s) to /proc/net/route.
>>>
>>>
>>>
>> Do you think it will break any user level functionality? I have tested
>> with netstat, route and net-snmp which reads from the same /proc
>> interface. They seem to work fine.
>>
>
> You can't change procfs file output format, someone's shell scripts
> or whatever out there will break. Just testing some common packages
> isn't a way to be able to change procfs file output, it's a user
> exported API and just like system calls you cannot change them.
>
>
Hi Dave,
Ok i understand. But can you suggest anyother way to do the above?
Regards,
Varun
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html