Ethereal-users: Re: [Ethereal-users] snmp asn1 counter64

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Breen Mullins <bmullins@xxxxxxxxxx>
Date: 14 Apr 2003 07:58:29 -0700
On Mon, 2003-04-14 at 00:33, markus.carlstedt@xxxxxxxxx wrote:
> Hi all
> 
> Does anyone know why the SNMP_COUNTER64 type
> has to be 8 bytes in length? See code below
> taken from "packet-snmp.c"
> 
> I cannot find this requirement in the SNMP RFCs.
> I thought the ASN1 code only took up the space
> it needed.

Table A-4 in Dave Perkins' _Understanding_SNMP_MIBs_ states
that the minimum encoded length is 1 and the maximum 9 bytes.
(Or 3 to 11 for the entire TLV tuple.)

Breen
-- 
Breen Mullins
SQA Engineer
Asante Technologies, Inc.
800-622-9686x323
<bmullins@xxxxxxxxxx>