/usr/include/net-snmp/system/freebsd.h is in libsnmp-dev 5.7.2~dfsg-8.1ubuntu3.
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 | #include "bsd.h"
#define CHECK_RT_FLAGS 1
/*
* udp_inpcb list symbol
*/
#undef INP_NEXT_SYMBOL
#define INP_NEXT_SYMBOL inp_list.le_next
#undef INP_PREV_SYMBOL
#define INP_PREV_SYMBOL inp_list.le_prev
#undef TCP_TTL_SYMBOL
#define TCP_TTL_SYMBOL "ip_defttl"
#ifdef _PATH_UTMP
#define UTMP_FILE _PATH_UTMP
#else
#define UTMP_FILE "/var/run/utmp"
#endif
#define UDP_ADDRESSES_IN_HOST_ORDER 1
/* define the extra mib modules that are supported */
#define NETSNMP_INCLUDE_HOST_RESOURCES
#define NETSNMP_INCLUDE_IFTABLE_REWRITES
|