tcpdump mailing list archives
Re: [PATCH] ifSpeed in sFlow is 64 bits not 32
From: Guy Harris <guy () alum mit edu>
Date: Thu, 2 Jun 2011 10:57:52 -0700
On May 27, 2011, at 5:59 PM, Rick Jones wrote:
The ifSpeed field of a generic interface counter in sFlow is 64 bits. The "overlay" definition in print-sflow.c is correct, but the actual extract for printing is using EXTRACT_32BITS rather than EXTRACT_64BITS, which leads to an incorrect report for speed.
Checked into the trunk and 4.2 branches (with a fix to the format string to use PRIu64). - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
Current thread:
- [PATCH] ifSpeed in sFlow is 64 bits not 32 Rick Jones (May 27)
- Re: [PATCH] ifSpeed in sFlow is 64 bits not 32 Guy Harris (Jun 02)
- Re: [PATCH] ifSpeed in sFlow is 64 bits not 32 Rick Jones (Jun 02)
- Re: [PATCH] ifSpeed in sFlow is 64 bits not 32 Guy Harris (Jun 02)
- Re: [PATCH] ifSpeed in sFlow is 64 bits not 32 Rick Jones (Jun 02)
- Re: [PATCH] ifSpeed in sFlow is 64 bits not 32 Guy Harris (Jun 02)