SNMP enums -- please help

2006-01-17 Thread Bik Mani
Hi,What do I need to get enums available at run time? I have a 32 bit data type (Bits) where each bit positioned is defined as an enum Bit00 .. Bit31I tried to pass names like Bit21, Bit22 and do a lookup at run time to get the corresponding value:oid *name;struct tree    *tp = get_tree(name, n

Manipulating fields with a 'Bits' SYNTAX

2006-01-10 Thread Bik Mani
Hi,I am having trouble setting a bit field.  userIdType is defined as SYNTAX BITS (32 bits, Bit00 to Bit31).I tried setting $value to:'1,2,3',0xFC00and tried other ways but I keep getting: "wrongValue (The set value is illegal or unsupported in some way)"Here is how I tried to set: my $vars

SNMP::_set -- where is it?

2006-01-10 Thread Bik Mani
Hello!I was debugging a Per script which is using SNMP::Session::setIt calls SNMP::_set which I having trouble locating?  Is this a routine  in a C source?  Where is it?   Appreciate your help.Thanks,-bik Yahoo! Photos Ring in the New Year with Photo Calendars. Add photos, events, holidays, what