[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-net
Subject:    Re: bsnmpd: ifTable and if_nametoindex() inconsistency
From:       Eugene Grosbein <egrosbein () rdtc ! ru>
Date:       2011-01-24 19:08:39
Message-ID: 4D3DCE37.1060808 () rdtc ! ru
[Download RAW message or body]

On 24.01.2011 19:30, Harti Brandt wrote:
> On Sat, 22 Jan 2011, Eugene Grosbein wrote:
> 
> EG>On 23.01.2011 00:24, Eugene Grosbein wrote:
> EG>> I really need quick method to obtain SNMP index within mpd55 code
> EG>> (for my local mpd hacks) and if_nametoindex() used to seem nice way...
> EG>> I need to export indexes via mpd's web interface so that they may be
> EG>> checked remotely using SNMP.
> EG>
> EG>Still wondering how to get SNMP index without way too slow walking ifTable over...
> 
> We could implement a private table which maps sysindex -> ifIndex. That 
> would then require one GET before accessing ifTable.

That would be nice :-)
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic