zsys_freebsd_arm.go 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. // Created by cgo -godefs - DO NOT EDIT
  2. // cgo -godefs defs_freebsd.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_IFMALIST = 0x4
  14. sysNET_RT_IFLISTL = 0x5
  15. )
  16. const (
  17. sysCTL_MAXNAME = 0x18
  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. )
  29. const (
  30. sysRTM_VERSION = 0x5
  31. sysRTM_ADD = 0x1
  32. sysRTM_DELETE = 0x2
  33. sysRTM_CHANGE = 0x3
  34. sysRTM_GET = 0x4
  35. sysRTM_LOSING = 0x5
  36. sysRTM_REDIRECT = 0x6
  37. sysRTM_MISS = 0x7
  38. sysRTM_LOCK = 0x8
  39. sysRTM_RESOLVE = 0xb
  40. sysRTM_NEWADDR = 0xc
  41. sysRTM_DELADDR = 0xd
  42. sysRTM_IFINFO = 0xe
  43. sysRTM_NEWMADDR = 0xf
  44. sysRTM_DELMADDR = 0x10
  45. sysRTM_IFANNOUNCE = 0x11
  46. sysRTM_IEEE80211 = 0x12
  47. sysRTA_DST = 0x1
  48. sysRTA_GATEWAY = 0x2
  49. sysRTA_NETMASK = 0x4
  50. sysRTA_GENMASK = 0x8
  51. sysRTA_IFP = 0x10
  52. sysRTA_IFA = 0x20
  53. sysRTA_AUTHOR = 0x40
  54. sysRTA_BRD = 0x80
  55. sysRTAX_DST = 0x0
  56. sysRTAX_GATEWAY = 0x1
  57. sysRTAX_NETMASK = 0x2
  58. sysRTAX_GENMASK = 0x3
  59. sysRTAX_IFP = 0x4
  60. sysRTAX_IFA = 0x5
  61. sysRTAX_AUTHOR = 0x6
  62. sysRTAX_BRD = 0x7
  63. sysRTAX_MAX = 0x8
  64. )
  65. const (
  66. sizeofIfMsghdrlFreeBSD10 = 0x68
  67. sizeofIfaMsghdrFreeBSD10 = 0x14
  68. sizeofIfaMsghdrlFreeBSD10 = 0x6c
  69. sizeofIfmaMsghdrFreeBSD10 = 0x10
  70. sizeofIfAnnouncemsghdrFreeBSD10 = 0x18
  71. sizeofRtMsghdrFreeBSD10 = 0x5c
  72. sizeofRtMetricsFreeBSD10 = 0x38
  73. sizeofIfMsghdrFreeBSD7 = 0x70
  74. sizeofIfMsghdrFreeBSD8 = 0x70
  75. sizeofIfMsghdrFreeBSD9 = 0x70
  76. sizeofIfMsghdrFreeBSD10 = 0x70
  77. sizeofIfMsghdrFreeBSD11 = 0xa8
  78. sizeofIfDataFreeBSD7 = 0x60
  79. sizeofIfDataFreeBSD8 = 0x60
  80. sizeofIfDataFreeBSD9 = 0x60
  81. sizeofIfDataFreeBSD10 = 0x60
  82. sizeofIfDataFreeBSD11 = 0x98
  83. sizeofIfMsghdrlFreeBSD10Emu = 0x68
  84. sizeofIfaMsghdrFreeBSD10Emu = 0x14
  85. sizeofIfaMsghdrlFreeBSD10Emu = 0x6c
  86. sizeofIfmaMsghdrFreeBSD10Emu = 0x10
  87. sizeofIfAnnouncemsghdrFreeBSD10Emu = 0x18
  88. sizeofRtMsghdrFreeBSD10Emu = 0x5c
  89. sizeofRtMetricsFreeBSD10Emu = 0x38
  90. sizeofIfMsghdrFreeBSD7Emu = 0x70
  91. sizeofIfMsghdrFreeBSD8Emu = 0x70
  92. sizeofIfMsghdrFreeBSD9Emu = 0x70
  93. sizeofIfMsghdrFreeBSD10Emu = 0x70
  94. sizeofIfMsghdrFreeBSD11Emu = 0xa8
  95. sizeofIfDataFreeBSD7Emu = 0x60
  96. sizeofIfDataFreeBSD8Emu = 0x60
  97. sizeofIfDataFreeBSD9Emu = 0x60
  98. sizeofIfDataFreeBSD10Emu = 0x60
  99. sizeofIfDataFreeBSD11Emu = 0x98
  100. )