COUNTER64 handling

"umesh_waghode" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

 

Following does not work with  snmp_set_var_typed_value on Windows.

    __int64        single64;
    struct counter64 two32s;
 
    two32s.high = (single64 >> 32) & 0xffff; 
    two32s.low  = (single64)       & 0xffff; 

 

I am basically trying to send ASN_COUNTER64 type of data as a response to
snmpget request. At the client side I get error message.

 

"Error in packet

Reason: (noSuchName) There is no such variable name in this MIB". For same
MIB if I send data with some other ASN type, then it works.

 

Appreciate any help with respect to this.

 

Regards,

Umesh


DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Pvt. Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Pvt. Ltd. does not accept any liability for virus infected mails.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.