/usr/include/net-snmp/system/netbsd.h is in libsnmp-dev 5.4.3~dfsg-2.8+deb7u1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | #include "bsd.h"
#include <sys/param.h>
#define PCB_TABLE 1
#undef TCP_SYMBOL
#define TCP_SYMBOL "tcbtable"
#undef TCP_TTL_SYMBOL
#define TCP_TTL_SYMBOL "ip_defttl"
#undef UDB_SYMBOL
#define UDB_SYMBOL "udbtable"
#undef NPROC_SYMBOL
#undef PROC_SYMBOL
#define MBPOOL_SYMBOL "mbpool"
#define MCLPOOL_SYMBOL "mclpool"
/*
* inp_next symbol
*/
#undef INP_NEXT_SYMBOL
#define INP_NEXT_SYMBOL inp_queue.cqe_next
#undef INP_PREV_SYMBOL
#define INP_PREV_SYMBOL inp_queue.cqe_prev
#define HAVE_INPCBTABLE 1
#if __NetBSD_Version__ >= 106300000 /* NetBSD 1.6ZD */
#undef IFADDR_SYMBOL
#define IFADDR_SYMBOL "in_ifaddrhead"
#undef TOTAL_MEMORY_SYMBOL
#endif
#define UTMP_FILE _PATH_UTMP
#define UDP_ADDRESSES_IN_HOST_ORDER 1
#ifndef netbsd1
# define netbsd1 netbsd1
#endif
/* define the extra mib modules that are supported */
#define NETSNMP_INCLUDE_HOST_RESOURCES
|