zsys_freebsd_arm64.go 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. // Code generated by cmd/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. sysSOCK_RAW = 0x3
  11. sysNET_RT_DUMP = 0x1
  12. sysNET_RT_FLAGS = 0x2
  13. sysNET_RT_IFLIST = 0x3
  14. sysNET_RT_IFMALIST = 0x4
  15. sysNET_RT_IFLISTL = 0x5
  16. )
  17. const (
  18. sysCTL_MAXNAME = 0x18
  19. sysCTL_UNSPEC = 0x0
  20. sysCTL_KERN = 0x1
  21. sysCTL_VM = 0x2
  22. sysCTL_VFS = 0x3
  23. sysCTL_NET = 0x4
  24. sysCTL_DEBUG = 0x5
  25. sysCTL_HW = 0x6
  26. sysCTL_MACHDEP = 0x7
  27. sysCTL_USER = 0x8
  28. sysCTL_P1003_1B = 0x9
  29. )
  30. const (
  31. sysRTM_VERSION = 0x5
  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_RESOLVE = 0xb
  41. sysRTM_NEWADDR = 0xc
  42. sysRTM_DELADDR = 0xd
  43. sysRTM_IFINFO = 0xe
  44. sysRTM_NEWMADDR = 0xf
  45. sysRTM_DELMADDR = 0x10
  46. sysRTM_IFANNOUNCE = 0x11
  47. sysRTM_IEEE80211 = 0x12
  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. sysRTAX_DST = 0x0
  57. sysRTAX_GATEWAY = 0x1
  58. sysRTAX_NETMASK = 0x2
  59. sysRTAX_GENMASK = 0x3
  60. sysRTAX_IFP = 0x4
  61. sysRTAX_IFA = 0x5
  62. sysRTAX_AUTHOR = 0x6
  63. sysRTAX_BRD = 0x7
  64. sysRTAX_MAX = 0x8
  65. )
  66. const (
  67. sizeofIfMsghdrlFreeBSD10 = 0xb0
  68. sizeofIfaMsghdrFreeBSD10 = 0x14
  69. sizeofIfaMsghdrlFreeBSD10 = 0xb0
  70. sizeofIfmaMsghdrFreeBSD10 = 0x10
  71. sizeofIfAnnouncemsghdrFreeBSD10 = 0x18
  72. sizeofRtMsghdrFreeBSD10 = 0x98
  73. sizeofRtMetricsFreeBSD10 = 0x70
  74. sizeofIfMsghdrFreeBSD7 = 0xa8
  75. sizeofIfMsghdrFreeBSD8 = 0xa8
  76. sizeofIfMsghdrFreeBSD9 = 0xa8
  77. sizeofIfMsghdrFreeBSD10 = 0xa8
  78. sizeofIfMsghdrFreeBSD11 = 0xa8
  79. sizeofIfDataFreeBSD7 = 0x98
  80. sizeofIfDataFreeBSD8 = 0x98
  81. sizeofIfDataFreeBSD9 = 0x98
  82. sizeofIfDataFreeBSD10 = 0x98
  83. sizeofIfDataFreeBSD11 = 0x98
  84. sizeofIfMsghdrlFreeBSD10Emu = 0xb0
  85. sizeofIfaMsghdrFreeBSD10Emu = 0x14
  86. sizeofIfaMsghdrlFreeBSD10Emu = 0xb0
  87. sizeofIfmaMsghdrFreeBSD10Emu = 0x10
  88. sizeofIfAnnouncemsghdrFreeBSD10Emu = 0x18
  89. sizeofRtMsghdrFreeBSD10Emu = 0x98
  90. sizeofRtMetricsFreeBSD10Emu = 0x70
  91. sizeofIfMsghdrFreeBSD7Emu = 0xa8
  92. sizeofIfMsghdrFreeBSD8Emu = 0xa8
  93. sizeofIfMsghdrFreeBSD9Emu = 0xa8
  94. sizeofIfMsghdrFreeBSD10Emu = 0xa8
  95. sizeofIfMsghdrFreeBSD11Emu = 0xa8
  96. sizeofIfDataFreeBSD7Emu = 0x98
  97. sizeofIfDataFreeBSD8Emu = 0x98
  98. sizeofIfDataFreeBSD9Emu = 0x98
  99. sizeofIfDataFreeBSD10Emu = 0x98
  100. sizeofIfDataFreeBSD11Emu = 0x98
  101. sizeofSockaddrStorage = 0x80
  102. sizeofSockaddrInet = 0x10
  103. sizeofSockaddrInet6 = 0x1c
  104. )