Title: RE: COUNTER64 Error

Hi Dave,
      In case of counter 64 do we need to pass the counter64 structure as the one of the parameter to the function "snmp_set_var_typed_value" or is it otherway i.e unsigned long long value to it.

Rgards,
Sasikumar.



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

On Tue, 2006-02-14 at 20:08 +0530, [EMAIL PROTECTED] wrote:
> Thanks for ur inputs

> count.high = lval&0xffffffff00000000;

I'm very suspicious about this.
count.high should be a 32-bit value
(containing the upper-32 bits of the
full 64-bit value).

The code you show doesn't seem to do this.
I'm no 64-bit expert, but I'm not at all
convinced this is correct.

Hopefully someone more knowledgable than
me will chip in....

Dave

Reply via email to