On Fri, 20 Oct 2006 20:49:27 +0100 Dave wrote:
DS> > I have coded Counter64 variables using the 'struct counter64' and filling
DS> > its members high and low. I have passed the args for
DS> > snmp_set_var_typed_value as (u_char*) and the size as 8.
DS> 
DS> It's probably safer to use "sizeof(struct counter64)".
DS> That may well be 8, but better safe than sorry.

It will be 16 on 64bit platforms..

-------------------------------------------------------------------------
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-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to