Thread (18 messages) 18 messages, 4 authors, 2004-01-15

Re: [PATCH]snmp6 64-bit counter support in proc.c

From: David S. Miller <hidden>
Date: 2003-12-05 20:31:33

On Fri, 5 Dec 2003 12:14:47 -0800
Shirley Ma [off-list ref] wrote:
I add this because there are some 64-bit counters in the new IPv6 MIBs. 
This patch has been tested agaist linux-2.6.0-test9, and cleanly applied to 
linux-2.6.0-test11.
"sizeof(unsigned long)" evaluates to 8 on 64-bit systems,
yet you assume it always evaluated to 4 as on 32-bit systems.

Maybe it would be wiser to explicitly use 'u32' and 'u64' for
the types of the snmp counters?

This has always been a sore area.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help