Hi All,
I am using net-snmp 5.4. While using ASN_COUNTER64 as a datatype in
snmp_set_var_typed_value()
Function browser is not displaying any output for that particular
column. Following is the code snippet.
long value = 1234;
struct counter64 counter;
counter.high = ((value >> 32) & 0xffff);
counter.low = ((value) & 0xffff);
snmp_set_var_typed_value(var, ASN_COUNTER64, (const u_char*)&counter,
sizeof(counter));
Could any one tell what is wrong with the code
Thanks,
Shardul kumar
DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended
for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates.
Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the
opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of
this message without the prior written consent of the author of this e-mail is
strictly prohibited. If you have
received this email in error please delete it and notify the sender
immediately. Before opening any mail and
attachments please check them for viruses and defect.
-----------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------
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