> From: lucky goyal [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, November 06, 2008 2:53 AM

> But I need to define an object of "Unsigned64" type with 
> read-write access. I did not find any SYNTAX notation other 
> than "Counter64" which serves this purpose. Kindly let me 
> know if there is any other  standard SYNTAX notation which I 
> can use to represent an object of unsigned 64-bit type with 
> read-write access.

        Don't jam a square peg into a round hole.  Counter64 objects have a 
defined syntax, which is why they are never to be settable.  These are the only 
64 bit objects available, but you can always construct an unsigned 64 bit value 
out of 2 32 bit unsigned values, specifying one to be the lower bits and the 
other to be the upper bits.  You must guarantee that reads and writes are 
simultaneous for the two within an SNMP operation, or bad things will happen.  
Another alternative is to use OCTET STRING (SIZE (0..7)).  Neither allows basic 
tools such as snmpget to display the value, BTW.


        HTH,

Mike

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to