Title: RE: COUNTER64 Error

Dave,
    IN the "struct counter64" it has two value low and high as attributes. Is there any example code which comes with net-snmp src package which i can refer.


Rgards,
Sasikumar.



-----Original Message-----
From: Dave Shield [mailto:[EMAIL PROTECTED]]
Sent: Tue 2/14/2006 5:43 PM
To: Sasikumar Bodathula (WT01 - Broadband Networks)
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: COUNTER64 Error

On Tue, 2006-02-14 at 16:49 +0530, [EMAIL PROTECTED] wrote:
> Hi All,
>     I am using ASN_COUNTER64 as type in the function
> 'snmp_set_var_typed_value' the value is of type
>  "unsigned long long int"

No - it doesn't work that way.
The ASN_COUNTER64 type requires a "struct counter64" value,
not a long long (or similar).

Dave

Reply via email to