generic.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. #ifndef __NET_SNMP_SYSTEM_GENERIC_H__
  2. #define __NET_SNMP_SYSTEM_GENERIC_H__
  3. #define bsdlike bsdlike
  4. /*
  5. * nlist symbols in ip.c
  6. */
  7. #define IPSTAT_SYMBOL "ipstat"
  8. #define IP_FORWARDING_SYMBOL "ipforwarding"
  9. #define TCP_TTL_SYMBOL "tcpDefaultTTL"
  10. /*
  11. * nlist symbols in interfaces.c
  12. */
  13. #define IFNET_SYMBOL "ifnet"
  14. #define IFADDR_SYMBOL "in_ifaddr"
  15. /*
  16. * load average lookup symbol
  17. */
  18. #define LOADAVE_SYMBOL "avenrun"
  19. /*
  20. * nlist symbols in hr_proc.c and memory.c
  21. */
  22. #define PHYSMEM_SYMBOL "physmem"
  23. #define TOTAL_MEMORY_SYMBOL "total"
  24. #define MBSTAT_SYMBOL "mbstat"
  25. #define SWDEVT_SYMBOL "swdevt"
  26. #define FSWDEVT_SYMBOL "fswdevt"
  27. #define NSWAPFS_SYMBOL "nswapfs"
  28. #define NSWAPDEV_SYMBOL "nswapdev"
  29. /*
  30. * process nlist symbols.
  31. */
  32. #define NPROC_SYMBOL "nproc"
  33. #define PROC_SYMBOL "proc"
  34. /*
  35. * icmp.c nlist symbols
  36. */
  37. #define ICMPSTAT_SYMBOL "icmpstat"
  38. /*
  39. * tcp.c nlist symbols
  40. */
  41. #define TCPSTAT_SYMBOL "tcpstat"
  42. #define TCP_SYMBOL "tcb"
  43. /*
  44. * upd.c nlist symbols
  45. */
  46. #define UDPSTAT_SYMBOL "udpstat"
  47. #define UDB_SYMBOL "udb"
  48. /*
  49. * var_route.c nlist symbols
  50. */
  51. #define RTTABLES_SYMBOL "rt_table"
  52. #define RTHASHSIZE_SYMBOL "rthashsize"
  53. #define RTHOST_SYMBOL "rthost"
  54. #define RTNET_SYMBOL "rtnet"
  55. /*
  56. * udp_inpcb list symbol
  57. */
  58. #define INP_NEXT_SYMBOL inp_next
  59. #define INP_PREV_SYMBOL inp_prev
  60. #endif /* !__NET_SNMP_SYSTEM_GENERIC_H__ */