solaris.h 840 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #include "sysv.h"
  2. #undef bsdlike
  3. #undef IP_FORWARDING_SYMBOL
  4. #undef ICMPSTAT_SYMBOL
  5. #undef TCPSTAT_SYMBOL
  6. #undef TCP_SYMBOL
  7. #undef UDPSTAT_SYMBOL
  8. #undef UDB_SYMBOL
  9. #undef RTTABLES_SYMBOL
  10. #undef RTHASHSIZE_SYMBOL
  11. #undef RTHOST_SYMBOL
  12. #undef RTNET_SYMBOL
  13. #undef IPSTAT_SYMBOL
  14. #undef TCP_TTL_SYMBOL
  15. #undef PROC_SYMBOL
  16. #undef TOTAL_MEMORY_SYMBOL
  17. #undef MBSTAT_SYMBOL
  18. #define UDP_ADDRESSES_IN_HOST_ORDER 1
  19. #define UDP_PORTS_IN_HOST_ORDER 1
  20. #define TCP_PORTS_IN_HOST_ORDER 1
  21. /* define the extra mib modules that are supported */
  22. #define NETSNMP_INCLUDE_HOST_RESOURCES
  23. /* Solaris 2.6+ */
  24. #define _SLASH_PROC_METHOD_ 1
  25. /* Solaris 7+ */
  26. #define NETSNMP_DONT_USE_NLIST 1
  27. /*
  28. * NEW_MIB_COMPLIANT is a define used in Solaris 10U4+ to enable additional
  29. * MIB information (it affects the structs in <inet/mib2.h>)
  30. */
  31. #define NEW_MIB_COMPLIANT