> Currently , I am trying to implement the counter64 objects in ifXTable

Just to check - you do know that there is already an implementation
of the ifXTable in the current CVS code ?
(It's part of a long-overdue re-working of the whole IF-MIB code)


> Inside the IFHCINOCTETS case statement I retrieved the value through
> ioctl calls and storing the value in "unsigned long long" type in linux

Also note that Counter64 values should be stored as a "struct counter64"
variable.

But you're probably much better off looking at the existing
implementation, rather than trying to duplicate this yourself.

Dave



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to