diff options
Diffstat (limited to 'include/net-snmp/system/linux.h')
-rw-r--r-- | include/net-snmp/system/linux.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/net-snmp/system/linux.h b/include/net-snmp/system/linux.h new file mode 100644 index 0000000..65b3be1 --- /dev/null +++ b/include/net-snmp/system/linux.h @@ -0,0 +1,23 @@ +#include "sysv.h" + +#define NETSNMP_DONT_USE_NLIST 1 + +#undef NPROC_SYMBOL + +#undef bsdlike + +#define ARP_SCAN_FOUR_ARGUMENTS + +/* uncomment this to read process names from /proc/X/cmdline (like <= 5.0) */ +/* #define USE_PROC_CMDLINE */ + +/* + * red hat >= 5.0 doesn't have this + */ +#ifndef MNTTYPE_PROC +#define MNTTYPE_PROC "proc" +#endif + +/* define the extra mib modules that are supported */ +#define NETSNMP_INCLUDE_HOST_RESOURCES +#define NETSNMP_INCLUDE_IFTABLE_REWRITES |