zsys_dragonfly.go 2.0 KB

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