errors_freebsd_arm.go 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. // Copyright 2017 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. package unix
  5. const (
  6. IFT_1822 = 0x2
  7. IFT_A12MPPSWITCH = 0x82
  8. IFT_AAL2 = 0xbb
  9. IFT_AAL5 = 0x31
  10. IFT_ADSL = 0x5e
  11. IFT_AFLANE8023 = 0x3b
  12. IFT_AFLANE8025 = 0x3c
  13. IFT_ARAP = 0x58
  14. IFT_ARCNET = 0x23
  15. IFT_ARCNETPLUS = 0x24
  16. IFT_ASYNC = 0x54
  17. IFT_ATM = 0x25
  18. IFT_ATMDXI = 0x69
  19. IFT_ATMFUNI = 0x6a
  20. IFT_ATMIMA = 0x6b
  21. IFT_ATMLOGICAL = 0x50
  22. IFT_ATMRADIO = 0xbd
  23. IFT_ATMSUBINTERFACE = 0x86
  24. IFT_ATMVCIENDPT = 0xc2
  25. IFT_ATMVIRTUAL = 0x95
  26. IFT_BGPPOLICYACCOUNTING = 0xa2
  27. IFT_BSC = 0x53
  28. IFT_CCTEMUL = 0x3d
  29. IFT_CEPT = 0x13
  30. IFT_CES = 0x85
  31. IFT_CHANNEL = 0x46
  32. IFT_CNR = 0x55
  33. IFT_COFFEE = 0x84
  34. IFT_COMPOSITELINK = 0x9b
  35. IFT_DCN = 0x8d
  36. IFT_DIGITALPOWERLINE = 0x8a
  37. IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
  38. IFT_DLSW = 0x4a
  39. IFT_DOCSCABLEDOWNSTREAM = 0x80
  40. IFT_DOCSCABLEMACLAYER = 0x7f
  41. IFT_DOCSCABLEUPSTREAM = 0x81
  42. IFT_DS0 = 0x51
  43. IFT_DS0BUNDLE = 0x52
  44. IFT_DS1FDL = 0xaa
  45. IFT_DS3 = 0x1e
  46. IFT_DTM = 0x8c
  47. IFT_DVBASILN = 0xac
  48. IFT_DVBASIOUT = 0xad
  49. IFT_DVBRCCDOWNSTREAM = 0x93
  50. IFT_DVBRCCMACLAYER = 0x92
  51. IFT_DVBRCCUPSTREAM = 0x94
  52. IFT_ENC = 0xf4
  53. IFT_EON = 0x19
  54. IFT_EPLRS = 0x57
  55. IFT_ESCON = 0x49
  56. IFT_ETHER = 0x6
  57. IFT_FAST = 0x7d
  58. IFT_FASTETHER = 0x3e
  59. IFT_FASTETHERFX = 0x45
  60. IFT_FDDI = 0xf
  61. IFT_FIBRECHANNEL = 0x38
  62. IFT_FRAMERELAYINTERCONNECT = 0x3a
  63. IFT_FRAMERELAYMPI = 0x5c
  64. IFT_FRDLCIENDPT = 0xc1
  65. IFT_FRELAY = 0x20
  66. IFT_FRELAYDCE = 0x2c
  67. IFT_FRF16MFRBUNDLE = 0xa3
  68. IFT_FRFORWARD = 0x9e
  69. IFT_G703AT2MB = 0x43
  70. IFT_G703AT64K = 0x42
  71. IFT_GIF = 0xf0
  72. IFT_GIGABITETHERNET = 0x75
  73. IFT_GR303IDT = 0xb2
  74. IFT_GR303RDT = 0xb1
  75. IFT_H323GATEKEEPER = 0xa4
  76. IFT_H323PROXY = 0xa5
  77. IFT_HDH1822 = 0x3
  78. IFT_HDLC = 0x76
  79. IFT_HDSL2 = 0xa8
  80. IFT_HIPERLAN2 = 0xb7
  81. IFT_HIPPI = 0x2f
  82. IFT_HIPPIINTERFACE = 0x39
  83. IFT_HOSTPAD = 0x5a
  84. IFT_HSSI = 0x2e
  85. IFT_HY = 0xe
  86. IFT_IBM370PARCHAN = 0x48
  87. IFT_IDSL = 0x9a
  88. IFT_IEEE80211 = 0x47
  89. IFT_IEEE80212 = 0x37
  90. IFT_IEEE8023ADLAG = 0xa1
  91. IFT_IFGSN = 0x91
  92. IFT_IMT = 0xbe
  93. IFT_INTERLEAVE = 0x7c
  94. IFT_IP = 0x7e
  95. IFT_IPFORWARD = 0x8e
  96. IFT_IPOVERATM = 0x72
  97. IFT_IPOVERCDLC = 0x6d
  98. IFT_IPOVERCLAW = 0x6e
  99. IFT_IPSWITCH = 0x4e
  100. IFT_ISDN = 0x3f
  101. IFT_ISDNBASIC = 0x14
  102. IFT_ISDNPRIMARY = 0x15
  103. IFT_ISDNS = 0x4b
  104. IFT_ISDNU = 0x4c
  105. IFT_ISO88022LLC = 0x29
  106. IFT_ISO88023 = 0x7
  107. IFT_ISO88024 = 0x8
  108. IFT_ISO88025 = 0x9
  109. IFT_ISO88025CRFPINT = 0x62
  110. IFT_ISO88025DTR = 0x56
  111. IFT_ISO88025FIBER = 0x73
  112. IFT_ISO88026 = 0xa
  113. IFT_ISUP = 0xb3
  114. IFT_L3IPXVLAN = 0x89
  115. IFT_LAPB = 0x10
  116. IFT_LAPD = 0x4d
  117. IFT_LAPF = 0x77
  118. IFT_LOCALTALK = 0x2a
  119. IFT_LOOP = 0x18
  120. IFT_MEDIAMAILOVERIP = 0x8b
  121. IFT_MFSIGLINK = 0xa7
  122. IFT_MIOX25 = 0x26
  123. IFT_MODEM = 0x30
  124. IFT_MPC = 0x71
  125. IFT_MPLS = 0xa6
  126. IFT_MPLSTUNNEL = 0x96
  127. IFT_MSDSL = 0x8f
  128. IFT_MVL = 0xbf
  129. IFT_MYRINET = 0x63
  130. IFT_NFAS = 0xaf
  131. IFT_NSIP = 0x1b
  132. IFT_OPTICALCHANNEL = 0xc3
  133. IFT_OPTICALTRANSPORT = 0xc4
  134. IFT_OTHER = 0x1
  135. IFT_P10 = 0xc
  136. IFT_P80 = 0xd
  137. IFT_PARA = 0x22
  138. IFT_PFLOG = 0xf6
  139. IFT_PFSYNC = 0xf7
  140. IFT_PLC = 0xae
  141. IFT_POS = 0xab
  142. IFT_PPPMULTILINKBUNDLE = 0x6c
  143. IFT_PROPBWAP2MP = 0xb8
  144. IFT_PROPCNLS = 0x59
  145. IFT_PROPDOCSWIRELESSDOWNSTREAM = 0xb5
  146. IFT_PROPDOCSWIRELESSMACLAYER = 0xb4
  147. IFT_PROPDOCSWIRELESSUPSTREAM = 0xb6
  148. IFT_PROPMUX = 0x36
  149. IFT_PROPWIRELESSP2P = 0x9d
  150. IFT_PTPSERIAL = 0x16
  151. IFT_PVC = 0xf1
  152. IFT_QLLC = 0x44
  153. IFT_RADIOMAC = 0xbc
  154. IFT_RADSL = 0x5f
  155. IFT_REACHDSL = 0xc0
  156. IFT_RFC1483 = 0x9f
  157. IFT_RS232 = 0x21
  158. IFT_RSRB = 0x4f
  159. IFT_SDLC = 0x11
  160. IFT_SDSL = 0x60
  161. IFT_SHDSL = 0xa9
  162. IFT_SIP = 0x1f
  163. IFT_SLIP = 0x1c
  164. IFT_SMDSDXI = 0x2b
  165. IFT_SMDSICIP = 0x34
  166. IFT_SONET = 0x27
  167. IFT_SONETOVERHEADCHANNEL = 0xb9
  168. IFT_SONETPATH = 0x32
  169. IFT_SONETVT = 0x33
  170. IFT_SRP = 0x97
  171. IFT_SS7SIGLINK = 0x9c
  172. IFT_STACKTOSTACK = 0x6f
  173. IFT_STARLAN = 0xb
  174. IFT_STF = 0xd7
  175. IFT_T1 = 0x12
  176. IFT_TDLC = 0x74
  177. IFT_TERMPAD = 0x5b
  178. IFT_TR008 = 0xb0
  179. IFT_TRANSPHDLC = 0x7b
  180. IFT_TUNNEL = 0x83
  181. IFT_ULTRA = 0x1d
  182. IFT_USB = 0xa0
  183. IFT_V11 = 0x40
  184. IFT_V35 = 0x2d
  185. IFT_V36 = 0x41
  186. IFT_V37 = 0x78
  187. IFT_VDSL = 0x61
  188. IFT_VIRTUALIPADDRESS = 0x70
  189. IFT_VOICEEM = 0x64
  190. IFT_VOICEENCAP = 0x67
  191. IFT_VOICEFXO = 0x65
  192. IFT_VOICEFXS = 0x66
  193. IFT_VOICEOVERATM = 0x98
  194. IFT_VOICEOVERFRAMERELAY = 0x99
  195. IFT_VOICEOVERIP = 0x68
  196. IFT_X213 = 0x5d
  197. IFT_X25 = 0x5
  198. IFT_X25DDN = 0x4
  199. IFT_X25HUNTGROUP = 0x7a
  200. IFT_X25MLP = 0x79
  201. IFT_X25PLE = 0x28
  202. IFT_XETHER = 0x1a
  203. // missing constants on FreeBSD-11.1-RELEASE, copied from old values in ztypes_freebsd_arm.go
  204. IFF_SMART = 0x20
  205. IFT_FAITH = 0xf2
  206. IFT_IPXIP = 0xf9
  207. IPPROTO_MAXID = 0x34
  208. IPV6_FAITH = 0x1d
  209. IP_FAITH = 0x16
  210. MAP_NORESERVE = 0x40
  211. MAP_RENAME = 0x20
  212. NET_RT_MAXID = 0x6
  213. RTF_PRCLONING = 0x10000
  214. RTM_OLDADD = 0x9
  215. RTM_OLDDEL = 0xa
  216. SIOCADDRT = 0x8030720a
  217. SIOCALIFADDR = 0x8118691b
  218. SIOCDELRT = 0x8030720b
  219. SIOCDLIFADDR = 0x8118691d
  220. SIOCGLIFADDR = 0xc118691c
  221. SIOCGLIFPHYADDR = 0xc118694b
  222. SIOCSLIFPHYADDR = 0x8118694a
  223. )