mibble-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mibble-users] Getting information about InetAddress from Mibble Par


From: Per Cederberg
Subject: Re: [Mibble-users] Getting information about InetAddress from Mibble Parser
Date: Tue, 13 Oct 2015 21:30:53 -0700 (PDT)

Indeed there is a way:
http://www.mibble.org/doc/faq/api/index.html#Q7

Cheers,

/Per



On Wed, Oct 14, 2015 at 3:55 AM, mayuresh randive <address@hidden> wrote:

Hello All, 

I have been using Mibble-2.9.3 and was attempting to parse TCP-MIB.

Now while parsing the table tcpConnectionEntry table row , the index for that table is

INDEX   { tcpConnectionLocalAddressType,
              tcpConnectionLocalAddress,
              tcpConnectionLocalPort,
              tcpConnectionRemAddressType,
              tcpConnectionRemAddress,
              tcpConnectionRemPort }

Now tcpConnectionLocalAddress is of type InetAddress which is defined in rfc4001 Textual Conventions for Internet Network Addresses.

My question is how do I determine the InetAddress type for MibbleValueSymbol of such a variable.

When I try to find the tag for the object that mibble returns it gives [UNIVERSAL 4] OCTET STRING (SIZE (0..255)) which basically means the object is of type OCTET_STRING

I need  a way to determine that this object is of type InetAddress . Can the mibble parser help with this ?

--
Regards ,
Mayuresh


reply via email to

[Prev in Thread] Current Thread [Next in Thread]