zerrors_netbsd_amd64.go 72 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763
  1. // mkerrors.sh -m64
  2. // Code generated by the command above; see README.md. DO NOT EDIT.
  3. // +build amd64,netbsd
  4. // Code generated by cmd/cgo -godefs; DO NOT EDIT.
  5. // cgo -godefs -- -m64 _const.go
  6. package unix
  7. import "syscall"
  8. const (
  9. AF_APPLETALK = 0x10
  10. AF_ARP = 0x1c
  11. AF_BLUETOOTH = 0x1f
  12. AF_CCITT = 0xa
  13. AF_CHAOS = 0x5
  14. AF_CNT = 0x15
  15. AF_COIP = 0x14
  16. AF_DATAKIT = 0x9
  17. AF_DECnet = 0xc
  18. AF_DLI = 0xd
  19. AF_E164 = 0x1a
  20. AF_ECMA = 0x8
  21. AF_HYLINK = 0xf
  22. AF_IEEE80211 = 0x20
  23. AF_IMPLINK = 0x3
  24. AF_INET = 0x2
  25. AF_INET6 = 0x18
  26. AF_IPX = 0x17
  27. AF_ISDN = 0x1a
  28. AF_ISO = 0x7
  29. AF_LAT = 0xe
  30. AF_LINK = 0x12
  31. AF_LOCAL = 0x1
  32. AF_MAX = 0x23
  33. AF_MPLS = 0x21
  34. AF_NATM = 0x1b
  35. AF_NS = 0x6
  36. AF_OROUTE = 0x11
  37. AF_OSI = 0x7
  38. AF_PUP = 0x4
  39. AF_ROUTE = 0x22
  40. AF_SNA = 0xb
  41. AF_UNIX = 0x1
  42. AF_UNSPEC = 0x0
  43. ARPHRD_ARCNET = 0x7
  44. ARPHRD_ETHER = 0x1
  45. ARPHRD_FRELAY = 0xf
  46. ARPHRD_IEEE1394 = 0x18
  47. ARPHRD_IEEE802 = 0x6
  48. ARPHRD_STRIP = 0x17
  49. B0 = 0x0
  50. B110 = 0x6e
  51. B115200 = 0x1c200
  52. B1200 = 0x4b0
  53. B134 = 0x86
  54. B14400 = 0x3840
  55. B150 = 0x96
  56. B1800 = 0x708
  57. B19200 = 0x4b00
  58. B200 = 0xc8
  59. B230400 = 0x38400
  60. B2400 = 0x960
  61. B28800 = 0x7080
  62. B300 = 0x12c
  63. B38400 = 0x9600
  64. B460800 = 0x70800
  65. B4800 = 0x12c0
  66. B50 = 0x32
  67. B57600 = 0xe100
  68. B600 = 0x258
  69. B7200 = 0x1c20
  70. B75 = 0x4b
  71. B76800 = 0x12c00
  72. B921600 = 0xe1000
  73. B9600 = 0x2580
  74. BIOCFEEDBACK = 0x8004427d
  75. BIOCFLUSH = 0x20004268
  76. BIOCGBLEN = 0x40044266
  77. BIOCGDLT = 0x4004426a
  78. BIOCGDLTLIST = 0xc0104277
  79. BIOCGETIF = 0x4090426b
  80. BIOCGFEEDBACK = 0x4004427c
  81. BIOCGHDRCMPLT = 0x40044274
  82. BIOCGRTIMEOUT = 0x4010427b
  83. BIOCGSEESENT = 0x40044278
  84. BIOCGSTATS = 0x4080426f
  85. BIOCGSTATSOLD = 0x4008426f
  86. BIOCIMMEDIATE = 0x80044270
  87. BIOCPROMISC = 0x20004269
  88. BIOCSBLEN = 0xc0044266
  89. BIOCSDLT = 0x80044276
  90. BIOCSETF = 0x80104267
  91. BIOCSETIF = 0x8090426c
  92. BIOCSFEEDBACK = 0x8004427d
  93. BIOCSHDRCMPLT = 0x80044275
  94. BIOCSRTIMEOUT = 0x8010427a
  95. BIOCSSEESENT = 0x80044279
  96. BIOCSTCPF = 0x80104272
  97. BIOCSUDPF = 0x80104273
  98. BIOCVERSION = 0x40044271
  99. BPF_A = 0x10
  100. BPF_ABS = 0x20
  101. BPF_ADD = 0x0
  102. BPF_ALIGNMENT = 0x8
  103. BPF_ALIGNMENT32 = 0x4
  104. BPF_ALU = 0x4
  105. BPF_AND = 0x50
  106. BPF_B = 0x10
  107. BPF_DFLTBUFSIZE = 0x100000
  108. BPF_DIV = 0x30
  109. BPF_H = 0x8
  110. BPF_IMM = 0x0
  111. BPF_IND = 0x40
  112. BPF_JA = 0x0
  113. BPF_JEQ = 0x10
  114. BPF_JGE = 0x30
  115. BPF_JGT = 0x20
  116. BPF_JMP = 0x5
  117. BPF_JSET = 0x40
  118. BPF_K = 0x0
  119. BPF_LD = 0x0
  120. BPF_LDX = 0x1
  121. BPF_LEN = 0x80
  122. BPF_LSH = 0x60
  123. BPF_MAJOR_VERSION = 0x1
  124. BPF_MAXBUFSIZE = 0x1000000
  125. BPF_MAXINSNS = 0x200
  126. BPF_MEM = 0x60
  127. BPF_MEMWORDS = 0x10
  128. BPF_MINBUFSIZE = 0x20
  129. BPF_MINOR_VERSION = 0x1
  130. BPF_MISC = 0x7
  131. BPF_MSH = 0xa0
  132. BPF_MUL = 0x20
  133. BPF_NEG = 0x80
  134. BPF_OR = 0x40
  135. BPF_RELEASE = 0x30bb6
  136. BPF_RET = 0x6
  137. BPF_RSH = 0x70
  138. BPF_ST = 0x2
  139. BPF_STX = 0x3
  140. BPF_SUB = 0x10
  141. BPF_TAX = 0x0
  142. BPF_TXA = 0x80
  143. BPF_W = 0x0
  144. BPF_X = 0x8
  145. BRKINT = 0x2
  146. CFLUSH = 0xf
  147. CLOCAL = 0x8000
  148. CLONE_CSIGNAL = 0xff
  149. CLONE_FILES = 0x400
  150. CLONE_FS = 0x200
  151. CLONE_PID = 0x1000
  152. CLONE_PTRACE = 0x2000
  153. CLONE_SIGHAND = 0x800
  154. CLONE_VFORK = 0x4000
  155. CLONE_VM = 0x100
  156. CREAD = 0x800
  157. CRTSCTS = 0x10000
  158. CS5 = 0x0
  159. CS6 = 0x100
  160. CS7 = 0x200
  161. CS8 = 0x300
  162. CSIZE = 0x300
  163. CSTART = 0x11
  164. CSTATUS = 0x14
  165. CSTOP = 0x13
  166. CSTOPB = 0x400
  167. CSUSP = 0x1a
  168. CTL_HW = 0x6
  169. CTL_KERN = 0x1
  170. CTL_MAXNAME = 0xc
  171. CTL_NET = 0x4
  172. CTL_QUERY = -0x2
  173. DIOCBSFLUSH = 0x20006478
  174. DLT_A429 = 0xb8
  175. DLT_A653_ICM = 0xb9
  176. DLT_AIRONET_HEADER = 0x78
  177. DLT_AOS = 0xde
  178. DLT_APPLE_IP_OVER_IEEE1394 = 0x8a
  179. DLT_ARCNET = 0x7
  180. DLT_ARCNET_LINUX = 0x81
  181. DLT_ATM_CLIP = 0x13
  182. DLT_ATM_RFC1483 = 0xb
  183. DLT_AURORA = 0x7e
  184. DLT_AX25 = 0x3
  185. DLT_AX25_KISS = 0xca
  186. DLT_BACNET_MS_TP = 0xa5
  187. DLT_BLUETOOTH_HCI_H4 = 0xbb
  188. DLT_BLUETOOTH_HCI_H4_WITH_PHDR = 0xc9
  189. DLT_CAN20B = 0xbe
  190. DLT_CAN_SOCKETCAN = 0xe3
  191. DLT_CHAOS = 0x5
  192. DLT_CISCO_IOS = 0x76
  193. DLT_C_HDLC = 0x68
  194. DLT_C_HDLC_WITH_DIR = 0xcd
  195. DLT_DECT = 0xdd
  196. DLT_DOCSIS = 0x8f
  197. DLT_ECONET = 0x73
  198. DLT_EN10MB = 0x1
  199. DLT_EN3MB = 0x2
  200. DLT_ENC = 0x6d
  201. DLT_ERF = 0xc5
  202. DLT_ERF_ETH = 0xaf
  203. DLT_ERF_POS = 0xb0
  204. DLT_FC_2 = 0xe0
  205. DLT_FC_2_WITH_FRAME_DELIMS = 0xe1
  206. DLT_FDDI = 0xa
  207. DLT_FLEXRAY = 0xd2
  208. DLT_FRELAY = 0x6b
  209. DLT_FRELAY_WITH_DIR = 0xce
  210. DLT_GCOM_SERIAL = 0xad
  211. DLT_GCOM_T1E1 = 0xac
  212. DLT_GPF_F = 0xab
  213. DLT_GPF_T = 0xaa
  214. DLT_GPRS_LLC = 0xa9
  215. DLT_GSMTAP_ABIS = 0xda
  216. DLT_GSMTAP_UM = 0xd9
  217. DLT_HDLC = 0x10
  218. DLT_HHDLC = 0x79
  219. DLT_HIPPI = 0xf
  220. DLT_IBM_SN = 0x92
  221. DLT_IBM_SP = 0x91
  222. DLT_IEEE802 = 0x6
  223. DLT_IEEE802_11 = 0x69
  224. DLT_IEEE802_11_RADIO = 0x7f
  225. DLT_IEEE802_11_RADIO_AVS = 0xa3
  226. DLT_IEEE802_15_4 = 0xc3
  227. DLT_IEEE802_15_4_LINUX = 0xbf
  228. DLT_IEEE802_15_4_NONASK_PHY = 0xd7
  229. DLT_IEEE802_16_MAC_CPS = 0xbc
  230. DLT_IEEE802_16_MAC_CPS_RADIO = 0xc1
  231. DLT_IPMB = 0xc7
  232. DLT_IPMB_LINUX = 0xd1
  233. DLT_IPNET = 0xe2
  234. DLT_IPV4 = 0xe4
  235. DLT_IPV6 = 0xe5
  236. DLT_IP_OVER_FC = 0x7a
  237. DLT_JUNIPER_ATM1 = 0x89
  238. DLT_JUNIPER_ATM2 = 0x87
  239. DLT_JUNIPER_CHDLC = 0xb5
  240. DLT_JUNIPER_ES = 0x84
  241. DLT_JUNIPER_ETHER = 0xb2
  242. DLT_JUNIPER_FRELAY = 0xb4
  243. DLT_JUNIPER_GGSN = 0x85
  244. DLT_JUNIPER_ISM = 0xc2
  245. DLT_JUNIPER_MFR = 0x86
  246. DLT_JUNIPER_MLFR = 0x83
  247. DLT_JUNIPER_MLPPP = 0x82
  248. DLT_JUNIPER_MONITOR = 0xa4
  249. DLT_JUNIPER_PIC_PEER = 0xae
  250. DLT_JUNIPER_PPP = 0xb3
  251. DLT_JUNIPER_PPPOE = 0xa7
  252. DLT_JUNIPER_PPPOE_ATM = 0xa8
  253. DLT_JUNIPER_SERVICES = 0x88
  254. DLT_JUNIPER_ST = 0xc8
  255. DLT_JUNIPER_VP = 0xb7
  256. DLT_LAPB_WITH_DIR = 0xcf
  257. DLT_LAPD = 0xcb
  258. DLT_LIN = 0xd4
  259. DLT_LINUX_EVDEV = 0xd8
  260. DLT_LINUX_IRDA = 0x90
  261. DLT_LINUX_LAPD = 0xb1
  262. DLT_LINUX_SLL = 0x71
  263. DLT_LOOP = 0x6c
  264. DLT_LTALK = 0x72
  265. DLT_MFR = 0xb6
  266. DLT_MOST = 0xd3
  267. DLT_MPLS = 0xdb
  268. DLT_MTP2 = 0x8c
  269. DLT_MTP2_WITH_PHDR = 0x8b
  270. DLT_MTP3 = 0x8d
  271. DLT_NULL = 0x0
  272. DLT_PCI_EXP = 0x7d
  273. DLT_PFLOG = 0x75
  274. DLT_PFSYNC = 0x12
  275. DLT_PPI = 0xc0
  276. DLT_PPP = 0x9
  277. DLT_PPP_BSDOS = 0xe
  278. DLT_PPP_ETHER = 0x33
  279. DLT_PPP_PPPD = 0xa6
  280. DLT_PPP_SERIAL = 0x32
  281. DLT_PPP_WITH_DIR = 0xcc
  282. DLT_PRISM_HEADER = 0x77
  283. DLT_PRONET = 0x4
  284. DLT_RAIF1 = 0xc6
  285. DLT_RAW = 0xc
  286. DLT_RAWAF_MASK = 0x2240000
  287. DLT_RIO = 0x7c
  288. DLT_SCCP = 0x8e
  289. DLT_SITA = 0xc4
  290. DLT_SLIP = 0x8
  291. DLT_SLIP_BSDOS = 0xd
  292. DLT_SUNATM = 0x7b
  293. DLT_SYMANTEC_FIREWALL = 0x63
  294. DLT_TZSP = 0x80
  295. DLT_USB = 0xba
  296. DLT_USB_LINUX = 0xbd
  297. DLT_USB_LINUX_MMAPPED = 0xdc
  298. DLT_WIHART = 0xdf
  299. DLT_X2E_SERIAL = 0xd5
  300. DLT_X2E_XORAYA = 0xd6
  301. DT_BLK = 0x6
  302. DT_CHR = 0x2
  303. DT_DIR = 0x4
  304. DT_FIFO = 0x1
  305. DT_LNK = 0xa
  306. DT_REG = 0x8
  307. DT_SOCK = 0xc
  308. DT_UNKNOWN = 0x0
  309. DT_WHT = 0xe
  310. ECHO = 0x8
  311. ECHOCTL = 0x40
  312. ECHOE = 0x2
  313. ECHOK = 0x4
  314. ECHOKE = 0x1
  315. ECHONL = 0x10
  316. ECHOPRT = 0x20
  317. EMUL_LINUX = 0x1
  318. EMUL_LINUX32 = 0x5
  319. EMUL_MAXID = 0x6
  320. ETHERCAP_JUMBO_MTU = 0x4
  321. ETHERCAP_VLAN_HWTAGGING = 0x2
  322. ETHERCAP_VLAN_MTU = 0x1
  323. ETHERMIN = 0x2e
  324. ETHERMTU = 0x5dc
  325. ETHERMTU_JUMBO = 0x2328
  326. ETHERTYPE_8023 = 0x4
  327. ETHERTYPE_AARP = 0x80f3
  328. ETHERTYPE_ACCTON = 0x8390
  329. ETHERTYPE_AEONIC = 0x8036
  330. ETHERTYPE_ALPHA = 0x814a
  331. ETHERTYPE_AMBER = 0x6008
  332. ETHERTYPE_AMOEBA = 0x8145
  333. ETHERTYPE_APOLLO = 0x80f7
  334. ETHERTYPE_APOLLODOMAIN = 0x8019
  335. ETHERTYPE_APPLETALK = 0x809b
  336. ETHERTYPE_APPLITEK = 0x80c7
  337. ETHERTYPE_ARGONAUT = 0x803a
  338. ETHERTYPE_ARP = 0x806
  339. ETHERTYPE_AT = 0x809b
  340. ETHERTYPE_ATALK = 0x809b
  341. ETHERTYPE_ATOMIC = 0x86df
  342. ETHERTYPE_ATT = 0x8069
  343. ETHERTYPE_ATTSTANFORD = 0x8008
  344. ETHERTYPE_AUTOPHON = 0x806a
  345. ETHERTYPE_AXIS = 0x8856
  346. ETHERTYPE_BCLOOP = 0x9003
  347. ETHERTYPE_BOFL = 0x8102
  348. ETHERTYPE_CABLETRON = 0x7034
  349. ETHERTYPE_CHAOS = 0x804
  350. ETHERTYPE_COMDESIGN = 0x806c
  351. ETHERTYPE_COMPUGRAPHIC = 0x806d
  352. ETHERTYPE_COUNTERPOINT = 0x8062
  353. ETHERTYPE_CRONUS = 0x8004
  354. ETHERTYPE_CRONUSVLN = 0x8003
  355. ETHERTYPE_DCA = 0x1234
  356. ETHERTYPE_DDE = 0x807b
  357. ETHERTYPE_DEBNI = 0xaaaa
  358. ETHERTYPE_DECAM = 0x8048
  359. ETHERTYPE_DECCUST = 0x6006
  360. ETHERTYPE_DECDIAG = 0x6005
  361. ETHERTYPE_DECDNS = 0x803c
  362. ETHERTYPE_DECDTS = 0x803e
  363. ETHERTYPE_DECEXPER = 0x6000
  364. ETHERTYPE_DECLAST = 0x8041
  365. ETHERTYPE_DECLTM = 0x803f
  366. ETHERTYPE_DECMUMPS = 0x6009
  367. ETHERTYPE_DECNETBIOS = 0x8040
  368. ETHERTYPE_DELTACON = 0x86de
  369. ETHERTYPE_DIDDLE = 0x4321
  370. ETHERTYPE_DLOG1 = 0x660
  371. ETHERTYPE_DLOG2 = 0x661
  372. ETHERTYPE_DN = 0x6003
  373. ETHERTYPE_DOGFIGHT = 0x1989
  374. ETHERTYPE_DSMD = 0x8039
  375. ETHERTYPE_ECMA = 0x803
  376. ETHERTYPE_ENCRYPT = 0x803d
  377. ETHERTYPE_ES = 0x805d
  378. ETHERTYPE_EXCELAN = 0x8010
  379. ETHERTYPE_EXPERDATA = 0x8049
  380. ETHERTYPE_FLIP = 0x8146
  381. ETHERTYPE_FLOWCONTROL = 0x8808
  382. ETHERTYPE_FRARP = 0x808
  383. ETHERTYPE_GENDYN = 0x8068
  384. ETHERTYPE_HAYES = 0x8130
  385. ETHERTYPE_HIPPI_FP = 0x8180
  386. ETHERTYPE_HITACHI = 0x8820
  387. ETHERTYPE_HP = 0x8005
  388. ETHERTYPE_IEEEPUP = 0xa00
  389. ETHERTYPE_IEEEPUPAT = 0xa01
  390. ETHERTYPE_IMLBL = 0x4c42
  391. ETHERTYPE_IMLBLDIAG = 0x424c
  392. ETHERTYPE_IP = 0x800
  393. ETHERTYPE_IPAS = 0x876c
  394. ETHERTYPE_IPV6 = 0x86dd
  395. ETHERTYPE_IPX = 0x8137
  396. ETHERTYPE_IPXNEW = 0x8037
  397. ETHERTYPE_KALPANA = 0x8582
  398. ETHERTYPE_LANBRIDGE = 0x8038
  399. ETHERTYPE_LANPROBE = 0x8888
  400. ETHERTYPE_LAT = 0x6004
  401. ETHERTYPE_LBACK = 0x9000
  402. ETHERTYPE_LITTLE = 0x8060
  403. ETHERTYPE_LOGICRAFT = 0x8148
  404. ETHERTYPE_LOOPBACK = 0x9000
  405. ETHERTYPE_MATRA = 0x807a
  406. ETHERTYPE_MAX = 0xffff
  407. ETHERTYPE_MERIT = 0x807c
  408. ETHERTYPE_MICP = 0x873a
  409. ETHERTYPE_MOPDL = 0x6001
  410. ETHERTYPE_MOPRC = 0x6002
  411. ETHERTYPE_MOTOROLA = 0x818d
  412. ETHERTYPE_MPLS = 0x8847
  413. ETHERTYPE_MPLS_MCAST = 0x8848
  414. ETHERTYPE_MUMPS = 0x813f
  415. ETHERTYPE_NBPCC = 0x3c04
  416. ETHERTYPE_NBPCLAIM = 0x3c09
  417. ETHERTYPE_NBPCLREQ = 0x3c05
  418. ETHERTYPE_NBPCLRSP = 0x3c06
  419. ETHERTYPE_NBPCREQ = 0x3c02
  420. ETHERTYPE_NBPCRSP = 0x3c03
  421. ETHERTYPE_NBPDG = 0x3c07
  422. ETHERTYPE_NBPDGB = 0x3c08
  423. ETHERTYPE_NBPDLTE = 0x3c0a
  424. ETHERTYPE_NBPRAR = 0x3c0c
  425. ETHERTYPE_NBPRAS = 0x3c0b
  426. ETHERTYPE_NBPRST = 0x3c0d
  427. ETHERTYPE_NBPSCD = 0x3c01
  428. ETHERTYPE_NBPVCD = 0x3c00
  429. ETHERTYPE_NBS = 0x802
  430. ETHERTYPE_NCD = 0x8149
  431. ETHERTYPE_NESTAR = 0x8006
  432. ETHERTYPE_NETBEUI = 0x8191
  433. ETHERTYPE_NOVELL = 0x8138
  434. ETHERTYPE_NS = 0x600
  435. ETHERTYPE_NSAT = 0x601
  436. ETHERTYPE_NSCOMPAT = 0x807
  437. ETHERTYPE_NTRAILER = 0x10
  438. ETHERTYPE_OS9 = 0x7007
  439. ETHERTYPE_OS9NET = 0x7009
  440. ETHERTYPE_PACER = 0x80c6
  441. ETHERTYPE_PAE = 0x888e
  442. ETHERTYPE_PCS = 0x4242
  443. ETHERTYPE_PLANNING = 0x8044
  444. ETHERTYPE_PPP = 0x880b
  445. ETHERTYPE_PPPOE = 0x8864
  446. ETHERTYPE_PPPOEDISC = 0x8863
  447. ETHERTYPE_PRIMENTS = 0x7031
  448. ETHERTYPE_PUP = 0x200
  449. ETHERTYPE_PUPAT = 0x200
  450. ETHERTYPE_RACAL = 0x7030
  451. ETHERTYPE_RATIONAL = 0x8150
  452. ETHERTYPE_RAWFR = 0x6559
  453. ETHERTYPE_RCL = 0x1995
  454. ETHERTYPE_RDP = 0x8739
  455. ETHERTYPE_RETIX = 0x80f2
  456. ETHERTYPE_REVARP = 0x8035
  457. ETHERTYPE_SCA = 0x6007
  458. ETHERTYPE_SECTRA = 0x86db
  459. ETHERTYPE_SECUREDATA = 0x876d
  460. ETHERTYPE_SGITW = 0x817e
  461. ETHERTYPE_SG_BOUNCE = 0x8016
  462. ETHERTYPE_SG_DIAG = 0x8013
  463. ETHERTYPE_SG_NETGAMES = 0x8014
  464. ETHERTYPE_SG_RESV = 0x8015
  465. ETHERTYPE_SIMNET = 0x5208
  466. ETHERTYPE_SLOWPROTOCOLS = 0x8809
  467. ETHERTYPE_SNA = 0x80d5
  468. ETHERTYPE_SNMP = 0x814c
  469. ETHERTYPE_SONIX = 0xfaf5
  470. ETHERTYPE_SPIDER = 0x809f
  471. ETHERTYPE_SPRITE = 0x500
  472. ETHERTYPE_STP = 0x8181
  473. ETHERTYPE_TALARIS = 0x812b
  474. ETHERTYPE_TALARISMC = 0x852b
  475. ETHERTYPE_TCPCOMP = 0x876b
  476. ETHERTYPE_TCPSM = 0x9002
  477. ETHERTYPE_TEC = 0x814f
  478. ETHERTYPE_TIGAN = 0x802f
  479. ETHERTYPE_TRAIL = 0x1000
  480. ETHERTYPE_TRANSETHER = 0x6558
  481. ETHERTYPE_TYMSHARE = 0x802e
  482. ETHERTYPE_UBBST = 0x7005
  483. ETHERTYPE_UBDEBUG = 0x900
  484. ETHERTYPE_UBDIAGLOOP = 0x7002
  485. ETHERTYPE_UBDL = 0x7000
  486. ETHERTYPE_UBNIU = 0x7001
  487. ETHERTYPE_UBNMC = 0x7003
  488. ETHERTYPE_VALID = 0x1600
  489. ETHERTYPE_VARIAN = 0x80dd
  490. ETHERTYPE_VAXELN = 0x803b
  491. ETHERTYPE_VEECO = 0x8067
  492. ETHERTYPE_VEXP = 0x805b
  493. ETHERTYPE_VGLAB = 0x8131
  494. ETHERTYPE_VINES = 0xbad
  495. ETHERTYPE_VINESECHO = 0xbaf
  496. ETHERTYPE_VINESLOOP = 0xbae
  497. ETHERTYPE_VITAL = 0xff00
  498. ETHERTYPE_VLAN = 0x8100
  499. ETHERTYPE_VLTLMAN = 0x8080
  500. ETHERTYPE_VPROD = 0x805c
  501. ETHERTYPE_VURESERVED = 0x8147
  502. ETHERTYPE_WATERLOO = 0x8130
  503. ETHERTYPE_WELLFLEET = 0x8103
  504. ETHERTYPE_X25 = 0x805
  505. ETHERTYPE_X75 = 0x801
  506. ETHERTYPE_XNSSM = 0x9001
  507. ETHERTYPE_XTP = 0x817d
  508. ETHER_ADDR_LEN = 0x6
  509. ETHER_CRC_LEN = 0x4
  510. ETHER_CRC_POLY_BE = 0x4c11db6
  511. ETHER_CRC_POLY_LE = 0xedb88320
  512. ETHER_HDR_LEN = 0xe
  513. ETHER_MAX_LEN = 0x5ee
  514. ETHER_MAX_LEN_JUMBO = 0x233a
  515. ETHER_MIN_LEN = 0x40
  516. ETHER_PPPOE_ENCAP_LEN = 0x8
  517. ETHER_TYPE_LEN = 0x2
  518. ETHER_VLAN_ENCAP_LEN = 0x4
  519. EVFILT_AIO = 0x2
  520. EVFILT_PROC = 0x4
  521. EVFILT_READ = 0x0
  522. EVFILT_SIGNAL = 0x5
  523. EVFILT_SYSCOUNT = 0x7
  524. EVFILT_TIMER = 0x6
  525. EVFILT_VNODE = 0x3
  526. EVFILT_WRITE = 0x1
  527. EV_ADD = 0x1
  528. EV_CLEAR = 0x20
  529. EV_DELETE = 0x2
  530. EV_DISABLE = 0x8
  531. EV_ENABLE = 0x4
  532. EV_EOF = 0x8000
  533. EV_ERROR = 0x4000
  534. EV_FLAG1 = 0x2000
  535. EV_ONESHOT = 0x10
  536. EV_SYSFLAGS = 0xf000
  537. EXTA = 0x4b00
  538. EXTATTR_CMD_START = 0x1
  539. EXTATTR_CMD_STOP = 0x2
  540. EXTATTR_NAMESPACE_SYSTEM = 0x2
  541. EXTATTR_NAMESPACE_USER = 0x1
  542. EXTB = 0x9600
  543. EXTPROC = 0x800
  544. FD_CLOEXEC = 0x1
  545. FD_SETSIZE = 0x100
  546. FLUSHO = 0x800000
  547. F_CLOSEM = 0xa
  548. F_DUPFD = 0x0
  549. F_DUPFD_CLOEXEC = 0xc
  550. F_FSCTL = -0x80000000
  551. F_FSDIRMASK = 0x70000000
  552. F_FSIN = 0x10000000
  553. F_FSINOUT = 0x30000000
  554. F_FSOUT = 0x20000000
  555. F_FSPRIV = 0x8000
  556. F_FSVOID = 0x40000000
  557. F_GETFD = 0x1
  558. F_GETFL = 0x3
  559. F_GETLK = 0x7
  560. F_GETNOSIGPIPE = 0xd
  561. F_GETOWN = 0x5
  562. F_MAXFD = 0xb
  563. F_OK = 0x0
  564. F_PARAM_MASK = 0xfff
  565. F_PARAM_MAX = 0xfff
  566. F_RDLCK = 0x1
  567. F_SETFD = 0x2
  568. F_SETFL = 0x4
  569. F_SETLK = 0x8
  570. F_SETLKW = 0x9
  571. F_SETNOSIGPIPE = 0xe
  572. F_SETOWN = 0x6
  573. F_UNLCK = 0x2
  574. F_WRLCK = 0x3
  575. HUPCL = 0x4000
  576. HW_MACHINE = 0x1
  577. ICANON = 0x100
  578. ICMP6_FILTER = 0x12
  579. ICRNL = 0x100
  580. IEXTEN = 0x400
  581. IFAN_ARRIVAL = 0x0
  582. IFAN_DEPARTURE = 0x1
  583. IFA_ROUTE = 0x1
  584. IFF_ALLMULTI = 0x200
  585. IFF_BROADCAST = 0x2
  586. IFF_CANTCHANGE = 0x8f52
  587. IFF_DEBUG = 0x4
  588. IFF_LINK0 = 0x1000
  589. IFF_LINK1 = 0x2000
  590. IFF_LINK2 = 0x4000
  591. IFF_LOOPBACK = 0x8
  592. IFF_MULTICAST = 0x8000
  593. IFF_NOARP = 0x80
  594. IFF_NOTRAILERS = 0x20
  595. IFF_OACTIVE = 0x400
  596. IFF_POINTOPOINT = 0x10
  597. IFF_PROMISC = 0x100
  598. IFF_RUNNING = 0x40
  599. IFF_SIMPLEX = 0x800
  600. IFF_UP = 0x1
  601. IFNAMSIZ = 0x10
  602. IFT_1822 = 0x2
  603. IFT_A12MPPSWITCH = 0x82
  604. IFT_AAL2 = 0xbb
  605. IFT_AAL5 = 0x31
  606. IFT_ADSL = 0x5e
  607. IFT_AFLANE8023 = 0x3b
  608. IFT_AFLANE8025 = 0x3c
  609. IFT_ARAP = 0x58
  610. IFT_ARCNET = 0x23
  611. IFT_ARCNETPLUS = 0x24
  612. IFT_ASYNC = 0x54
  613. IFT_ATM = 0x25
  614. IFT_ATMDXI = 0x69
  615. IFT_ATMFUNI = 0x6a
  616. IFT_ATMIMA = 0x6b
  617. IFT_ATMLOGICAL = 0x50
  618. IFT_ATMRADIO = 0xbd
  619. IFT_ATMSUBINTERFACE = 0x86
  620. IFT_ATMVCIENDPT = 0xc2
  621. IFT_ATMVIRTUAL = 0x95
  622. IFT_BGPPOLICYACCOUNTING = 0xa2
  623. IFT_BRIDGE = 0xd1
  624. IFT_BSC = 0x53
  625. IFT_CARP = 0xf8
  626. IFT_CCTEMUL = 0x3d
  627. IFT_CEPT = 0x13
  628. IFT_CES = 0x85
  629. IFT_CHANNEL = 0x46
  630. IFT_CNR = 0x55
  631. IFT_COFFEE = 0x84
  632. IFT_COMPOSITELINK = 0x9b
  633. IFT_DCN = 0x8d
  634. IFT_DIGITALPOWERLINE = 0x8a
  635. IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
  636. IFT_DLSW = 0x4a
  637. IFT_DOCSCABLEDOWNSTREAM = 0x80
  638. IFT_DOCSCABLEMACLAYER = 0x7f
  639. IFT_DOCSCABLEUPSTREAM = 0x81
  640. IFT_DOCSCABLEUPSTREAMCHANNEL = 0xcd
  641. IFT_DS0 = 0x51
  642. IFT_DS0BUNDLE = 0x52
  643. IFT_DS1FDL = 0xaa
  644. IFT_DS3 = 0x1e
  645. IFT_DTM = 0x8c
  646. IFT_DVBASILN = 0xac
  647. IFT_DVBASIOUT = 0xad
  648. IFT_DVBRCCDOWNSTREAM = 0x93
  649. IFT_DVBRCCMACLAYER = 0x92
  650. IFT_DVBRCCUPSTREAM = 0x94
  651. IFT_ECONET = 0xce
  652. IFT_EON = 0x19
  653. IFT_EPLRS = 0x57
  654. IFT_ESCON = 0x49
  655. IFT_ETHER = 0x6
  656. IFT_FAITH = 0xf2
  657. IFT_FAST = 0x7d
  658. IFT_FASTETHER = 0x3e
  659. IFT_FASTETHERFX = 0x45
  660. IFT_FDDI = 0xf
  661. IFT_FIBRECHANNEL = 0x38
  662. IFT_FRAMERELAYINTERCONNECT = 0x3a
  663. IFT_FRAMERELAYMPI = 0x5c
  664. IFT_FRDLCIENDPT = 0xc1
  665. IFT_FRELAY = 0x20
  666. IFT_FRELAYDCE = 0x2c
  667. IFT_FRF16MFRBUNDLE = 0xa3
  668. IFT_FRFORWARD = 0x9e
  669. IFT_G703AT2MB = 0x43
  670. IFT_G703AT64K = 0x42
  671. IFT_GIF = 0xf0
  672. IFT_GIGABITETHERNET = 0x75
  673. IFT_GR303IDT = 0xb2
  674. IFT_GR303RDT = 0xb1
  675. IFT_H323GATEKEEPER = 0xa4
  676. IFT_H323PROXY = 0xa5
  677. IFT_HDH1822 = 0x3
  678. IFT_HDLC = 0x76
  679. IFT_HDSL2 = 0xa8
  680. IFT_HIPERLAN2 = 0xb7
  681. IFT_HIPPI = 0x2f
  682. IFT_HIPPIINTERFACE = 0x39
  683. IFT_HOSTPAD = 0x5a
  684. IFT_HSSI = 0x2e
  685. IFT_HY = 0xe
  686. IFT_IBM370PARCHAN = 0x48
  687. IFT_IDSL = 0x9a
  688. IFT_IEEE1394 = 0x90
  689. IFT_IEEE80211 = 0x47
  690. IFT_IEEE80212 = 0x37
  691. IFT_IEEE8023ADLAG = 0xa1
  692. IFT_IFGSN = 0x91
  693. IFT_IMT = 0xbe
  694. IFT_INFINIBAND = 0xc7
  695. IFT_INTERLEAVE = 0x7c
  696. IFT_IP = 0x7e
  697. IFT_IPFORWARD = 0x8e
  698. IFT_IPOVERATM = 0x72
  699. IFT_IPOVERCDLC = 0x6d
  700. IFT_IPOVERCLAW = 0x6e
  701. IFT_IPSWITCH = 0x4e
  702. IFT_ISDN = 0x3f
  703. IFT_ISDNBASIC = 0x14
  704. IFT_ISDNPRIMARY = 0x15
  705. IFT_ISDNS = 0x4b
  706. IFT_ISDNU = 0x4c
  707. IFT_ISO88022LLC = 0x29
  708. IFT_ISO88023 = 0x7
  709. IFT_ISO88024 = 0x8
  710. IFT_ISO88025 = 0x9
  711. IFT_ISO88025CRFPINT = 0x62
  712. IFT_ISO88025DTR = 0x56
  713. IFT_ISO88025FIBER = 0x73
  714. IFT_ISO88026 = 0xa
  715. IFT_ISUP = 0xb3
  716. IFT_L2VLAN = 0x87
  717. IFT_L3IPVLAN = 0x88
  718. IFT_L3IPXVLAN = 0x89
  719. IFT_LAPB = 0x10
  720. IFT_LAPD = 0x4d
  721. IFT_LAPF = 0x77
  722. IFT_LINEGROUP = 0xd2
  723. IFT_LOCALTALK = 0x2a
  724. IFT_LOOP = 0x18
  725. IFT_MEDIAMAILOVERIP = 0x8b
  726. IFT_MFSIGLINK = 0xa7
  727. IFT_MIOX25 = 0x26
  728. IFT_MODEM = 0x30
  729. IFT_MPC = 0x71
  730. IFT_MPLS = 0xa6
  731. IFT_MPLSTUNNEL = 0x96
  732. IFT_MSDSL = 0x8f
  733. IFT_MVL = 0xbf
  734. IFT_MYRINET = 0x63
  735. IFT_NFAS = 0xaf
  736. IFT_NSIP = 0x1b
  737. IFT_OPTICALCHANNEL = 0xc3
  738. IFT_OPTICALTRANSPORT = 0xc4
  739. IFT_OTHER = 0x1
  740. IFT_P10 = 0xc
  741. IFT_P80 = 0xd
  742. IFT_PARA = 0x22
  743. IFT_PFLOG = 0xf5
  744. IFT_PFSYNC = 0xf6
  745. IFT_PLC = 0xae
  746. IFT_PON155 = 0xcf
  747. IFT_PON622 = 0xd0
  748. IFT_POS = 0xab
  749. IFT_PPP = 0x17
  750. IFT_PPPMULTILINKBUNDLE = 0x6c
  751. IFT_PROPATM = 0xc5
  752. IFT_PROPBWAP2MP = 0xb8
  753. IFT_PROPCNLS = 0x59
  754. IFT_PROPDOCSWIRELESSDOWNSTREAM = 0xb5
  755. IFT_PROPDOCSWIRELESSMACLAYER = 0xb4
  756. IFT_PROPDOCSWIRELESSUPSTREAM = 0xb6
  757. IFT_PROPMUX = 0x36
  758. IFT_PROPVIRTUAL = 0x35
  759. IFT_PROPWIRELESSP2P = 0x9d
  760. IFT_PTPSERIAL = 0x16
  761. IFT_PVC = 0xf1
  762. IFT_Q2931 = 0xc9
  763. IFT_QLLC = 0x44
  764. IFT_RADIOMAC = 0xbc
  765. IFT_RADSL = 0x5f
  766. IFT_REACHDSL = 0xc0
  767. IFT_RFC1483 = 0x9f
  768. IFT_RS232 = 0x21
  769. IFT_RSRB = 0x4f
  770. IFT_SDLC = 0x11
  771. IFT_SDSL = 0x60
  772. IFT_SHDSL = 0xa9
  773. IFT_SIP = 0x1f
  774. IFT_SIPSIG = 0xcc
  775. IFT_SIPTG = 0xcb
  776. IFT_SLIP = 0x1c
  777. IFT_SMDSDXI = 0x2b
  778. IFT_SMDSICIP = 0x34
  779. IFT_SONET = 0x27
  780. IFT_SONETOVERHEADCHANNEL = 0xb9
  781. IFT_SONETPATH = 0x32
  782. IFT_SONETVT = 0x33
  783. IFT_SRP = 0x97
  784. IFT_SS7SIGLINK = 0x9c
  785. IFT_STACKTOSTACK = 0x6f
  786. IFT_STARLAN = 0xb
  787. IFT_STF = 0xd7
  788. IFT_T1 = 0x12
  789. IFT_TDLC = 0x74
  790. IFT_TELINK = 0xc8
  791. IFT_TERMPAD = 0x5b
  792. IFT_TR008 = 0xb0
  793. IFT_TRANSPHDLC = 0x7b
  794. IFT_TUNNEL = 0x83
  795. IFT_ULTRA = 0x1d
  796. IFT_USB = 0xa0
  797. IFT_V11 = 0x40
  798. IFT_V35 = 0x2d
  799. IFT_V36 = 0x41
  800. IFT_V37 = 0x78
  801. IFT_VDSL = 0x61
  802. IFT_VIRTUALIPADDRESS = 0x70
  803. IFT_VIRTUALTG = 0xca
  804. IFT_VOICEDID = 0xd5
  805. IFT_VOICEEM = 0x64
  806. IFT_VOICEEMFGD = 0xd3
  807. IFT_VOICEENCAP = 0x67
  808. IFT_VOICEFGDEANA = 0xd4
  809. IFT_VOICEFXO = 0x65
  810. IFT_VOICEFXS = 0x66
  811. IFT_VOICEOVERATM = 0x98
  812. IFT_VOICEOVERCABLE = 0xc6
  813. IFT_VOICEOVERFRAMERELAY = 0x99
  814. IFT_VOICEOVERIP = 0x68
  815. IFT_X213 = 0x5d
  816. IFT_X25 = 0x5
  817. IFT_X25DDN = 0x4
  818. IFT_X25HUNTGROUP = 0x7a
  819. IFT_X25MLP = 0x79
  820. IFT_X25PLE = 0x28
  821. IFT_XETHER = 0x1a
  822. IGNBRK = 0x1
  823. IGNCR = 0x80
  824. IGNPAR = 0x4
  825. IMAXBEL = 0x2000
  826. INLCR = 0x40
  827. INPCK = 0x10
  828. IN_CLASSA_HOST = 0xffffff
  829. IN_CLASSA_MAX = 0x80
  830. IN_CLASSA_NET = 0xff000000
  831. IN_CLASSA_NSHIFT = 0x18
  832. IN_CLASSB_HOST = 0xffff
  833. IN_CLASSB_MAX = 0x10000
  834. IN_CLASSB_NET = 0xffff0000
  835. IN_CLASSB_NSHIFT = 0x10
  836. IN_CLASSC_HOST = 0xff
  837. IN_CLASSC_NET = 0xffffff00
  838. IN_CLASSC_NSHIFT = 0x8
  839. IN_CLASSD_HOST = 0xfffffff
  840. IN_CLASSD_NET = 0xf0000000
  841. IN_CLASSD_NSHIFT = 0x1c
  842. IN_LOOPBACKNET = 0x7f
  843. IPPROTO_AH = 0x33
  844. IPPROTO_CARP = 0x70
  845. IPPROTO_DONE = 0x101
  846. IPPROTO_DSTOPTS = 0x3c
  847. IPPROTO_EGP = 0x8
  848. IPPROTO_ENCAP = 0x62
  849. IPPROTO_EON = 0x50
  850. IPPROTO_ESP = 0x32
  851. IPPROTO_ETHERIP = 0x61
  852. IPPROTO_FRAGMENT = 0x2c
  853. IPPROTO_GGP = 0x3
  854. IPPROTO_GRE = 0x2f
  855. IPPROTO_HOPOPTS = 0x0
  856. IPPROTO_ICMP = 0x1
  857. IPPROTO_ICMPV6 = 0x3a
  858. IPPROTO_IDP = 0x16
  859. IPPROTO_IGMP = 0x2
  860. IPPROTO_IP = 0x0
  861. IPPROTO_IPCOMP = 0x6c
  862. IPPROTO_IPIP = 0x4
  863. IPPROTO_IPV4 = 0x4
  864. IPPROTO_IPV6 = 0x29
  865. IPPROTO_IPV6_ICMP = 0x3a
  866. IPPROTO_MAX = 0x100
  867. IPPROTO_MAXID = 0x34
  868. IPPROTO_MOBILE = 0x37
  869. IPPROTO_NONE = 0x3b
  870. IPPROTO_PFSYNC = 0xf0
  871. IPPROTO_PIM = 0x67
  872. IPPROTO_PUP = 0xc
  873. IPPROTO_RAW = 0xff
  874. IPPROTO_ROUTING = 0x2b
  875. IPPROTO_RSVP = 0x2e
  876. IPPROTO_TCP = 0x6
  877. IPPROTO_TP = 0x1d
  878. IPPROTO_UDP = 0x11
  879. IPPROTO_VRRP = 0x70
  880. IPV6_CHECKSUM = 0x1a
  881. IPV6_DEFAULT_MULTICAST_HOPS = 0x1
  882. IPV6_DEFAULT_MULTICAST_LOOP = 0x1
  883. IPV6_DEFHLIM = 0x40
  884. IPV6_DONTFRAG = 0x3e
  885. IPV6_DSTOPTS = 0x32
  886. IPV6_FAITH = 0x1d
  887. IPV6_FLOWINFO_MASK = 0xffffff0f
  888. IPV6_FLOWLABEL_MASK = 0xffff0f00
  889. IPV6_FRAGTTL = 0x78
  890. IPV6_HLIMDEC = 0x1
  891. IPV6_HOPLIMIT = 0x2f
  892. IPV6_HOPOPTS = 0x31
  893. IPV6_IPSEC_POLICY = 0x1c
  894. IPV6_JOIN_GROUP = 0xc
  895. IPV6_LEAVE_GROUP = 0xd
  896. IPV6_MAXHLIM = 0xff
  897. IPV6_MAXPACKET = 0xffff
  898. IPV6_MMTU = 0x500
  899. IPV6_MULTICAST_HOPS = 0xa
  900. IPV6_MULTICAST_IF = 0x9
  901. IPV6_MULTICAST_LOOP = 0xb
  902. IPV6_NEXTHOP = 0x30
  903. IPV6_PATHMTU = 0x2c
  904. IPV6_PKTINFO = 0x2e
  905. IPV6_PORTRANGE = 0xe
  906. IPV6_PORTRANGE_DEFAULT = 0x0
  907. IPV6_PORTRANGE_HIGH = 0x1
  908. IPV6_PORTRANGE_LOW = 0x2
  909. IPV6_RECVDSTOPTS = 0x28
  910. IPV6_RECVHOPLIMIT = 0x25
  911. IPV6_RECVHOPOPTS = 0x27
  912. IPV6_RECVPATHMTU = 0x2b
  913. IPV6_RECVPKTINFO = 0x24
  914. IPV6_RECVRTHDR = 0x26
  915. IPV6_RECVTCLASS = 0x39
  916. IPV6_RTHDR = 0x33
  917. IPV6_RTHDRDSTOPTS = 0x23
  918. IPV6_RTHDR_LOOSE = 0x0
  919. IPV6_RTHDR_STRICT = 0x1
  920. IPV6_RTHDR_TYPE_0 = 0x0
  921. IPV6_SOCKOPT_RESERVED1 = 0x3
  922. IPV6_TCLASS = 0x3d
  923. IPV6_UNICAST_HOPS = 0x4
  924. IPV6_USE_MIN_MTU = 0x2a
  925. IPV6_V6ONLY = 0x1b
  926. IPV6_VERSION = 0x60
  927. IPV6_VERSION_MASK = 0xf0
  928. IP_ADD_MEMBERSHIP = 0xc
  929. IP_DEFAULT_MULTICAST_LOOP = 0x1
  930. IP_DEFAULT_MULTICAST_TTL = 0x1
  931. IP_DF = 0x4000
  932. IP_DROP_MEMBERSHIP = 0xd
  933. IP_EF = 0x8000
  934. IP_ERRORMTU = 0x15
  935. IP_HDRINCL = 0x2
  936. IP_IPSEC_POLICY = 0x16
  937. IP_MAXPACKET = 0xffff
  938. IP_MAX_MEMBERSHIPS = 0x14
  939. IP_MF = 0x2000
  940. IP_MINFRAGSIZE = 0x45
  941. IP_MINTTL = 0x18
  942. IP_MSS = 0x240
  943. IP_MULTICAST_IF = 0x9
  944. IP_MULTICAST_LOOP = 0xb
  945. IP_MULTICAST_TTL = 0xa
  946. IP_OFFMASK = 0x1fff
  947. IP_OPTIONS = 0x1
  948. IP_PORTRANGE = 0x13
  949. IP_PORTRANGE_DEFAULT = 0x0
  950. IP_PORTRANGE_HIGH = 0x1
  951. IP_PORTRANGE_LOW = 0x2
  952. IP_RECVDSTADDR = 0x7
  953. IP_RECVIF = 0x14
  954. IP_RECVOPTS = 0x5
  955. IP_RECVRETOPTS = 0x6
  956. IP_RECVTTL = 0x17
  957. IP_RETOPTS = 0x8
  958. IP_RF = 0x8000
  959. IP_TOS = 0x3
  960. IP_TTL = 0x4
  961. ISIG = 0x80
  962. ISTRIP = 0x20
  963. IXANY = 0x800
  964. IXOFF = 0x400
  965. IXON = 0x200
  966. KERN_HOSTNAME = 0xa
  967. KERN_OSRELEASE = 0x2
  968. KERN_OSTYPE = 0x1
  969. KERN_VERSION = 0x4
  970. LOCK_EX = 0x2
  971. LOCK_NB = 0x4
  972. LOCK_SH = 0x1
  973. LOCK_UN = 0x8
  974. MADV_DONTNEED = 0x4
  975. MADV_FREE = 0x6
  976. MADV_NORMAL = 0x0
  977. MADV_RANDOM = 0x1
  978. MADV_SEQUENTIAL = 0x2
  979. MADV_SPACEAVAIL = 0x5
  980. MADV_WILLNEED = 0x3
  981. MAP_ALIGNMENT_16MB = 0x18000000
  982. MAP_ALIGNMENT_1TB = 0x28000000
  983. MAP_ALIGNMENT_256TB = 0x30000000
  984. MAP_ALIGNMENT_4GB = 0x20000000
  985. MAP_ALIGNMENT_64KB = 0x10000000
  986. MAP_ALIGNMENT_64PB = 0x38000000
  987. MAP_ALIGNMENT_MASK = -0x1000000
  988. MAP_ALIGNMENT_SHIFT = 0x18
  989. MAP_ANON = 0x1000
  990. MAP_FILE = 0x0
  991. MAP_FIXED = 0x10
  992. MAP_HASSEMAPHORE = 0x200
  993. MAP_INHERIT = 0x80
  994. MAP_INHERIT_COPY = 0x1
  995. MAP_INHERIT_DEFAULT = 0x1
  996. MAP_INHERIT_DONATE_COPY = 0x3
  997. MAP_INHERIT_NONE = 0x2
  998. MAP_INHERIT_SHARE = 0x0
  999. MAP_NORESERVE = 0x40
  1000. MAP_PRIVATE = 0x2
  1001. MAP_RENAME = 0x20
  1002. MAP_SHARED = 0x1
  1003. MAP_STACK = 0x2000
  1004. MAP_TRYFIXED = 0x400
  1005. MAP_WIRED = 0x800
  1006. MCL_CURRENT = 0x1
  1007. MCL_FUTURE = 0x2
  1008. MNT_ASYNC = 0x40
  1009. MNT_BASIC_FLAGS = 0xe782807f
  1010. MNT_DEFEXPORTED = 0x200
  1011. MNT_DISCARD = 0x800000
  1012. MNT_EXKERB = 0x800
  1013. MNT_EXNORESPORT = 0x8000000
  1014. MNT_EXPORTANON = 0x400
  1015. MNT_EXPORTED = 0x100
  1016. MNT_EXPUBLIC = 0x10000000
  1017. MNT_EXRDONLY = 0x80
  1018. MNT_EXTATTR = 0x1000000
  1019. MNT_FORCE = 0x80000
  1020. MNT_GETARGS = 0x400000
  1021. MNT_IGNORE = 0x100000
  1022. MNT_LAZY = 0x3
  1023. MNT_LOCAL = 0x1000
  1024. MNT_LOG = 0x2000000
  1025. MNT_NOATIME = 0x4000000
  1026. MNT_NOCOREDUMP = 0x8000
  1027. MNT_NODEV = 0x10
  1028. MNT_NODEVMTIME = 0x40000000
  1029. MNT_NOEXEC = 0x4
  1030. MNT_NOSUID = 0x8
  1031. MNT_NOWAIT = 0x2
  1032. MNT_OP_FLAGS = 0x4d0000
  1033. MNT_QUOTA = 0x2000
  1034. MNT_RDONLY = 0x1
  1035. MNT_RELATIME = 0x20000
  1036. MNT_RELOAD = 0x40000
  1037. MNT_ROOTFS = 0x4000
  1038. MNT_SOFTDEP = 0x80000000
  1039. MNT_SYMPERM = 0x20000000
  1040. MNT_SYNCHRONOUS = 0x2
  1041. MNT_UNION = 0x20
  1042. MNT_UPDATE = 0x10000
  1043. MNT_VISFLAGMASK = 0xff90ffff
  1044. MNT_WAIT = 0x1
  1045. MSG_BCAST = 0x100
  1046. MSG_CMSG_CLOEXEC = 0x800
  1047. MSG_CONTROLMBUF = 0x2000000
  1048. MSG_CTRUNC = 0x20
  1049. MSG_DONTROUTE = 0x4
  1050. MSG_DONTWAIT = 0x80
  1051. MSG_EOR = 0x8
  1052. MSG_IOVUSRSPACE = 0x4000000
  1053. MSG_LENUSRSPACE = 0x8000000
  1054. MSG_MCAST = 0x200
  1055. MSG_NAMEMBUF = 0x1000000
  1056. MSG_NBIO = 0x1000
  1057. MSG_NOSIGNAL = 0x400
  1058. MSG_OOB = 0x1
  1059. MSG_PEEK = 0x2
  1060. MSG_TRUNC = 0x10
  1061. MSG_USERFLAGS = 0xffffff
  1062. MSG_WAITALL = 0x40
  1063. MS_ASYNC = 0x1
  1064. MS_INVALIDATE = 0x2
  1065. MS_SYNC = 0x4
  1066. NAME_MAX = 0x1ff
  1067. NET_RT_DUMP = 0x1
  1068. NET_RT_FLAGS = 0x2
  1069. NET_RT_IFLIST = 0x5
  1070. NET_RT_MAXID = 0x6
  1071. NET_RT_OIFLIST = 0x4
  1072. NET_RT_OOIFLIST = 0x3
  1073. NFDBITS = 0x20
  1074. NOFLSH = 0x80000000
  1075. NOTE_ATTRIB = 0x8
  1076. NOTE_CHILD = 0x4
  1077. NOTE_DELETE = 0x1
  1078. NOTE_EXEC = 0x20000000
  1079. NOTE_EXIT = 0x80000000
  1080. NOTE_EXTEND = 0x4
  1081. NOTE_FORK = 0x40000000
  1082. NOTE_LINK = 0x10
  1083. NOTE_LOWAT = 0x1
  1084. NOTE_PCTRLMASK = 0xf0000000
  1085. NOTE_PDATAMASK = 0xfffff
  1086. NOTE_RENAME = 0x20
  1087. NOTE_REVOKE = 0x40
  1088. NOTE_TRACK = 0x1
  1089. NOTE_TRACKERR = 0x2
  1090. NOTE_WRITE = 0x2
  1091. OCRNL = 0x10
  1092. OFIOGETBMAP = 0xc004667a
  1093. ONLCR = 0x2
  1094. ONLRET = 0x40
  1095. ONOCR = 0x20
  1096. ONOEOT = 0x8
  1097. OPOST = 0x1
  1098. O_ACCMODE = 0x3
  1099. O_ALT_IO = 0x40000
  1100. O_APPEND = 0x8
  1101. O_ASYNC = 0x40
  1102. O_CLOEXEC = 0x400000
  1103. O_CREAT = 0x200
  1104. O_DIRECT = 0x80000
  1105. O_DIRECTORY = 0x200000
  1106. O_DSYNC = 0x10000
  1107. O_EXCL = 0x800
  1108. O_EXLOCK = 0x20
  1109. O_FSYNC = 0x80
  1110. O_NDELAY = 0x4
  1111. O_NOCTTY = 0x8000
  1112. O_NOFOLLOW = 0x100
  1113. O_NONBLOCK = 0x4
  1114. O_NOSIGPIPE = 0x1000000
  1115. O_RDONLY = 0x0
  1116. O_RDWR = 0x2
  1117. O_RSYNC = 0x20000
  1118. O_SHLOCK = 0x10
  1119. O_SYNC = 0x80
  1120. O_TRUNC = 0x400
  1121. O_WRONLY = 0x1
  1122. PARENB = 0x1000
  1123. PARMRK = 0x8
  1124. PARODD = 0x2000
  1125. PENDIN = 0x20000000
  1126. PRIO_PGRP = 0x1
  1127. PRIO_PROCESS = 0x0
  1128. PRIO_USER = 0x2
  1129. PRI_IOFLUSH = 0x7c
  1130. PROT_EXEC = 0x4
  1131. PROT_NONE = 0x0
  1132. PROT_READ = 0x1
  1133. PROT_WRITE = 0x2
  1134. RLIMIT_AS = 0xa
  1135. RLIMIT_CORE = 0x4
  1136. RLIMIT_CPU = 0x0
  1137. RLIMIT_DATA = 0x2
  1138. RLIMIT_FSIZE = 0x1
  1139. RLIMIT_MEMLOCK = 0x6
  1140. RLIMIT_NOFILE = 0x8
  1141. RLIMIT_NPROC = 0x7
  1142. RLIMIT_RSS = 0x5
  1143. RLIMIT_STACK = 0x3
  1144. RLIM_INFINITY = 0x7fffffffffffffff
  1145. RTAX_AUTHOR = 0x6
  1146. RTAX_BRD = 0x7
  1147. RTAX_DST = 0x0
  1148. RTAX_GATEWAY = 0x1
  1149. RTAX_GENMASK = 0x3
  1150. RTAX_IFA = 0x5
  1151. RTAX_IFP = 0x4
  1152. RTAX_MAX = 0x9
  1153. RTAX_NETMASK = 0x2
  1154. RTAX_TAG = 0x8
  1155. RTA_AUTHOR = 0x40
  1156. RTA_BRD = 0x80
  1157. RTA_DST = 0x1
  1158. RTA_GATEWAY = 0x2
  1159. RTA_GENMASK = 0x8
  1160. RTA_IFA = 0x20
  1161. RTA_IFP = 0x10
  1162. RTA_NETMASK = 0x4
  1163. RTA_TAG = 0x100
  1164. RTF_ANNOUNCE = 0x20000
  1165. RTF_BLACKHOLE = 0x1000
  1166. RTF_CLONED = 0x2000
  1167. RTF_CLONING = 0x100
  1168. RTF_DONE = 0x40
  1169. RTF_DYNAMIC = 0x10
  1170. RTF_GATEWAY = 0x2
  1171. RTF_HOST = 0x4
  1172. RTF_LLINFO = 0x400
  1173. RTF_MASK = 0x80
  1174. RTF_MODIFIED = 0x20
  1175. RTF_PROTO1 = 0x8000
  1176. RTF_PROTO2 = 0x4000
  1177. RTF_REJECT = 0x8
  1178. RTF_SRC = 0x10000
  1179. RTF_STATIC = 0x800
  1180. RTF_UP = 0x1
  1181. RTF_XRESOLVE = 0x200
  1182. RTM_ADD = 0x1
  1183. RTM_CHANGE = 0x3
  1184. RTM_CHGADDR = 0x15
  1185. RTM_DELADDR = 0xd
  1186. RTM_DELETE = 0x2
  1187. RTM_GET = 0x4
  1188. RTM_IEEE80211 = 0x11
  1189. RTM_IFANNOUNCE = 0x10
  1190. RTM_IFINFO = 0x14
  1191. RTM_LLINFO_UPD = 0x13
  1192. RTM_LOCK = 0x8
  1193. RTM_LOSING = 0x5
  1194. RTM_MISS = 0x7
  1195. RTM_NEWADDR = 0xc
  1196. RTM_OIFINFO = 0xf
  1197. RTM_OLDADD = 0x9
  1198. RTM_OLDDEL = 0xa
  1199. RTM_OOIFINFO = 0xe
  1200. RTM_REDIRECT = 0x6
  1201. RTM_RESOLVE = 0xb
  1202. RTM_RTTUNIT = 0xf4240
  1203. RTM_SETGATE = 0x12
  1204. RTM_VERSION = 0x4
  1205. RTV_EXPIRE = 0x4
  1206. RTV_HOPCOUNT = 0x2
  1207. RTV_MTU = 0x1
  1208. RTV_RPIPE = 0x8
  1209. RTV_RTT = 0x40
  1210. RTV_RTTVAR = 0x80
  1211. RTV_SPIPE = 0x10
  1212. RTV_SSTHRESH = 0x20
  1213. RUSAGE_CHILDREN = -0x1
  1214. RUSAGE_SELF = 0x0
  1215. SCM_CREDS = 0x4
  1216. SCM_RIGHTS = 0x1
  1217. SCM_TIMESTAMP = 0x8
  1218. SHUT_RD = 0x0
  1219. SHUT_RDWR = 0x2
  1220. SHUT_WR = 0x1
  1221. SIOCADDMULTI = 0x80906931
  1222. SIOCADDRT = 0x8038720a
  1223. SIOCAIFADDR = 0x8040691a
  1224. SIOCALIFADDR = 0x8118691c
  1225. SIOCATMARK = 0x40047307
  1226. SIOCDELMULTI = 0x80906932
  1227. SIOCDELRT = 0x8038720b
  1228. SIOCDIFADDR = 0x80906919
  1229. SIOCDIFPHYADDR = 0x80906949
  1230. SIOCDLIFADDR = 0x8118691e
  1231. SIOCGDRVSPEC = 0xc028697b
  1232. SIOCGETPFSYNC = 0xc09069f8
  1233. SIOCGETSGCNT = 0xc0207534
  1234. SIOCGETVIFCNT = 0xc0287533
  1235. SIOCGHIWAT = 0x40047301
  1236. SIOCGIFADDR = 0xc0906921
  1237. SIOCGIFADDRPREF = 0xc0986920
  1238. SIOCGIFALIAS = 0xc040691b
  1239. SIOCGIFBRDADDR = 0xc0906923
  1240. SIOCGIFCAP = 0xc0206976
  1241. SIOCGIFCONF = 0xc0106926
  1242. SIOCGIFDATA = 0xc0986985
  1243. SIOCGIFDLT = 0xc0906977
  1244. SIOCGIFDSTADDR = 0xc0906922
  1245. SIOCGIFFLAGS = 0xc0906911
  1246. SIOCGIFGENERIC = 0xc090693a
  1247. SIOCGIFMEDIA = 0xc0306936
  1248. SIOCGIFMETRIC = 0xc0906917
  1249. SIOCGIFMTU = 0xc090697e
  1250. SIOCGIFNETMASK = 0xc0906925
  1251. SIOCGIFPDSTADDR = 0xc0906948
  1252. SIOCGIFPSRCADDR = 0xc0906947
  1253. SIOCGLIFADDR = 0xc118691d
  1254. SIOCGLIFPHYADDR = 0xc118694b
  1255. SIOCGLINKSTR = 0xc0286987
  1256. SIOCGLOWAT = 0x40047303
  1257. SIOCGPGRP = 0x40047309
  1258. SIOCGVH = 0xc0906983
  1259. SIOCIFCREATE = 0x8090697a
  1260. SIOCIFDESTROY = 0x80906979
  1261. SIOCIFGCLONERS = 0xc0106978
  1262. SIOCINITIFADDR = 0xc0706984
  1263. SIOCSDRVSPEC = 0x8028697b
  1264. SIOCSETPFSYNC = 0x809069f7
  1265. SIOCSHIWAT = 0x80047300
  1266. SIOCSIFADDR = 0x8090690c
  1267. SIOCSIFADDRPREF = 0x8098691f
  1268. SIOCSIFBRDADDR = 0x80906913
  1269. SIOCSIFCAP = 0x80206975
  1270. SIOCSIFDSTADDR = 0x8090690e
  1271. SIOCSIFFLAGS = 0x80906910
  1272. SIOCSIFGENERIC = 0x80906939
  1273. SIOCSIFMEDIA = 0xc0906935
  1274. SIOCSIFMETRIC = 0x80906918
  1275. SIOCSIFMTU = 0x8090697f
  1276. SIOCSIFNETMASK = 0x80906916
  1277. SIOCSIFPHYADDR = 0x80406946
  1278. SIOCSLIFPHYADDR = 0x8118694a
  1279. SIOCSLINKSTR = 0x80286988
  1280. SIOCSLOWAT = 0x80047302
  1281. SIOCSPGRP = 0x80047308
  1282. SIOCSVH = 0xc0906982
  1283. SIOCZIFDATA = 0xc0986986
  1284. SOCK_CLOEXEC = 0x10000000
  1285. SOCK_DGRAM = 0x2
  1286. SOCK_FLAGS_MASK = 0xf0000000
  1287. SOCK_NONBLOCK = 0x20000000
  1288. SOCK_NOSIGPIPE = 0x40000000
  1289. SOCK_RAW = 0x3
  1290. SOCK_RDM = 0x4
  1291. SOCK_SEQPACKET = 0x5
  1292. SOCK_STREAM = 0x1
  1293. SOL_SOCKET = 0xffff
  1294. SOMAXCONN = 0x80
  1295. SO_ACCEPTCONN = 0x2
  1296. SO_ACCEPTFILTER = 0x1000
  1297. SO_BROADCAST = 0x20
  1298. SO_DEBUG = 0x1
  1299. SO_DONTROUTE = 0x10
  1300. SO_ERROR = 0x1007
  1301. SO_KEEPALIVE = 0x8
  1302. SO_LINGER = 0x80
  1303. SO_NOHEADER = 0x100a
  1304. SO_NOSIGPIPE = 0x800
  1305. SO_OOBINLINE = 0x100
  1306. SO_OVERFLOWED = 0x1009
  1307. SO_RCVBUF = 0x1002
  1308. SO_RCVLOWAT = 0x1004
  1309. SO_RCVTIMEO = 0x100c
  1310. SO_REUSEADDR = 0x4
  1311. SO_REUSEPORT = 0x200
  1312. SO_SNDBUF = 0x1001
  1313. SO_SNDLOWAT = 0x1003
  1314. SO_SNDTIMEO = 0x100b
  1315. SO_TIMESTAMP = 0x2000
  1316. SO_TYPE = 0x1008
  1317. SO_USELOOPBACK = 0x40
  1318. SYSCTL_VERSION = 0x1000000
  1319. SYSCTL_VERS_0 = 0x0
  1320. SYSCTL_VERS_1 = 0x1000000
  1321. SYSCTL_VERS_MASK = 0xff000000
  1322. S_ARCH1 = 0x10000
  1323. S_ARCH2 = 0x20000
  1324. S_BLKSIZE = 0x200
  1325. S_IEXEC = 0x40
  1326. S_IFBLK = 0x6000
  1327. S_IFCHR = 0x2000
  1328. S_IFDIR = 0x4000
  1329. S_IFIFO = 0x1000
  1330. S_IFLNK = 0xa000
  1331. S_IFMT = 0xf000
  1332. S_IFREG = 0x8000
  1333. S_IFSOCK = 0xc000
  1334. S_IFWHT = 0xe000
  1335. S_IREAD = 0x100
  1336. S_IRGRP = 0x20
  1337. S_IROTH = 0x4
  1338. S_IRUSR = 0x100
  1339. S_IRWXG = 0x38
  1340. S_IRWXO = 0x7
  1341. S_IRWXU = 0x1c0
  1342. S_ISGID = 0x400
  1343. S_ISTXT = 0x200
  1344. S_ISUID = 0x800
  1345. S_ISVTX = 0x200
  1346. S_IWGRP = 0x10
  1347. S_IWOTH = 0x2
  1348. S_IWRITE = 0x80
  1349. S_IWUSR = 0x80
  1350. S_IXGRP = 0x8
  1351. S_IXOTH = 0x1
  1352. S_IXUSR = 0x40
  1353. S_LOGIN_SET = 0x1
  1354. TCIFLUSH = 0x1
  1355. TCIOFLUSH = 0x3
  1356. TCOFLUSH = 0x2
  1357. TCP_CONGCTL = 0x20
  1358. TCP_KEEPCNT = 0x6
  1359. TCP_KEEPIDLE = 0x3
  1360. TCP_KEEPINIT = 0x7
  1361. TCP_KEEPINTVL = 0x5
  1362. TCP_MAXBURST = 0x4
  1363. TCP_MAXSEG = 0x2
  1364. TCP_MAXWIN = 0xffff
  1365. TCP_MAX_WINSHIFT = 0xe
  1366. TCP_MD5SIG = 0x10
  1367. TCP_MINMSS = 0xd8
  1368. TCP_MSS = 0x218
  1369. TCP_NODELAY = 0x1
  1370. TCSAFLUSH = 0x2
  1371. TIOCCBRK = 0x2000747a
  1372. TIOCCDTR = 0x20007478
  1373. TIOCCONS = 0x80047462
  1374. TIOCDCDTIMESTAMP = 0x40107458
  1375. TIOCDRAIN = 0x2000745e
  1376. TIOCEXCL = 0x2000740d
  1377. TIOCEXT = 0x80047460
  1378. TIOCFLAG_CDTRCTS = 0x10
  1379. TIOCFLAG_CLOCAL = 0x2
  1380. TIOCFLAG_CRTSCTS = 0x4
  1381. TIOCFLAG_MDMBUF = 0x8
  1382. TIOCFLAG_SOFTCAR = 0x1
  1383. TIOCFLUSH = 0x80047410
  1384. TIOCGETA = 0x402c7413
  1385. TIOCGETD = 0x4004741a
  1386. TIOCGFLAGS = 0x4004745d
  1387. TIOCGLINED = 0x40207442
  1388. TIOCGPGRP = 0x40047477
  1389. TIOCGQSIZE = 0x40047481
  1390. TIOCGRANTPT = 0x20007447
  1391. TIOCGSID = 0x40047463
  1392. TIOCGSIZE = 0x40087468
  1393. TIOCGWINSZ = 0x40087468
  1394. TIOCMBIC = 0x8004746b
  1395. TIOCMBIS = 0x8004746c
  1396. TIOCMGET = 0x4004746a
  1397. TIOCMSET = 0x8004746d
  1398. TIOCM_CAR = 0x40
  1399. TIOCM_CD = 0x40
  1400. TIOCM_CTS = 0x20
  1401. TIOCM_DSR = 0x100
  1402. TIOCM_DTR = 0x2
  1403. TIOCM_LE = 0x1
  1404. TIOCM_RI = 0x80
  1405. TIOCM_RNG = 0x80
  1406. TIOCM_RTS = 0x4
  1407. TIOCM_SR = 0x10
  1408. TIOCM_ST = 0x8
  1409. TIOCNOTTY = 0x20007471
  1410. TIOCNXCL = 0x2000740e
  1411. TIOCOUTQ = 0x40047473
  1412. TIOCPKT = 0x80047470
  1413. TIOCPKT_DATA = 0x0
  1414. TIOCPKT_DOSTOP = 0x20
  1415. TIOCPKT_FLUSHREAD = 0x1
  1416. TIOCPKT_FLUSHWRITE = 0x2
  1417. TIOCPKT_IOCTL = 0x40
  1418. TIOCPKT_NOSTOP = 0x10
  1419. TIOCPKT_START = 0x8
  1420. TIOCPKT_STOP = 0x4
  1421. TIOCPTMGET = 0x40287446
  1422. TIOCPTSNAME = 0x40287448
  1423. TIOCRCVFRAME = 0x80087445
  1424. TIOCREMOTE = 0x80047469
  1425. TIOCSBRK = 0x2000747b
  1426. TIOCSCTTY = 0x20007461
  1427. TIOCSDTR = 0x20007479
  1428. TIOCSETA = 0x802c7414
  1429. TIOCSETAF = 0x802c7416
  1430. TIOCSETAW = 0x802c7415
  1431. TIOCSETD = 0x8004741b
  1432. TIOCSFLAGS = 0x8004745c
  1433. TIOCSIG = 0x2000745f
  1434. TIOCSLINED = 0x80207443
  1435. TIOCSPGRP = 0x80047476
  1436. TIOCSQSIZE = 0x80047480
  1437. TIOCSSIZE = 0x80087467
  1438. TIOCSTART = 0x2000746e
  1439. TIOCSTAT = 0x80047465
  1440. TIOCSTI = 0x80017472
  1441. TIOCSTOP = 0x2000746f
  1442. TIOCSWINSZ = 0x80087467
  1443. TIOCUCNTL = 0x80047466
  1444. TIOCXMTFRAME = 0x80087444
  1445. TOSTOP = 0x400000
  1446. VDISCARD = 0xf
  1447. VDSUSP = 0xb
  1448. VEOF = 0x0
  1449. VEOL = 0x1
  1450. VEOL2 = 0x2
  1451. VERASE = 0x3
  1452. VINTR = 0x8
  1453. VKILL = 0x5
  1454. VLNEXT = 0xe
  1455. VMIN = 0x10
  1456. VQUIT = 0x9
  1457. VREPRINT = 0x6
  1458. VSTART = 0xc
  1459. VSTATUS = 0x12
  1460. VSTOP = 0xd
  1461. VSUSP = 0xa
  1462. VTIME = 0x11
  1463. VWERASE = 0x4
  1464. WALL = 0x8
  1465. WALLSIG = 0x8
  1466. WALTSIG = 0x4
  1467. WCLONE = 0x4
  1468. WCOREFLAG = 0x80
  1469. WNOHANG = 0x1
  1470. WNOWAIT = 0x10000
  1471. WNOZOMBIE = 0x20000
  1472. WOPTSCHECKED = 0x40000
  1473. WSTOPPED = 0x7f
  1474. WUNTRACED = 0x2
  1475. )
  1476. // Errors
  1477. const (
  1478. E2BIG = syscall.Errno(0x7)
  1479. EACCES = syscall.Errno(0xd)
  1480. EADDRINUSE = syscall.Errno(0x30)
  1481. EADDRNOTAVAIL = syscall.Errno(0x31)
  1482. EAFNOSUPPORT = syscall.Errno(0x2f)
  1483. EAGAIN = syscall.Errno(0x23)
  1484. EALREADY = syscall.Errno(0x25)
  1485. EAUTH = syscall.Errno(0x50)
  1486. EBADF = syscall.Errno(0x9)
  1487. EBADMSG = syscall.Errno(0x58)
  1488. EBADRPC = syscall.Errno(0x48)
  1489. EBUSY = syscall.Errno(0x10)
  1490. ECANCELED = syscall.Errno(0x57)
  1491. ECHILD = syscall.Errno(0xa)
  1492. ECONNABORTED = syscall.Errno(0x35)
  1493. ECONNREFUSED = syscall.Errno(0x3d)
  1494. ECONNRESET = syscall.Errno(0x36)
  1495. EDEADLK = syscall.Errno(0xb)
  1496. EDESTADDRREQ = syscall.Errno(0x27)
  1497. EDOM = syscall.Errno(0x21)
  1498. EDQUOT = syscall.Errno(0x45)
  1499. EEXIST = syscall.Errno(0x11)
  1500. EFAULT = syscall.Errno(0xe)
  1501. EFBIG = syscall.Errno(0x1b)
  1502. EFTYPE = syscall.Errno(0x4f)
  1503. EHOSTDOWN = syscall.Errno(0x40)
  1504. EHOSTUNREACH = syscall.Errno(0x41)
  1505. EIDRM = syscall.Errno(0x52)
  1506. EILSEQ = syscall.Errno(0x55)
  1507. EINPROGRESS = syscall.Errno(0x24)
  1508. EINTR = syscall.Errno(0x4)
  1509. EINVAL = syscall.Errno(0x16)
  1510. EIO = syscall.Errno(0x5)
  1511. EISCONN = syscall.Errno(0x38)
  1512. EISDIR = syscall.Errno(0x15)
  1513. ELAST = syscall.Errno(0x60)
  1514. ELOOP = syscall.Errno(0x3e)
  1515. EMFILE = syscall.Errno(0x18)
  1516. EMLINK = syscall.Errno(0x1f)
  1517. EMSGSIZE = syscall.Errno(0x28)
  1518. EMULTIHOP = syscall.Errno(0x5e)
  1519. ENAMETOOLONG = syscall.Errno(0x3f)
  1520. ENEEDAUTH = syscall.Errno(0x51)
  1521. ENETDOWN = syscall.Errno(0x32)
  1522. ENETRESET = syscall.Errno(0x34)
  1523. ENETUNREACH = syscall.Errno(0x33)
  1524. ENFILE = syscall.Errno(0x17)
  1525. ENOATTR = syscall.Errno(0x5d)
  1526. ENOBUFS = syscall.Errno(0x37)
  1527. ENODATA = syscall.Errno(0x59)
  1528. ENODEV = syscall.Errno(0x13)
  1529. ENOENT = syscall.Errno(0x2)
  1530. ENOEXEC = syscall.Errno(0x8)
  1531. ENOLCK = syscall.Errno(0x4d)
  1532. ENOLINK = syscall.Errno(0x5f)
  1533. ENOMEM = syscall.Errno(0xc)
  1534. ENOMSG = syscall.Errno(0x53)
  1535. ENOPROTOOPT = syscall.Errno(0x2a)
  1536. ENOSPC = syscall.Errno(0x1c)
  1537. ENOSR = syscall.Errno(0x5a)
  1538. ENOSTR = syscall.Errno(0x5b)
  1539. ENOSYS = syscall.Errno(0x4e)
  1540. ENOTBLK = syscall.Errno(0xf)
  1541. ENOTCONN = syscall.Errno(0x39)
  1542. ENOTDIR = syscall.Errno(0x14)
  1543. ENOTEMPTY = syscall.Errno(0x42)
  1544. ENOTSOCK = syscall.Errno(0x26)
  1545. ENOTSUP = syscall.Errno(0x56)
  1546. ENOTTY = syscall.Errno(0x19)
  1547. ENXIO = syscall.Errno(0x6)
  1548. EOPNOTSUPP = syscall.Errno(0x2d)
  1549. EOVERFLOW = syscall.Errno(0x54)
  1550. EPERM = syscall.Errno(0x1)
  1551. EPFNOSUPPORT = syscall.Errno(0x2e)
  1552. EPIPE = syscall.Errno(0x20)
  1553. EPROCLIM = syscall.Errno(0x43)
  1554. EPROCUNAVAIL = syscall.Errno(0x4c)
  1555. EPROGMISMATCH = syscall.Errno(0x4b)
  1556. EPROGUNAVAIL = syscall.Errno(0x4a)
  1557. EPROTO = syscall.Errno(0x60)
  1558. EPROTONOSUPPORT = syscall.Errno(0x2b)
  1559. EPROTOTYPE = syscall.Errno(0x29)
  1560. ERANGE = syscall.Errno(0x22)
  1561. EREMOTE = syscall.Errno(0x47)
  1562. EROFS = syscall.Errno(0x1e)
  1563. ERPCMISMATCH = syscall.Errno(0x49)
  1564. ESHUTDOWN = syscall.Errno(0x3a)
  1565. ESOCKTNOSUPPORT = syscall.Errno(0x2c)
  1566. ESPIPE = syscall.Errno(0x1d)
  1567. ESRCH = syscall.Errno(0x3)
  1568. ESTALE = syscall.Errno(0x46)
  1569. ETIME = syscall.Errno(0x5c)
  1570. ETIMEDOUT = syscall.Errno(0x3c)
  1571. ETOOMANYREFS = syscall.Errno(0x3b)
  1572. ETXTBSY = syscall.Errno(0x1a)
  1573. EUSERS = syscall.Errno(0x44)
  1574. EWOULDBLOCK = syscall.Errno(0x23)
  1575. EXDEV = syscall.Errno(0x12)
  1576. )
  1577. // Signals
  1578. const (
  1579. SIGABRT = syscall.Signal(0x6)
  1580. SIGALRM = syscall.Signal(0xe)
  1581. SIGBUS = syscall.Signal(0xa)
  1582. SIGCHLD = syscall.Signal(0x14)
  1583. SIGCONT = syscall.Signal(0x13)
  1584. SIGEMT = syscall.Signal(0x7)
  1585. SIGFPE = syscall.Signal(0x8)
  1586. SIGHUP = syscall.Signal(0x1)
  1587. SIGILL = syscall.Signal(0x4)
  1588. SIGINFO = syscall.Signal(0x1d)
  1589. SIGINT = syscall.Signal(0x2)
  1590. SIGIO = syscall.Signal(0x17)
  1591. SIGIOT = syscall.Signal(0x6)
  1592. SIGKILL = syscall.Signal(0x9)
  1593. SIGPIPE = syscall.Signal(0xd)
  1594. SIGPROF = syscall.Signal(0x1b)
  1595. SIGPWR = syscall.Signal(0x20)
  1596. SIGQUIT = syscall.Signal(0x3)
  1597. SIGSEGV = syscall.Signal(0xb)
  1598. SIGSTOP = syscall.Signal(0x11)
  1599. SIGSYS = syscall.Signal(0xc)
  1600. SIGTERM = syscall.Signal(0xf)
  1601. SIGTRAP = syscall.Signal(0x5)
  1602. SIGTSTP = syscall.Signal(0x12)
  1603. SIGTTIN = syscall.Signal(0x15)
  1604. SIGTTOU = syscall.Signal(0x16)
  1605. SIGURG = syscall.Signal(0x10)
  1606. SIGUSR1 = syscall.Signal(0x1e)
  1607. SIGUSR2 = syscall.Signal(0x1f)
  1608. SIGVTALRM = syscall.Signal(0x1a)
  1609. SIGWINCH = syscall.Signal(0x1c)
  1610. SIGXCPU = syscall.Signal(0x18)
  1611. SIGXFSZ = syscall.Signal(0x19)
  1612. )
  1613. // Error table
  1614. var errorList = [...]struct {
  1615. num syscall.Errno
  1616. name string
  1617. desc string
  1618. }{
  1619. {1, "EPERM", "operation not permitted"},
  1620. {2, "ENOENT", "no such file or directory"},
  1621. {3, "ESRCH", "no such process"},
  1622. {4, "EINTR", "interrupted system call"},
  1623. {5, "EIO", "input/output error"},
  1624. {6, "ENXIO", "device not configured"},
  1625. {7, "E2BIG", "argument list too long"},
  1626. {8, "ENOEXEC", "exec format error"},
  1627. {9, "EBADF", "bad file descriptor"},
  1628. {10, "ECHILD", "no child processes"},
  1629. {11, "EDEADLK", "resource deadlock avoided"},
  1630. {12, "ENOMEM", "cannot allocate memory"},
  1631. {13, "EACCES", "permission denied"},
  1632. {14, "EFAULT", "bad address"},
  1633. {15, "ENOTBLK", "block device required"},
  1634. {16, "EBUSY", "device busy"},
  1635. {17, "EEXIST", "file exists"},
  1636. {18, "EXDEV", "cross-device link"},
  1637. {19, "ENODEV", "operation not supported by device"},
  1638. {20, "ENOTDIR", "not a directory"},
  1639. {21, "EISDIR", "is a directory"},
  1640. {22, "EINVAL", "invalid argument"},
  1641. {23, "ENFILE", "too many open files in system"},
  1642. {24, "EMFILE", "too many open files"},
  1643. {25, "ENOTTY", "inappropriate ioctl for device"},
  1644. {26, "ETXTBSY", "text file busy"},
  1645. {27, "EFBIG", "file too large"},
  1646. {28, "ENOSPC", "no space left on device"},
  1647. {29, "ESPIPE", "illegal seek"},
  1648. {30, "EROFS", "read-only file system"},
  1649. {31, "EMLINK", "too many links"},
  1650. {32, "EPIPE", "broken pipe"},
  1651. {33, "EDOM", "numerical argument out of domain"},
  1652. {34, "ERANGE", "result too large or too small"},
  1653. {35, "EAGAIN", "resource temporarily unavailable"},
  1654. {36, "EINPROGRESS", "operation now in progress"},
  1655. {37, "EALREADY", "operation already in progress"},
  1656. {38, "ENOTSOCK", "socket operation on non-socket"},
  1657. {39, "EDESTADDRREQ", "destination address required"},
  1658. {40, "EMSGSIZE", "message too long"},
  1659. {41, "EPROTOTYPE", "protocol wrong type for socket"},
  1660. {42, "ENOPROTOOPT", "protocol option not available"},
  1661. {43, "EPROTONOSUPPORT", "protocol not supported"},
  1662. {44, "ESOCKTNOSUPPORT", "socket type not supported"},
  1663. {45, "EOPNOTSUPP", "operation not supported"},
  1664. {46, "EPFNOSUPPORT", "protocol family not supported"},
  1665. {47, "EAFNOSUPPORT", "address family not supported by protocol family"},
  1666. {48, "EADDRINUSE", "address already in use"},
  1667. {49, "EADDRNOTAVAIL", "can't assign requested address"},
  1668. {50, "ENETDOWN", "network is down"},
  1669. {51, "ENETUNREACH", "network is unreachable"},
  1670. {52, "ENETRESET", "network dropped connection on reset"},
  1671. {53, "ECONNABORTED", "software caused connection abort"},
  1672. {54, "ECONNRESET", "connection reset by peer"},
  1673. {55, "ENOBUFS", "no buffer space available"},
  1674. {56, "EISCONN", "socket is already connected"},
  1675. {57, "ENOTCONN", "socket is not connected"},
  1676. {58, "ESHUTDOWN", "can't send after socket shutdown"},
  1677. {59, "ETOOMANYREFS", "too many references: can't splice"},
  1678. {60, "ETIMEDOUT", "connection timed out"},
  1679. {61, "ECONNREFUSED", "connection refused"},
  1680. {62, "ELOOP", "too many levels of symbolic links"},
  1681. {63, "ENAMETOOLONG", "file name too long"},
  1682. {64, "EHOSTDOWN", "host is down"},
  1683. {65, "EHOSTUNREACH", "no route to host"},
  1684. {66, "ENOTEMPTY", "directory not empty"},
  1685. {67, "EPROCLIM", "too many processes"},
  1686. {68, "EUSERS", "too many users"},
  1687. {69, "EDQUOT", "disc quota exceeded"},
  1688. {70, "ESTALE", "stale NFS file handle"},
  1689. {71, "EREMOTE", "too many levels of remote in path"},
  1690. {72, "EBADRPC", "RPC struct is bad"},
  1691. {73, "ERPCMISMATCH", "RPC version wrong"},
  1692. {74, "EPROGUNAVAIL", "RPC prog. not avail"},
  1693. {75, "EPROGMISMATCH", "program version wrong"},
  1694. {76, "EPROCUNAVAIL", "bad procedure for program"},
  1695. {77, "ENOLCK", "no locks available"},
  1696. {78, "ENOSYS", "function not implemented"},
  1697. {79, "EFTYPE", "inappropriate file type or format"},
  1698. {80, "EAUTH", "authentication error"},
  1699. {81, "ENEEDAUTH", "need authenticator"},
  1700. {82, "EIDRM", "identifier removed"},
  1701. {83, "ENOMSG", "no message of desired type"},
  1702. {84, "EOVERFLOW", "value too large to be stored in data type"},
  1703. {85, "EILSEQ", "illegal byte sequence"},
  1704. {86, "ENOTSUP", "not supported"},
  1705. {87, "ECANCELED", "operation Canceled"},
  1706. {88, "EBADMSG", "bad or Corrupt message"},
  1707. {89, "ENODATA", "no message available"},
  1708. {90, "ENOSR", "no STREAM resources"},
  1709. {91, "ENOSTR", "not a STREAM"},
  1710. {92, "ETIME", "STREAM ioctl timeout"},
  1711. {93, "ENOATTR", "attribute not found"},
  1712. {94, "EMULTIHOP", "multihop attempted"},
  1713. {95, "ENOLINK", "link has been severed"},
  1714. {96, "ELAST", "protocol error"},
  1715. }
  1716. // Signal table
  1717. var signalList = [...]struct {
  1718. num syscall.Signal
  1719. name string
  1720. desc string
  1721. }{
  1722. {1, "SIGHUP", "hangup"},
  1723. {2, "SIGINT", "interrupt"},
  1724. {3, "SIGQUIT", "quit"},
  1725. {4, "SIGILL", "illegal instruction"},
  1726. {5, "SIGTRAP", "trace/BPT trap"},
  1727. {6, "SIGIOT", "abort trap"},
  1728. {7, "SIGEMT", "EMT trap"},
  1729. {8, "SIGFPE", "floating point exception"},
  1730. {9, "SIGKILL", "killed"},
  1731. {10, "SIGBUS", "bus error"},
  1732. {11, "SIGSEGV", "segmentation fault"},
  1733. {12, "SIGSYS", "bad system call"},
  1734. {13, "SIGPIPE", "broken pipe"},
  1735. {14, "SIGALRM", "alarm clock"},
  1736. {15, "SIGTERM", "terminated"},
  1737. {16, "SIGURG", "urgent I/O condition"},
  1738. {17, "SIGSTOP", "stopped (signal)"},
  1739. {18, "SIGTSTP", "stopped"},
  1740. {19, "SIGCONT", "continued"},
  1741. {20, "SIGCHLD", "child exited"},
  1742. {21, "SIGTTIN", "stopped (tty input)"},
  1743. {22, "SIGTTOU", "stopped (tty output)"},
  1744. {23, "SIGIO", "I/O possible"},
  1745. {24, "SIGXCPU", "cputime limit exceeded"},
  1746. {25, "SIGXFSZ", "filesize limit exceeded"},
  1747. {26, "SIGVTALRM", "virtual timer expired"},
  1748. {27, "SIGPROF", "profiling timer expired"},
  1749. {28, "SIGWINCH", "window size changes"},
  1750. {29, "SIGINFO", "information request"},
  1751. {30, "SIGUSR1", "user defined signal 1"},
  1752. {31, "SIGUSR2", "user defined signal 2"},
  1753. {32, "SIGPWR", "power fail/restart"},
  1754. }