Subject: Re: changing traffic counters to quad_t (long long)
To: None <tech-net@NetBSD.ORG>
From: Christoph Badura <bad@ora.de>
List: tech-net
Date: 03/24/1998 16:13:14
fair@clock.org (Erik E. Fair  , Timekeeper) writes:

>Has anyone ever proposed sticking #ifdef's around the metering code
>to be able to turn it off for even more efficiency?

I'd guess so.

>Does one or more of the SNMP MIBs define some of these counters to
>be only 32 bits?

Uhm, by default *all* SNMP counters are 32 bits.

Since you have to have the code to detect counter overflow anyway, I'm not
sure this buys you much.
-- 
Christoph Badura

Now available in print: Lion's Commentary on UNIX 6th Edition, with Source Code
			http://www.peer-to-peer.com/