Re: SNMP STATs question

From: David S. Miller (
Date: Fri Mar 07 2003 - 18:37:39 EST

   From: "Randy.Dunlap" <>
   Date: Fri, 7 Mar 2003 14:55:22 -0800
   In include/net/snmp.h, I see:
   ///// NOTE: these first 2 #defines are not used anywhere.
   #define SNMP_STAT_USRPTR(name) (name[0])
   #define SNMP_STAT_BHPTR(name) (name[1])
   so it looks like BH => [1], USR => [0].
   However, these appear to be the opposite of that (and we are safe
   since the ones above aren't used)...
   Or do I just have my head on backwards today?

Unless you see your ass when you look down, I think you should
be ok :-))))))

More seriously, these SNMP_STAT_{USR,BH}PTR() macros appear
to be in error, as you have observed.
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to
More majordomo info at

This archive was generated by hypermail 2b29 : Fri Mar 07 2003 - 22:00:02 EST