zsys_openbsd.go 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. // Created by cgo -godefs - DO NOT EDIT
  2. // cgo -godefs defs_openbsd.go
  3. package route
  4. const (
  5. sysAF_UNSPEC = 0x0
  6. sysAF_INET = 0x2
  7. sysAF_ROUTE = 0x11
  8. sysAF_LINK = 0x12
  9. sysAF_INET6 = 0x18
  10. sysNET_RT_DUMP = 0x1
  11. sysNET_RT_FLAGS = 0x2
  12. sysNET_RT_IFLIST = 0x3
  13. sysNET_RT_STATS = 0x4
  14. sysNET_RT_TABLE = 0x5
  15. sysNET_RT_IFNAMES = 0x6
  16. sysNET_RT_MAXID = 0x7
  17. )
  18. const (
  19. sysCTL_MAXNAME = 0xc
  20. sysCTL_UNSPEC = 0x0
  21. sysCTL_KERN = 0x1
  22. sysCTL_VM = 0x2
  23. sysCTL_FS = 0x3
  24. sysCTL_NET = 0x4
  25. sysCTL_DEBUG = 0x5
  26. sysCTL_HW = 0x6
  27. sysCTL_MACHDEP = 0x7
  28. sysCTL_DDB = 0x9
  29. sysCTL_VFS = 0xa
  30. sysCTL_MAXID = 0xb
  31. )
  32. const (
  33. sysRTM_VERSION = 0x5
  34. sysRTM_ADD = 0x1
  35. sysRTM_DELETE = 0x2
  36. sysRTM_CHANGE = 0x3
  37. sysRTM_GET = 0x4
  38. sysRTM_LOSING = 0x5
  39. sysRTM_REDIRECT = 0x6
  40. sysRTM_MISS = 0x7
  41. sysRTM_LOCK = 0x8
  42. sysRTM_RESOLVE = 0xb
  43. sysRTM_NEWADDR = 0xc
  44. sysRTM_DELADDR = 0xd
  45. sysRTM_IFINFO = 0xe
  46. sysRTM_IFANNOUNCE = 0xf
  47. sysRTM_DESYNC = 0x10
  48. sysRTA_DST = 0x1
  49. sysRTA_GATEWAY = 0x2
  50. sysRTA_NETMASK = 0x4
  51. sysRTA_GENMASK = 0x8
  52. sysRTA_IFP = 0x10
  53. sysRTA_IFA = 0x20
  54. sysRTA_AUTHOR = 0x40
  55. sysRTA_BRD = 0x80
  56. sysRTA_SRC = 0x100
  57. sysRTA_SRCMASK = 0x200
  58. sysRTA_LABEL = 0x400
  59. sysRTAX_DST = 0x0
  60. sysRTAX_GATEWAY = 0x1
  61. sysRTAX_NETMASK = 0x2
  62. sysRTAX_GENMASK = 0x3
  63. sysRTAX_IFP = 0x4
  64. sysRTAX_IFA = 0x5
  65. sysRTAX_AUTHOR = 0x6
  66. sysRTAX_BRD = 0x7
  67. sysRTAX_SRC = 0x8
  68. sysRTAX_SRCMASK = 0x9
  69. sysRTAX_LABEL = 0xa
  70. sysRTAX_MAX = 0xb
  71. )