I have my own mib, where the objects are defined to have SYNTAX as
Integer32. When I am trying to set the value of the object on a 64 bit
machine, the "requests" variable passed in the table_handler function
has requests->requestvb->val_len assigned as 8. I want to know why this
value is 8 and not 4. (sizeof(int) gives 4 on that machine)? Also, where
this value gets set by net-snmp?

Thanks,
Sachin

On Wed, 2006-08-23 at 14:55, Dave Shield wrote:
> On 22/08/06, Sachin Mishra <[EMAIL PROTECTED]> wrote:
> > Its difficult at this point to upgrade. I will like to know where
> > exactly this value(val_len) is filled. If someone can point to the
> > location in the code, that will be helpful.
> 
> Which module (and which object) are you talking about?
> 'val_len' is a parameter to the UCD v4-style module API, so it will be
> set individually for each different MIB object.   Some of the utility
> routines may set this to a default value, but it's quite common for
> particular MIB object implementations to reset it.
> 
> More details needed.
> 
> Dave


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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