errors_freebsd_amd64.go 9.2 KB

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