Re: encoding logic of Counter64 in ber format

2005-10-21 Thread Dave Shield
On Thu, 2005-10-20 at 19:21 -0700, mahua dutta wrote: > I am using one smux based sub-agent which connects to snmpd > (master agent) > If I change the data type to Counter64 , it does not work. No - it wouldn't. SMUX was defined in 1991, and was based on SNMPv1. Counter64 was introduced as par

Re: encoding logic of Counter64 in ber format

2005-10-21 Thread Dave Shield
On Thu, 2005-10-20 at 18:51 -0700, mahua dutta wrote: > In net-snmp source code , where can I find the encoding logics. snmplib/asn1.c > Specially how to encode Counter64 and Displaystring. Note that DisplayString is simply a particular type of OCTET STRING. There's no special encoding

Re: encoding logic of Counter64 in ber format

2005-10-20 Thread mahua dutta
In addition to this I have few more doubts. I am using one smux based sub-agent which connects to snmpd(master agent), It workis fine with Integer32 and Counter32 . This sub-agent can function only with Master-agent If I change the data type to Counter64 , it does not work. My doubt is , how this p