zsys_dragonfly.go 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. // Created by cgo -godefs - DO NOT EDIT
  2. // cgo -godefs defs_dragonfly.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 = 0x1c
  10. sysNET_RT_DUMP = 0x1
  11. sysNET_RT_FLAGS = 0x2
  12. sysNET_RT_IFLIST = 0x3
  13. sysNET_RT_MAXID = 0x4
  14. )
  15. const (
  16. sysCTL_MAXNAME = 0xc
  17. sysCTL_UNSPEC = 0x0
  18. sysCTL_KERN = 0x1
  19. sysCTL_VM = 0x2
  20. sysCTL_VFS = 0x3
  21. sysCTL_NET = 0x4
  22. sysCTL_DEBUG = 0x5
  23. sysCTL_HW = 0x6
  24. sysCTL_MACHDEP = 0x7
  25. sysCTL_USER = 0x8
  26. sysCTL_P1003_1B = 0x9
  27. sysCTL_LWKT = 0xa
  28. sysCTL_MAXID = 0xb
  29. )
  30. const (
  31. sysRTM_VERSION = 0x6
  32. sysRTM_ADD = 0x1
  33. sysRTM_DELETE = 0x2
  34. sysRTM_CHANGE = 0x3
  35. sysRTM_GET = 0x4
  36. sysRTM_LOSING = 0x5
  37. sysRTM_REDIRECT = 0x6
  38. sysRTM_MISS = 0x7
  39. sysRTM_LOCK = 0x8
  40. sysRTM_OLDADD = 0x9
  41. sysRTM_OLDDEL = 0xa
  42. sysRTM_RESOLVE = 0xb
  43. sysRTM_NEWADDR = 0xc
  44. sysRTM_DELADDR = 0xd
  45. sysRTM_IFINFO = 0xe
  46. sysRTM_NEWMADDR = 0xf
  47. sysRTM_DELMADDR = 0x10
  48. sysRTM_IFANNOUNCE = 0x11
  49. sysRTM_IEEE80211 = 0x12
  50. sysRTA_DST = 0x1
  51. sysRTA_GATEWAY = 0x2
  52. sysRTA_NETMASK = 0x4
  53. sysRTA_GENMASK = 0x8
  54. sysRTA_IFP = 0x10
  55. sysRTA_IFA = 0x20
  56. sysRTA_AUTHOR = 0x40
  57. sysRTA_BRD = 0x80
  58. sysRTA_MPLS1 = 0x100
  59. sysRTA_MPLS2 = 0x200
  60. sysRTA_MPLS3 = 0x400
  61. sysRTAX_DST = 0x0
  62. sysRTAX_GATEWAY = 0x1
  63. sysRTAX_NETMASK = 0x2
  64. sysRTAX_GENMASK = 0x3
  65. sysRTAX_IFP = 0x4
  66. sysRTAX_IFA = 0x5
  67. sysRTAX_AUTHOR = 0x6
  68. sysRTAX_BRD = 0x7
  69. sysRTAX_MPLS1 = 0x8
  70. sysRTAX_MPLS2 = 0x9
  71. sysRTAX_MPLS3 = 0xa
  72. sysRTAX_MAX = 0xb
  73. )
  74. const (
  75. sizeofIfMsghdrDragonFlyBSD4 = 0xb0
  76. sizeofIfaMsghdrDragonFlyBSD4 = 0x14
  77. sizeofIfmaMsghdrDragonFlyBSD4 = 0x10
  78. sizeofIfAnnouncemsghdrDragonFlyBSD4 = 0x18
  79. sizeofRtMsghdrDragonFlyBSD4 = 0x98
  80. sizeofRtMetricsDragonFlyBSD4 = 0x70
  81. )