RE: COUNTER64 Error

<[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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: [email protected]
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
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.