Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jan 2011 01:08:39 +0600
From:      Eugene Grosbein <egrosbein@rdtc.ru>
To:        Harti Brandt <harti@freebsd.org>
Cc:        Harti Brandt <hartmut.brandt@dlr.de>, "net@freebsd.org" <net@freebsd.org>
Subject:   Re: bsnmpd: ifTable and if_nametoindex() inconsistency
Message-ID:  <4D3DCE37.1060808@rdtc.ru>
In-Reply-To: <20110124142837.R47002@beagle.kn.op.dlr.de>
References:  <4D3B20C0.8090907@rdtc.ru> <4D3B255E.1000709@rdtc.ru> <20110124142837.R47002@beagle.kn.op.dlr.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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 :-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D3DCE37.1060808>