zerrors_openbsd_amd64.go 72 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767
  1. // mkerrors.sh -m64
  2. // Code generated by the command above; see README.md. DO NOT EDIT.
  3. // +build amd64,openbsd
  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_BLUETOOTH = 0x20
  11. AF_CCITT = 0xa
  12. AF_CHAOS = 0x5
  13. AF_CNT = 0x15
  14. AF_COIP = 0x14
  15. AF_DATAKIT = 0x9
  16. AF_DECnet = 0xc
  17. AF_DLI = 0xd
  18. AF_E164 = 0x1a
  19. AF_ECMA = 0x8
  20. AF_ENCAP = 0x1c
  21. AF_HYLINK = 0xf
  22. AF_IMPLINK = 0x3
  23. AF_INET = 0x2
  24. AF_INET6 = 0x18
  25. AF_IPX = 0x17
  26. AF_ISDN = 0x1a
  27. AF_ISO = 0x7
  28. AF_KEY = 0x1e
  29. AF_LAT = 0xe
  30. AF_LINK = 0x12
  31. AF_LOCAL = 0x1
  32. AF_MAX = 0x24
  33. AF_MPLS = 0x21
  34. AF_NATM = 0x1b
  35. AF_NS = 0x6
  36. AF_OSI = 0x7
  37. AF_PUP = 0x4
  38. AF_ROUTE = 0x11
  39. AF_SIP = 0x1d
  40. AF_SNA = 0xb
  41. AF_UNIX = 0x1
  42. AF_UNSPEC = 0x0
  43. ALTWERASE = 0x200
  44. ARPHRD_ETHER = 0x1
  45. ARPHRD_FRELAY = 0xf
  46. ARPHRD_IEEE1394 = 0x18
  47. ARPHRD_IEEE802 = 0x6
  48. B0 = 0x0
  49. B110 = 0x6e
  50. B115200 = 0x1c200
  51. B1200 = 0x4b0
  52. B134 = 0x86
  53. B14400 = 0x3840
  54. B150 = 0x96
  55. B1800 = 0x708
  56. B19200 = 0x4b00
  57. B200 = 0xc8
  58. B230400 = 0x38400
  59. B2400 = 0x960
  60. B28800 = 0x7080
  61. B300 = 0x12c
  62. B38400 = 0x9600
  63. B4800 = 0x12c0
  64. B50 = 0x32
  65. B57600 = 0xe100
  66. B600 = 0x258
  67. B7200 = 0x1c20
  68. B75 = 0x4b
  69. B76800 = 0x12c00
  70. B9600 = 0x2580
  71. BIOCFLUSH = 0x20004268
  72. BIOCGBLEN = 0x40044266
  73. BIOCGDIRFILT = 0x4004427c
  74. BIOCGDLT = 0x4004426a
  75. BIOCGDLTLIST = 0xc010427b
  76. BIOCGETIF = 0x4020426b
  77. BIOCGFILDROP = 0x40044278
  78. BIOCGHDRCMPLT = 0x40044274
  79. BIOCGRSIG = 0x40044273
  80. BIOCGRTIMEOUT = 0x4010426e
  81. BIOCGSTATS = 0x4008426f
  82. BIOCIMMEDIATE = 0x80044270
  83. BIOCLOCK = 0x20004276
  84. BIOCPROMISC = 0x20004269
  85. BIOCSBLEN = 0xc0044266
  86. BIOCSDIRFILT = 0x8004427d
  87. BIOCSDLT = 0x8004427a
  88. BIOCSETF = 0x80104267
  89. BIOCSETIF = 0x8020426c
  90. BIOCSETWF = 0x80104277
  91. BIOCSFILDROP = 0x80044279
  92. BIOCSHDRCMPLT = 0x80044275
  93. BIOCSRSIG = 0x80044272
  94. BIOCSRTIMEOUT = 0x8010426d
  95. BIOCVERSION = 0x40044271
  96. BPF_A = 0x10
  97. BPF_ABS = 0x20
  98. BPF_ADD = 0x0
  99. BPF_ALIGNMENT = 0x4
  100. BPF_ALU = 0x4
  101. BPF_AND = 0x50
  102. BPF_B = 0x10
  103. BPF_DIRECTION_IN = 0x1
  104. BPF_DIRECTION_OUT = 0x2
  105. BPF_DIV = 0x30
  106. BPF_H = 0x8
  107. BPF_IMM = 0x0
  108. BPF_IND = 0x40
  109. BPF_JA = 0x0
  110. BPF_JEQ = 0x10
  111. BPF_JGE = 0x30
  112. BPF_JGT = 0x20
  113. BPF_JMP = 0x5
  114. BPF_JSET = 0x40
  115. BPF_K = 0x0
  116. BPF_LD = 0x0
  117. BPF_LDX = 0x1
  118. BPF_LEN = 0x80
  119. BPF_LSH = 0x60
  120. BPF_MAJOR_VERSION = 0x1
  121. BPF_MAXBUFSIZE = 0x200000
  122. BPF_MAXINSNS = 0x200
  123. BPF_MEM = 0x60
  124. BPF_MEMWORDS = 0x10
  125. BPF_MINBUFSIZE = 0x20
  126. BPF_MINOR_VERSION = 0x1
  127. BPF_MISC = 0x7
  128. BPF_MSH = 0xa0
  129. BPF_MUL = 0x20
  130. BPF_NEG = 0x80
  131. BPF_OR = 0x40
  132. BPF_RELEASE = 0x30bb6
  133. BPF_RET = 0x6
  134. BPF_RSH = 0x70
  135. BPF_ST = 0x2
  136. BPF_STX = 0x3
  137. BPF_SUB = 0x10
  138. BPF_TAX = 0x0
  139. BPF_TXA = 0x80
  140. BPF_W = 0x0
  141. BPF_X = 0x8
  142. BRKINT = 0x2
  143. CFLUSH = 0xf
  144. CLOCAL = 0x8000
  145. CLOCK_BOOTTIME = 0x6
  146. CLOCK_MONOTONIC = 0x3
  147. CLOCK_PROCESS_CPUTIME_ID = 0x2
  148. CLOCK_REALTIME = 0x0
  149. CLOCK_THREAD_CPUTIME_ID = 0x4
  150. CLOCK_UPTIME = 0x5
  151. CREAD = 0x800
  152. CRTSCTS = 0x10000
  153. CS5 = 0x0
  154. CS6 = 0x100
  155. CS7 = 0x200
  156. CS8 = 0x300
  157. CSIZE = 0x300
  158. CSTART = 0x11
  159. CSTATUS = 0xff
  160. CSTOP = 0x13
  161. CSTOPB = 0x400
  162. CSUSP = 0x1a
  163. CTL_HW = 0x6
  164. CTL_KERN = 0x1
  165. CTL_MAXNAME = 0xc
  166. CTL_NET = 0x4
  167. DIOCOSFPFLUSH = 0x2000444e
  168. DLT_ARCNET = 0x7
  169. DLT_ATM_RFC1483 = 0xb
  170. DLT_AX25 = 0x3
  171. DLT_CHAOS = 0x5
  172. DLT_C_HDLC = 0x68
  173. DLT_EN10MB = 0x1
  174. DLT_EN3MB = 0x2
  175. DLT_ENC = 0xd
  176. DLT_FDDI = 0xa
  177. DLT_IEEE802 = 0x6
  178. DLT_IEEE802_11 = 0x69
  179. DLT_IEEE802_11_RADIO = 0x7f
  180. DLT_LOOP = 0xc
  181. DLT_MPLS = 0xdb
  182. DLT_NULL = 0x0
  183. DLT_OPENFLOW = 0x10b
  184. DLT_PFLOG = 0x75
  185. DLT_PFSYNC = 0x12
  186. DLT_PPP = 0x9
  187. DLT_PPP_BSDOS = 0x10
  188. DLT_PPP_ETHER = 0x33
  189. DLT_PPP_SERIAL = 0x32
  190. DLT_PRONET = 0x4
  191. DLT_RAW = 0xe
  192. DLT_SLIP = 0x8
  193. DLT_SLIP_BSDOS = 0xf
  194. DLT_USBPCAP = 0xf9
  195. DLT_USER0 = 0x93
  196. DLT_USER1 = 0x94
  197. DLT_USER10 = 0x9d
  198. DLT_USER11 = 0x9e
  199. DLT_USER12 = 0x9f
  200. DLT_USER13 = 0xa0
  201. DLT_USER14 = 0xa1
  202. DLT_USER15 = 0xa2
  203. DLT_USER2 = 0x95
  204. DLT_USER3 = 0x96
  205. DLT_USER4 = 0x97
  206. DLT_USER5 = 0x98
  207. DLT_USER6 = 0x99
  208. DLT_USER7 = 0x9a
  209. DLT_USER8 = 0x9b
  210. DLT_USER9 = 0x9c
  211. DT_BLK = 0x6
  212. DT_CHR = 0x2
  213. DT_DIR = 0x4
  214. DT_FIFO = 0x1
  215. DT_LNK = 0xa
  216. DT_REG = 0x8
  217. DT_SOCK = 0xc
  218. DT_UNKNOWN = 0x0
  219. ECHO = 0x8
  220. ECHOCTL = 0x40
  221. ECHOE = 0x2
  222. ECHOK = 0x4
  223. ECHOKE = 0x1
  224. ECHONL = 0x10
  225. ECHOPRT = 0x20
  226. EMT_TAGOVF = 0x1
  227. EMUL_ENABLED = 0x1
  228. EMUL_NATIVE = 0x2
  229. ENDRUNDISC = 0x9
  230. ETHERMIN = 0x2e
  231. ETHERMTU = 0x5dc
  232. ETHERTYPE_8023 = 0x4
  233. ETHERTYPE_AARP = 0x80f3
  234. ETHERTYPE_ACCTON = 0x8390
  235. ETHERTYPE_AEONIC = 0x8036
  236. ETHERTYPE_ALPHA = 0x814a
  237. ETHERTYPE_AMBER = 0x6008
  238. ETHERTYPE_AMOEBA = 0x8145
  239. ETHERTYPE_AOE = 0x88a2
  240. ETHERTYPE_APOLLO = 0x80f7
  241. ETHERTYPE_APOLLODOMAIN = 0x8019
  242. ETHERTYPE_APPLETALK = 0x809b
  243. ETHERTYPE_APPLITEK = 0x80c7
  244. ETHERTYPE_ARGONAUT = 0x803a
  245. ETHERTYPE_ARP = 0x806
  246. ETHERTYPE_AT = 0x809b
  247. ETHERTYPE_ATALK = 0x809b
  248. ETHERTYPE_ATOMIC = 0x86df
  249. ETHERTYPE_ATT = 0x8069
  250. ETHERTYPE_ATTSTANFORD = 0x8008
  251. ETHERTYPE_AUTOPHON = 0x806a
  252. ETHERTYPE_AXIS = 0x8856
  253. ETHERTYPE_BCLOOP = 0x9003
  254. ETHERTYPE_BOFL = 0x8102
  255. ETHERTYPE_CABLETRON = 0x7034
  256. ETHERTYPE_CHAOS = 0x804
  257. ETHERTYPE_COMDESIGN = 0x806c
  258. ETHERTYPE_COMPUGRAPHIC = 0x806d
  259. ETHERTYPE_COUNTERPOINT = 0x8062
  260. ETHERTYPE_CRONUS = 0x8004
  261. ETHERTYPE_CRONUSVLN = 0x8003
  262. ETHERTYPE_DCA = 0x1234
  263. ETHERTYPE_DDE = 0x807b
  264. ETHERTYPE_DEBNI = 0xaaaa
  265. ETHERTYPE_DECAM = 0x8048
  266. ETHERTYPE_DECCUST = 0x6006
  267. ETHERTYPE_DECDIAG = 0x6005
  268. ETHERTYPE_DECDNS = 0x803c
  269. ETHERTYPE_DECDTS = 0x803e
  270. ETHERTYPE_DECEXPER = 0x6000
  271. ETHERTYPE_DECLAST = 0x8041
  272. ETHERTYPE_DECLTM = 0x803f
  273. ETHERTYPE_DECMUMPS = 0x6009
  274. ETHERTYPE_DECNETBIOS = 0x8040
  275. ETHERTYPE_DELTACON = 0x86de
  276. ETHERTYPE_DIDDLE = 0x4321
  277. ETHERTYPE_DLOG1 = 0x660
  278. ETHERTYPE_DLOG2 = 0x661
  279. ETHERTYPE_DN = 0x6003
  280. ETHERTYPE_DOGFIGHT = 0x1989
  281. ETHERTYPE_DSMD = 0x8039
  282. ETHERTYPE_ECMA = 0x803
  283. ETHERTYPE_ENCRYPT = 0x803d
  284. ETHERTYPE_ES = 0x805d
  285. ETHERTYPE_EXCELAN = 0x8010
  286. ETHERTYPE_EXPERDATA = 0x8049
  287. ETHERTYPE_FLIP = 0x8146
  288. ETHERTYPE_FLOWCONTROL = 0x8808
  289. ETHERTYPE_FRARP = 0x808
  290. ETHERTYPE_GENDYN = 0x8068
  291. ETHERTYPE_HAYES = 0x8130
  292. ETHERTYPE_HIPPI_FP = 0x8180
  293. ETHERTYPE_HITACHI = 0x8820
  294. ETHERTYPE_HP = 0x8005
  295. ETHERTYPE_IEEEPUP = 0xa00
  296. ETHERTYPE_IEEEPUPAT = 0xa01
  297. ETHERTYPE_IMLBL = 0x4c42
  298. ETHERTYPE_IMLBLDIAG = 0x424c
  299. ETHERTYPE_IP = 0x800
  300. ETHERTYPE_IPAS = 0x876c
  301. ETHERTYPE_IPV6 = 0x86dd
  302. ETHERTYPE_IPX = 0x8137
  303. ETHERTYPE_IPXNEW = 0x8037
  304. ETHERTYPE_KALPANA = 0x8582
  305. ETHERTYPE_LANBRIDGE = 0x8038
  306. ETHERTYPE_LANPROBE = 0x8888
  307. ETHERTYPE_LAT = 0x6004
  308. ETHERTYPE_LBACK = 0x9000
  309. ETHERTYPE_LITTLE = 0x8060
  310. ETHERTYPE_LLDP = 0x88cc
  311. ETHERTYPE_LOGICRAFT = 0x8148
  312. ETHERTYPE_LOOPBACK = 0x9000
  313. ETHERTYPE_MATRA = 0x807a
  314. ETHERTYPE_MAX = 0xffff
  315. ETHERTYPE_MERIT = 0x807c
  316. ETHERTYPE_MICP = 0x873a
  317. ETHERTYPE_MOPDL = 0x6001
  318. ETHERTYPE_MOPRC = 0x6002
  319. ETHERTYPE_MOTOROLA = 0x818d
  320. ETHERTYPE_MPLS = 0x8847
  321. ETHERTYPE_MPLS_MCAST = 0x8848
  322. ETHERTYPE_MUMPS = 0x813f
  323. ETHERTYPE_NBPCC = 0x3c04
  324. ETHERTYPE_NBPCLAIM = 0x3c09
  325. ETHERTYPE_NBPCLREQ = 0x3c05
  326. ETHERTYPE_NBPCLRSP = 0x3c06
  327. ETHERTYPE_NBPCREQ = 0x3c02
  328. ETHERTYPE_NBPCRSP = 0x3c03
  329. ETHERTYPE_NBPDG = 0x3c07
  330. ETHERTYPE_NBPDGB = 0x3c08
  331. ETHERTYPE_NBPDLTE = 0x3c0a
  332. ETHERTYPE_NBPRAR = 0x3c0c
  333. ETHERTYPE_NBPRAS = 0x3c0b
  334. ETHERTYPE_NBPRST = 0x3c0d
  335. ETHERTYPE_NBPSCD = 0x3c01
  336. ETHERTYPE_NBPVCD = 0x3c00
  337. ETHERTYPE_NBS = 0x802
  338. ETHERTYPE_NCD = 0x8149
  339. ETHERTYPE_NESTAR = 0x8006
  340. ETHERTYPE_NETBEUI = 0x8191
  341. ETHERTYPE_NOVELL = 0x8138
  342. ETHERTYPE_NS = 0x600
  343. ETHERTYPE_NSAT = 0x601
  344. ETHERTYPE_NSCOMPAT = 0x807
  345. ETHERTYPE_NTRAILER = 0x10
  346. ETHERTYPE_OS9 = 0x7007
  347. ETHERTYPE_OS9NET = 0x7009
  348. ETHERTYPE_PACER = 0x80c6
  349. ETHERTYPE_PAE = 0x888e
  350. ETHERTYPE_PCS = 0x4242
  351. ETHERTYPE_PLANNING = 0x8044
  352. ETHERTYPE_PPP = 0x880b
  353. ETHERTYPE_PPPOE = 0x8864
  354. ETHERTYPE_PPPOEDISC = 0x8863
  355. ETHERTYPE_PRIMENTS = 0x7031
  356. ETHERTYPE_PUP = 0x200
  357. ETHERTYPE_PUPAT = 0x200
  358. ETHERTYPE_QINQ = 0x88a8
  359. ETHERTYPE_RACAL = 0x7030
  360. ETHERTYPE_RATIONAL = 0x8150
  361. ETHERTYPE_RAWFR = 0x6559
  362. ETHERTYPE_RCL = 0x1995
  363. ETHERTYPE_RDP = 0x8739
  364. ETHERTYPE_RETIX = 0x80f2
  365. ETHERTYPE_REVARP = 0x8035
  366. ETHERTYPE_SCA = 0x6007
  367. ETHERTYPE_SECTRA = 0x86db
  368. ETHERTYPE_SECUREDATA = 0x876d
  369. ETHERTYPE_SGITW = 0x817e
  370. ETHERTYPE_SG_BOUNCE = 0x8016
  371. ETHERTYPE_SG_DIAG = 0x8013
  372. ETHERTYPE_SG_NETGAMES = 0x8014
  373. ETHERTYPE_SG_RESV = 0x8015
  374. ETHERTYPE_SIMNET = 0x5208
  375. ETHERTYPE_SLOW = 0x8809
  376. ETHERTYPE_SNA = 0x80d5
  377. ETHERTYPE_SNMP = 0x814c
  378. ETHERTYPE_SONIX = 0xfaf5
  379. ETHERTYPE_SPIDER = 0x809f
  380. ETHERTYPE_SPRITE = 0x500
  381. ETHERTYPE_STP = 0x8181
  382. ETHERTYPE_TALARIS = 0x812b
  383. ETHERTYPE_TALARISMC = 0x852b
  384. ETHERTYPE_TCPCOMP = 0x876b
  385. ETHERTYPE_TCPSM = 0x9002
  386. ETHERTYPE_TEC = 0x814f
  387. ETHERTYPE_TIGAN = 0x802f
  388. ETHERTYPE_TRAIL = 0x1000
  389. ETHERTYPE_TRANSETHER = 0x6558
  390. ETHERTYPE_TYMSHARE = 0x802e
  391. ETHERTYPE_UBBST = 0x7005
  392. ETHERTYPE_UBDEBUG = 0x900
  393. ETHERTYPE_UBDIAGLOOP = 0x7002
  394. ETHERTYPE_UBDL = 0x7000
  395. ETHERTYPE_UBNIU = 0x7001
  396. ETHERTYPE_UBNMC = 0x7003
  397. ETHERTYPE_VALID = 0x1600
  398. ETHERTYPE_VARIAN = 0x80dd
  399. ETHERTYPE_VAXELN = 0x803b
  400. ETHERTYPE_VEECO = 0x8067
  401. ETHERTYPE_VEXP = 0x805b
  402. ETHERTYPE_VGLAB = 0x8131
  403. ETHERTYPE_VINES = 0xbad
  404. ETHERTYPE_VINESECHO = 0xbaf
  405. ETHERTYPE_VINESLOOP = 0xbae
  406. ETHERTYPE_VITAL = 0xff00
  407. ETHERTYPE_VLAN = 0x8100
  408. ETHERTYPE_VLTLMAN = 0x8080
  409. ETHERTYPE_VPROD = 0x805c
  410. ETHERTYPE_VURESERVED = 0x8147
  411. ETHERTYPE_WATERLOO = 0x8130
  412. ETHERTYPE_WELLFLEET = 0x8103
  413. ETHERTYPE_X25 = 0x805
  414. ETHERTYPE_X75 = 0x801
  415. ETHERTYPE_XNSSM = 0x9001
  416. ETHERTYPE_XTP = 0x817d
  417. ETHER_ADDR_LEN = 0x6
  418. ETHER_ALIGN = 0x2
  419. ETHER_CRC_LEN = 0x4
  420. ETHER_CRC_POLY_BE = 0x4c11db6
  421. ETHER_CRC_POLY_LE = 0xedb88320
  422. ETHER_HDR_LEN = 0xe
  423. ETHER_MAX_DIX_LEN = 0x600
  424. ETHER_MAX_HARDMTU_LEN = 0xff9b
  425. ETHER_MAX_LEN = 0x5ee
  426. ETHER_MIN_LEN = 0x40
  427. ETHER_TYPE_LEN = 0x2
  428. ETHER_VLAN_ENCAP_LEN = 0x4
  429. EVFILT_AIO = -0x3
  430. EVFILT_DEVICE = -0x8
  431. EVFILT_PROC = -0x5
  432. EVFILT_READ = -0x1
  433. EVFILT_SIGNAL = -0x6
  434. EVFILT_SYSCOUNT = 0x8
  435. EVFILT_TIMER = -0x7
  436. EVFILT_VNODE = -0x4
  437. EVFILT_WRITE = -0x2
  438. EVL_ENCAPLEN = 0x4
  439. EVL_PRIO_BITS = 0xd
  440. EVL_PRIO_MAX = 0x7
  441. EVL_VLID_MASK = 0xfff
  442. EVL_VLID_MAX = 0xffe
  443. EVL_VLID_MIN = 0x1
  444. EVL_VLID_NULL = 0x0
  445. EV_ADD = 0x1
  446. EV_CLEAR = 0x20
  447. EV_DELETE = 0x2
  448. EV_DISABLE = 0x8
  449. EV_DISPATCH = 0x80
  450. EV_ENABLE = 0x4
  451. EV_EOF = 0x8000
  452. EV_ERROR = 0x4000
  453. EV_FLAG1 = 0x2000
  454. EV_ONESHOT = 0x10
  455. EV_RECEIPT = 0x40
  456. EV_SYSFLAGS = 0xf000
  457. EXTA = 0x4b00
  458. EXTB = 0x9600
  459. EXTPROC = 0x800
  460. FD_CLOEXEC = 0x1
  461. FD_SETSIZE = 0x400
  462. FLUSHO = 0x800000
  463. F_DUPFD = 0x0
  464. F_DUPFD_CLOEXEC = 0xa
  465. F_GETFD = 0x1
  466. F_GETFL = 0x3
  467. F_GETLK = 0x7
  468. F_GETOWN = 0x5
  469. F_ISATTY = 0xb
  470. F_OK = 0x0
  471. F_RDLCK = 0x1
  472. F_SETFD = 0x2
  473. F_SETFL = 0x4
  474. F_SETLK = 0x8
  475. F_SETLKW = 0x9
  476. F_SETOWN = 0x6
  477. F_UNLCK = 0x2
  478. F_WRLCK = 0x3
  479. HUPCL = 0x4000
  480. HW_MACHINE = 0x1
  481. ICANON = 0x100
  482. ICMP6_FILTER = 0x12
  483. ICRNL = 0x100
  484. IEXTEN = 0x400
  485. IFAN_ARRIVAL = 0x0
  486. IFAN_DEPARTURE = 0x1
  487. IFF_ALLMULTI = 0x200
  488. IFF_BROADCAST = 0x2
  489. IFF_CANTCHANGE = 0x8e52
  490. IFF_DEBUG = 0x4
  491. IFF_LINK0 = 0x1000
  492. IFF_LINK1 = 0x2000
  493. IFF_LINK2 = 0x4000
  494. IFF_LOOPBACK = 0x8
  495. IFF_MULTICAST = 0x8000
  496. IFF_NOARP = 0x80
  497. IFF_OACTIVE = 0x400
  498. IFF_POINTOPOINT = 0x10
  499. IFF_PROMISC = 0x100
  500. IFF_RUNNING = 0x40
  501. IFF_SIMPLEX = 0x800
  502. IFF_STATICARP = 0x20
  503. IFF_UP = 0x1
  504. IFNAMSIZ = 0x10
  505. IFT_1822 = 0x2
  506. IFT_A12MPPSWITCH = 0x82
  507. IFT_AAL2 = 0xbb
  508. IFT_AAL5 = 0x31
  509. IFT_ADSL = 0x5e
  510. IFT_AFLANE8023 = 0x3b
  511. IFT_AFLANE8025 = 0x3c
  512. IFT_ARAP = 0x58
  513. IFT_ARCNET = 0x23
  514. IFT_ARCNETPLUS = 0x24
  515. IFT_ASYNC = 0x54
  516. IFT_ATM = 0x25
  517. IFT_ATMDXI = 0x69
  518. IFT_ATMFUNI = 0x6a
  519. IFT_ATMIMA = 0x6b
  520. IFT_ATMLOGICAL = 0x50
  521. IFT_ATMRADIO = 0xbd
  522. IFT_ATMSUBINTERFACE = 0x86
  523. IFT_ATMVCIENDPT = 0xc2
  524. IFT_ATMVIRTUAL = 0x95
  525. IFT_BGPPOLICYACCOUNTING = 0xa2
  526. IFT_BLUETOOTH = 0xf8
  527. IFT_BRIDGE = 0xd1
  528. IFT_BSC = 0x53
  529. IFT_CARP = 0xf7
  530. IFT_CCTEMUL = 0x3d
  531. IFT_CEPT = 0x13
  532. IFT_CES = 0x85
  533. IFT_CHANNEL = 0x46
  534. IFT_CNR = 0x55
  535. IFT_COFFEE = 0x84
  536. IFT_COMPOSITELINK = 0x9b
  537. IFT_DCN = 0x8d
  538. IFT_DIGITALPOWERLINE = 0x8a
  539. IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
  540. IFT_DLSW = 0x4a
  541. IFT_DOCSCABLEDOWNSTREAM = 0x80
  542. IFT_DOCSCABLEMACLAYER = 0x7f
  543. IFT_DOCSCABLEUPSTREAM = 0x81
  544. IFT_DOCSCABLEUPSTREAMCHANNEL = 0xcd
  545. IFT_DS0 = 0x51
  546. IFT_DS0BUNDLE = 0x52
  547. IFT_DS1FDL = 0xaa
  548. IFT_DS3 = 0x1e
  549. IFT_DTM = 0x8c
  550. IFT_DUMMY = 0xf1
  551. IFT_DVBASILN = 0xac
  552. IFT_DVBASIOUT = 0xad
  553. IFT_DVBRCCDOWNSTREAM = 0x93
  554. IFT_DVBRCCMACLAYER = 0x92
  555. IFT_DVBRCCUPSTREAM = 0x94
  556. IFT_ECONET = 0xce
  557. IFT_ENC = 0xf4
  558. IFT_EON = 0x19
  559. IFT_EPLRS = 0x57
  560. IFT_ESCON = 0x49
  561. IFT_ETHER = 0x6
  562. IFT_FAITH = 0xf3
  563. IFT_FAST = 0x7d
  564. IFT_FASTETHER = 0x3e
  565. IFT_FASTETHERFX = 0x45
  566. IFT_FDDI = 0xf
  567. IFT_FIBRECHANNEL = 0x38
  568. IFT_FRAMERELAYINTERCONNECT = 0x3a
  569. IFT_FRAMERELAYMPI = 0x5c
  570. IFT_FRDLCIENDPT = 0xc1
  571. IFT_FRELAY = 0x20
  572. IFT_FRELAYDCE = 0x2c
  573. IFT_FRF16MFRBUNDLE = 0xa3
  574. IFT_FRFORWARD = 0x9e
  575. IFT_G703AT2MB = 0x43
  576. IFT_G703AT64K = 0x42
  577. IFT_GIF = 0xf0
  578. IFT_GIGABITETHERNET = 0x75
  579. IFT_GR303IDT = 0xb2
  580. IFT_GR303RDT = 0xb1
  581. IFT_H323GATEKEEPER = 0xa4
  582. IFT_H323PROXY = 0xa5
  583. IFT_HDH1822 = 0x3
  584. IFT_HDLC = 0x76
  585. IFT_HDSL2 = 0xa8
  586. IFT_HIPERLAN2 = 0xb7
  587. IFT_HIPPI = 0x2f
  588. IFT_HIPPIINTERFACE = 0x39
  589. IFT_HOSTPAD = 0x5a
  590. IFT_HSSI = 0x2e
  591. IFT_HY = 0xe
  592. IFT_IBM370PARCHAN = 0x48
  593. IFT_IDSL = 0x9a
  594. IFT_IEEE1394 = 0x90
  595. IFT_IEEE80211 = 0x47
  596. IFT_IEEE80212 = 0x37
  597. IFT_IEEE8023ADLAG = 0xa1
  598. IFT_IFGSN = 0x91
  599. IFT_IMT = 0xbe
  600. IFT_INFINIBAND = 0xc7
  601. IFT_INTERLEAVE = 0x7c
  602. IFT_IP = 0x7e
  603. IFT_IPFORWARD = 0x8e
  604. IFT_IPOVERATM = 0x72
  605. IFT_IPOVERCDLC = 0x6d
  606. IFT_IPOVERCLAW = 0x6e
  607. IFT_IPSWITCH = 0x4e
  608. IFT_ISDN = 0x3f
  609. IFT_ISDNBASIC = 0x14
  610. IFT_ISDNPRIMARY = 0x15
  611. IFT_ISDNS = 0x4b
  612. IFT_ISDNU = 0x4c
  613. IFT_ISO88022LLC = 0x29
  614. IFT_ISO88023 = 0x7
  615. IFT_ISO88024 = 0x8
  616. IFT_ISO88025 = 0x9
  617. IFT_ISO88025CRFPINT = 0x62
  618. IFT_ISO88025DTR = 0x56
  619. IFT_ISO88025FIBER = 0x73
  620. IFT_ISO88026 = 0xa
  621. IFT_ISUP = 0xb3
  622. IFT_L2VLAN = 0x87
  623. IFT_L3IPVLAN = 0x88
  624. IFT_L3IPXVLAN = 0x89
  625. IFT_LAPB = 0x10
  626. IFT_LAPD = 0x4d
  627. IFT_LAPF = 0x77
  628. IFT_LINEGROUP = 0xd2
  629. IFT_LOCALTALK = 0x2a
  630. IFT_LOOP = 0x18
  631. IFT_MBIM = 0xfa
  632. IFT_MEDIAMAILOVERIP = 0x8b
  633. IFT_MFSIGLINK = 0xa7
  634. IFT_MIOX25 = 0x26
  635. IFT_MODEM = 0x30
  636. IFT_MPC = 0x71
  637. IFT_MPLS = 0xa6
  638. IFT_MPLSTUNNEL = 0x96
  639. IFT_MSDSL = 0x8f
  640. IFT_MVL = 0xbf
  641. IFT_MYRINET = 0x63
  642. IFT_NFAS = 0xaf
  643. IFT_NSIP = 0x1b
  644. IFT_OPTICALCHANNEL = 0xc3
  645. IFT_OPTICALTRANSPORT = 0xc4
  646. IFT_OTHER = 0x1
  647. IFT_P10 = 0xc
  648. IFT_P80 = 0xd
  649. IFT_PARA = 0x22
  650. IFT_PFLOG = 0xf5
  651. IFT_PFLOW = 0xf9
  652. IFT_PFSYNC = 0xf6
  653. IFT_PLC = 0xae
  654. IFT_PON155 = 0xcf
  655. IFT_PON622 = 0xd0
  656. IFT_POS = 0xab
  657. IFT_PPP = 0x17
  658. IFT_PPPMULTILINKBUNDLE = 0x6c
  659. IFT_PROPATM = 0xc5
  660. IFT_PROPBWAP2MP = 0xb8
  661. IFT_PROPCNLS = 0x59
  662. IFT_PROPDOCSWIRELESSDOWNSTREAM = 0xb5
  663. IFT_PROPDOCSWIRELESSMACLAYER = 0xb4
  664. IFT_PROPDOCSWIRELESSUPSTREAM = 0xb6
  665. IFT_PROPMUX = 0x36
  666. IFT_PROPVIRTUAL = 0x35
  667. IFT_PROPWIRELESSP2P = 0x9d
  668. IFT_PTPSERIAL = 0x16
  669. IFT_PVC = 0xf2
  670. IFT_Q2931 = 0xc9
  671. IFT_QLLC = 0x44
  672. IFT_RADIOMAC = 0xbc
  673. IFT_RADSL = 0x5f
  674. IFT_REACHDSL = 0xc0
  675. IFT_RFC1483 = 0x9f
  676. IFT_RS232 = 0x21
  677. IFT_RSRB = 0x4f
  678. IFT_SDLC = 0x11
  679. IFT_SDSL = 0x60
  680. IFT_SHDSL = 0xa9
  681. IFT_SIP = 0x1f
  682. IFT_SIPSIG = 0xcc
  683. IFT_SIPTG = 0xcb
  684. IFT_SLIP = 0x1c
  685. IFT_SMDSDXI = 0x2b
  686. IFT_SMDSICIP = 0x34
  687. IFT_SONET = 0x27
  688. IFT_SONETOVERHEADCHANNEL = 0xb9
  689. IFT_SONETPATH = 0x32
  690. IFT_SONETVT = 0x33
  691. IFT_SRP = 0x97
  692. IFT_SS7SIGLINK = 0x9c
  693. IFT_STACKTOSTACK = 0x6f
  694. IFT_STARLAN = 0xb
  695. IFT_T1 = 0x12
  696. IFT_TDLC = 0x74
  697. IFT_TELINK = 0xc8
  698. IFT_TERMPAD = 0x5b
  699. IFT_TR008 = 0xb0
  700. IFT_TRANSPHDLC = 0x7b
  701. IFT_TUNNEL = 0x83
  702. IFT_ULTRA = 0x1d
  703. IFT_USB = 0xa0
  704. IFT_V11 = 0x40
  705. IFT_V35 = 0x2d
  706. IFT_V36 = 0x41
  707. IFT_V37 = 0x78
  708. IFT_VDSL = 0x61
  709. IFT_VIRTUALIPADDRESS = 0x70
  710. IFT_VIRTUALTG = 0xca
  711. IFT_VOICEDID = 0xd5
  712. IFT_VOICEEM = 0x64
  713. IFT_VOICEEMFGD = 0xd3
  714. IFT_VOICEENCAP = 0x67
  715. IFT_VOICEFGDEANA = 0xd4
  716. IFT_VOICEFXO = 0x65
  717. IFT_VOICEFXS = 0x66
  718. IFT_VOICEOVERATM = 0x98
  719. IFT_VOICEOVERCABLE = 0xc6
  720. IFT_VOICEOVERFRAMERELAY = 0x99
  721. IFT_VOICEOVERIP = 0x68
  722. IFT_X213 = 0x5d
  723. IFT_X25 = 0x5
  724. IFT_X25DDN = 0x4
  725. IFT_X25HUNTGROUP = 0x7a
  726. IFT_X25MLP = 0x79
  727. IFT_X25PLE = 0x28
  728. IFT_XETHER = 0x1a
  729. IGNBRK = 0x1
  730. IGNCR = 0x80
  731. IGNPAR = 0x4
  732. IMAXBEL = 0x2000
  733. INLCR = 0x40
  734. INPCK = 0x10
  735. IN_CLASSA_HOST = 0xffffff
  736. IN_CLASSA_MAX = 0x80
  737. IN_CLASSA_NET = 0xff000000
  738. IN_CLASSA_NSHIFT = 0x18
  739. IN_CLASSB_HOST = 0xffff
  740. IN_CLASSB_MAX = 0x10000
  741. IN_CLASSB_NET = 0xffff0000
  742. IN_CLASSB_NSHIFT = 0x10
  743. IN_CLASSC_HOST = 0xff
  744. IN_CLASSC_NET = 0xffffff00
  745. IN_CLASSC_NSHIFT = 0x8
  746. IN_CLASSD_HOST = 0xfffffff
  747. IN_CLASSD_NET = 0xf0000000
  748. IN_CLASSD_NSHIFT = 0x1c
  749. IN_LOOPBACKNET = 0x7f
  750. IN_RFC3021_HOST = 0x1
  751. IN_RFC3021_NET = 0xfffffffe
  752. IN_RFC3021_NSHIFT = 0x1f
  753. IPPROTO_AH = 0x33
  754. IPPROTO_CARP = 0x70
  755. IPPROTO_DIVERT = 0x102
  756. IPPROTO_DONE = 0x101
  757. IPPROTO_DSTOPTS = 0x3c
  758. IPPROTO_EGP = 0x8
  759. IPPROTO_ENCAP = 0x62
  760. IPPROTO_EON = 0x50
  761. IPPROTO_ESP = 0x32
  762. IPPROTO_ETHERIP = 0x61
  763. IPPROTO_FRAGMENT = 0x2c
  764. IPPROTO_GGP = 0x3
  765. IPPROTO_GRE = 0x2f
  766. IPPROTO_HOPOPTS = 0x0
  767. IPPROTO_ICMP = 0x1
  768. IPPROTO_ICMPV6 = 0x3a
  769. IPPROTO_IDP = 0x16
  770. IPPROTO_IGMP = 0x2
  771. IPPROTO_IP = 0x0
  772. IPPROTO_IPCOMP = 0x6c
  773. IPPROTO_IPIP = 0x4
  774. IPPROTO_IPV4 = 0x4
  775. IPPROTO_IPV6 = 0x29
  776. IPPROTO_MAX = 0x100
  777. IPPROTO_MAXID = 0x103
  778. IPPROTO_MOBILE = 0x37
  779. IPPROTO_MPLS = 0x89
  780. IPPROTO_NONE = 0x3b
  781. IPPROTO_PFSYNC = 0xf0
  782. IPPROTO_PIM = 0x67
  783. IPPROTO_PUP = 0xc
  784. IPPROTO_RAW = 0xff
  785. IPPROTO_ROUTING = 0x2b
  786. IPPROTO_RSVP = 0x2e
  787. IPPROTO_TCP = 0x6
  788. IPPROTO_TP = 0x1d
  789. IPPROTO_UDP = 0x11
  790. IPV6_AUTH_LEVEL = 0x35
  791. IPV6_AUTOFLOWLABEL = 0x3b
  792. IPV6_CHECKSUM = 0x1a
  793. IPV6_DEFAULT_MULTICAST_HOPS = 0x1
  794. IPV6_DEFAULT_MULTICAST_LOOP = 0x1
  795. IPV6_DEFHLIM = 0x40
  796. IPV6_DONTFRAG = 0x3e
  797. IPV6_DSTOPTS = 0x32
  798. IPV6_ESP_NETWORK_LEVEL = 0x37
  799. IPV6_ESP_TRANS_LEVEL = 0x36
  800. IPV6_FAITH = 0x1d
  801. IPV6_FLOWINFO_MASK = 0xffffff0f
  802. IPV6_FLOWLABEL_MASK = 0xffff0f00
  803. IPV6_FRAGTTL = 0x78
  804. IPV6_HLIMDEC = 0x1
  805. IPV6_HOPLIMIT = 0x2f
  806. IPV6_HOPOPTS = 0x31
  807. IPV6_IPCOMP_LEVEL = 0x3c
  808. IPV6_JOIN_GROUP = 0xc
  809. IPV6_LEAVE_GROUP = 0xd
  810. IPV6_MAXHLIM = 0xff
  811. IPV6_MAXPACKET = 0xffff
  812. IPV6_MINHOPCOUNT = 0x41
  813. IPV6_MMTU = 0x500
  814. IPV6_MULTICAST_HOPS = 0xa
  815. IPV6_MULTICAST_IF = 0x9
  816. IPV6_MULTICAST_LOOP = 0xb
  817. IPV6_NEXTHOP = 0x30
  818. IPV6_OPTIONS = 0x1
  819. IPV6_PATHMTU = 0x2c
  820. IPV6_PIPEX = 0x3f
  821. IPV6_PKTINFO = 0x2e
  822. IPV6_PORTRANGE = 0xe
  823. IPV6_PORTRANGE_DEFAULT = 0x0
  824. IPV6_PORTRANGE_HIGH = 0x1
  825. IPV6_PORTRANGE_LOW = 0x2
  826. IPV6_RECVDSTOPTS = 0x28
  827. IPV6_RECVDSTPORT = 0x40
  828. IPV6_RECVHOPLIMIT = 0x25
  829. IPV6_RECVHOPOPTS = 0x27
  830. IPV6_RECVPATHMTU = 0x2b
  831. IPV6_RECVPKTINFO = 0x24
  832. IPV6_RECVRTHDR = 0x26
  833. IPV6_RECVTCLASS = 0x39
  834. IPV6_RTABLE = 0x1021
  835. IPV6_RTHDR = 0x33
  836. IPV6_RTHDRDSTOPTS = 0x23
  837. IPV6_RTHDR_LOOSE = 0x0
  838. IPV6_RTHDR_STRICT = 0x1
  839. IPV6_RTHDR_TYPE_0 = 0x0
  840. IPV6_SOCKOPT_RESERVED1 = 0x3
  841. IPV6_TCLASS = 0x3d
  842. IPV6_UNICAST_HOPS = 0x4
  843. IPV6_USE_MIN_MTU = 0x2a
  844. IPV6_V6ONLY = 0x1b
  845. IPV6_VERSION = 0x60
  846. IPV6_VERSION_MASK = 0xf0
  847. IP_ADD_MEMBERSHIP = 0xc
  848. IP_AUTH_LEVEL = 0x14
  849. IP_DEFAULT_MULTICAST_LOOP = 0x1
  850. IP_DEFAULT_MULTICAST_TTL = 0x1
  851. IP_DF = 0x4000
  852. IP_DROP_MEMBERSHIP = 0xd
  853. IP_ESP_NETWORK_LEVEL = 0x16
  854. IP_ESP_TRANS_LEVEL = 0x15
  855. IP_HDRINCL = 0x2
  856. IP_IPCOMP_LEVEL = 0x1d
  857. IP_IPDEFTTL = 0x25
  858. IP_IPSECFLOWINFO = 0x24
  859. IP_IPSEC_LOCAL_AUTH = 0x1b
  860. IP_IPSEC_LOCAL_CRED = 0x19
  861. IP_IPSEC_LOCAL_ID = 0x17
  862. IP_IPSEC_REMOTE_AUTH = 0x1c
  863. IP_IPSEC_REMOTE_CRED = 0x1a
  864. IP_IPSEC_REMOTE_ID = 0x18
  865. IP_MAXPACKET = 0xffff
  866. IP_MAX_MEMBERSHIPS = 0xfff
  867. IP_MF = 0x2000
  868. IP_MINTTL = 0x20
  869. IP_MIN_MEMBERSHIPS = 0xf
  870. IP_MSS = 0x240
  871. IP_MULTICAST_IF = 0x9
  872. IP_MULTICAST_LOOP = 0xb
  873. IP_MULTICAST_TTL = 0xa
  874. IP_OFFMASK = 0x1fff
  875. IP_OPTIONS = 0x1
  876. IP_PIPEX = 0x22
  877. IP_PORTRANGE = 0x13
  878. IP_PORTRANGE_DEFAULT = 0x0
  879. IP_PORTRANGE_HIGH = 0x1
  880. IP_PORTRANGE_LOW = 0x2
  881. IP_RECVDSTADDR = 0x7
  882. IP_RECVDSTPORT = 0x21
  883. IP_RECVIF = 0x1e
  884. IP_RECVOPTS = 0x5
  885. IP_RECVRETOPTS = 0x6
  886. IP_RECVRTABLE = 0x23
  887. IP_RECVTTL = 0x1f
  888. IP_RETOPTS = 0x8
  889. IP_RF = 0x8000
  890. IP_RTABLE = 0x1021
  891. IP_SENDSRCADDR = 0x7
  892. IP_TOS = 0x3
  893. IP_TTL = 0x4
  894. ISIG = 0x80
  895. ISTRIP = 0x20
  896. IUCLC = 0x1000
  897. IXANY = 0x800
  898. IXOFF = 0x400
  899. IXON = 0x200
  900. KERN_HOSTNAME = 0xa
  901. KERN_OSRELEASE = 0x2
  902. KERN_OSTYPE = 0x1
  903. KERN_VERSION = 0x4
  904. LCNT_OVERLOAD_FLUSH = 0x6
  905. LOCK_EX = 0x2
  906. LOCK_NB = 0x4
  907. LOCK_SH = 0x1
  908. LOCK_UN = 0x8
  909. MADV_DONTNEED = 0x4
  910. MADV_FREE = 0x6
  911. MADV_NORMAL = 0x0
  912. MADV_RANDOM = 0x1
  913. MADV_SEQUENTIAL = 0x2
  914. MADV_SPACEAVAIL = 0x5
  915. MADV_WILLNEED = 0x3
  916. MAP_ANON = 0x1000
  917. MAP_ANONYMOUS = 0x1000
  918. MAP_CONCEAL = 0x8000
  919. MAP_COPY = 0x2
  920. MAP_FILE = 0x0
  921. MAP_FIXED = 0x10
  922. MAP_FLAGMASK = 0xfff7
  923. MAP_HASSEMAPHORE = 0x0
  924. MAP_INHERIT = 0x0
  925. MAP_INHERIT_COPY = 0x1
  926. MAP_INHERIT_NONE = 0x2
  927. MAP_INHERIT_SHARE = 0x0
  928. MAP_INHERIT_ZERO = 0x3
  929. MAP_NOEXTEND = 0x0
  930. MAP_NORESERVE = 0x0
  931. MAP_PRIVATE = 0x2
  932. MAP_RENAME = 0x0
  933. MAP_SHARED = 0x1
  934. MAP_STACK = 0x4000
  935. MAP_TRYFIXED = 0x0
  936. MCL_CURRENT = 0x1
  937. MCL_FUTURE = 0x2
  938. MNT_ASYNC = 0x40
  939. MNT_DEFEXPORTED = 0x200
  940. MNT_DELEXPORT = 0x20000
  941. MNT_DOOMED = 0x8000000
  942. MNT_EXPORTANON = 0x400
  943. MNT_EXPORTED = 0x100
  944. MNT_EXRDONLY = 0x80
  945. MNT_FORCE = 0x80000
  946. MNT_LAZY = 0x3
  947. MNT_LOCAL = 0x1000
  948. MNT_NOATIME = 0x8000
  949. MNT_NODEV = 0x10
  950. MNT_NOEXEC = 0x4
  951. MNT_NOPERM = 0x20
  952. MNT_NOSUID = 0x8
  953. MNT_NOWAIT = 0x2
  954. MNT_QUOTA = 0x2000
  955. MNT_RDONLY = 0x1
  956. MNT_RELOAD = 0x40000
  957. MNT_ROOTFS = 0x4000
  958. MNT_SOFTDEP = 0x4000000
  959. MNT_STALLED = 0x100000
  960. MNT_SYNCHRONOUS = 0x2
  961. MNT_UPDATE = 0x10000
  962. MNT_VISFLAGMASK = 0x400ffff
  963. MNT_WAIT = 0x1
  964. MNT_WANTRDWR = 0x2000000
  965. MNT_WXALLOWED = 0x800
  966. MSG_BCAST = 0x100
  967. MSG_CMSG_CLOEXEC = 0x800
  968. MSG_CTRUNC = 0x20
  969. MSG_DONTROUTE = 0x4
  970. MSG_DONTWAIT = 0x80
  971. MSG_EOR = 0x8
  972. MSG_MCAST = 0x200
  973. MSG_NOSIGNAL = 0x400
  974. MSG_OOB = 0x1
  975. MSG_PEEK = 0x2
  976. MSG_TRUNC = 0x10
  977. MSG_WAITALL = 0x40
  978. MS_ASYNC = 0x1
  979. MS_INVALIDATE = 0x4
  980. MS_SYNC = 0x2
  981. NAME_MAX = 0xff
  982. NET_RT_DUMP = 0x1
  983. NET_RT_FLAGS = 0x2
  984. NET_RT_IFLIST = 0x3
  985. NET_RT_IFNAMES = 0x6
  986. NET_RT_MAXID = 0x7
  987. NET_RT_STATS = 0x4
  988. NET_RT_TABLE = 0x5
  989. NFDBITS = 0x20
  990. NOFLSH = 0x80000000
  991. NOKERNINFO = 0x2000000
  992. NOTE_ATTRIB = 0x8
  993. NOTE_CHANGE = 0x1
  994. NOTE_CHILD = 0x4
  995. NOTE_DELETE = 0x1
  996. NOTE_EOF = 0x2
  997. NOTE_EXEC = 0x20000000
  998. NOTE_EXIT = 0x80000000
  999. NOTE_EXTEND = 0x4
  1000. NOTE_FORK = 0x40000000
  1001. NOTE_LINK = 0x10
  1002. NOTE_LOWAT = 0x1
  1003. NOTE_PCTRLMASK = 0xf0000000
  1004. NOTE_PDATAMASK = 0xfffff
  1005. NOTE_RENAME = 0x20
  1006. NOTE_REVOKE = 0x40
  1007. NOTE_TRACK = 0x1
  1008. NOTE_TRACKERR = 0x2
  1009. NOTE_TRUNCATE = 0x80
  1010. NOTE_WRITE = 0x2
  1011. OCRNL = 0x10
  1012. OLCUC = 0x20
  1013. ONLCR = 0x2
  1014. ONLRET = 0x80
  1015. ONOCR = 0x40
  1016. ONOEOT = 0x8
  1017. OPOST = 0x1
  1018. OXTABS = 0x4
  1019. O_ACCMODE = 0x3
  1020. O_APPEND = 0x8
  1021. O_ASYNC = 0x40
  1022. O_CLOEXEC = 0x10000
  1023. O_CREAT = 0x200
  1024. O_DIRECTORY = 0x20000
  1025. O_DSYNC = 0x80
  1026. O_EXCL = 0x800
  1027. O_EXLOCK = 0x20
  1028. O_FSYNC = 0x80
  1029. O_NDELAY = 0x4
  1030. O_NOCTTY = 0x8000
  1031. O_NOFOLLOW = 0x100
  1032. O_NONBLOCK = 0x4
  1033. O_RDONLY = 0x0
  1034. O_RDWR = 0x2
  1035. O_RSYNC = 0x80
  1036. O_SHLOCK = 0x10
  1037. O_SYNC = 0x80
  1038. O_TRUNC = 0x400
  1039. O_WRONLY = 0x1
  1040. PARENB = 0x1000
  1041. PARMRK = 0x8
  1042. PARODD = 0x2000
  1043. PENDIN = 0x20000000
  1044. PF_FLUSH = 0x1
  1045. PRIO_PGRP = 0x1
  1046. PRIO_PROCESS = 0x0
  1047. PRIO_USER = 0x2
  1048. PROT_EXEC = 0x4
  1049. PROT_NONE = 0x0
  1050. PROT_READ = 0x1
  1051. PROT_WRITE = 0x2
  1052. RLIMIT_CORE = 0x4
  1053. RLIMIT_CPU = 0x0
  1054. RLIMIT_DATA = 0x2
  1055. RLIMIT_FSIZE = 0x1
  1056. RLIMIT_MEMLOCK = 0x6
  1057. RLIMIT_NOFILE = 0x8
  1058. RLIMIT_NPROC = 0x7
  1059. RLIMIT_RSS = 0x5
  1060. RLIMIT_STACK = 0x3
  1061. RLIM_INFINITY = 0x7fffffffffffffff
  1062. RTAX_AUTHOR = 0x6
  1063. RTAX_BFD = 0xb
  1064. RTAX_BRD = 0x7
  1065. RTAX_DNS = 0xc
  1066. RTAX_DST = 0x0
  1067. RTAX_GATEWAY = 0x1
  1068. RTAX_GENMASK = 0x3
  1069. RTAX_IFA = 0x5
  1070. RTAX_IFP = 0x4
  1071. RTAX_LABEL = 0xa
  1072. RTAX_MAX = 0xf
  1073. RTAX_NETMASK = 0x2
  1074. RTAX_SEARCH = 0xe
  1075. RTAX_SRC = 0x8
  1076. RTAX_SRCMASK = 0x9
  1077. RTAX_STATIC = 0xd
  1078. RTA_AUTHOR = 0x40
  1079. RTA_BFD = 0x800
  1080. RTA_BRD = 0x80
  1081. RTA_DNS = 0x1000
  1082. RTA_DST = 0x1
  1083. RTA_GATEWAY = 0x2
  1084. RTA_GENMASK = 0x8
  1085. RTA_IFA = 0x20
  1086. RTA_IFP = 0x10
  1087. RTA_LABEL = 0x400
  1088. RTA_NETMASK = 0x4
  1089. RTA_SEARCH = 0x4000
  1090. RTA_SRC = 0x100
  1091. RTA_SRCMASK = 0x200
  1092. RTA_STATIC = 0x2000
  1093. RTF_ANNOUNCE = 0x4000
  1094. RTF_BFD = 0x1000000
  1095. RTF_BLACKHOLE = 0x1000
  1096. RTF_BROADCAST = 0x400000
  1097. RTF_CACHED = 0x20000
  1098. RTF_CLONED = 0x10000
  1099. RTF_CLONING = 0x100
  1100. RTF_CONNECTED = 0x800000
  1101. RTF_DONE = 0x40
  1102. RTF_DYNAMIC = 0x10
  1103. RTF_FMASK = 0x110fc08
  1104. RTF_GATEWAY = 0x2
  1105. RTF_HOST = 0x4
  1106. RTF_LLINFO = 0x400
  1107. RTF_LOCAL = 0x200000
  1108. RTF_MODIFIED = 0x20
  1109. RTF_MPATH = 0x40000
  1110. RTF_MPLS = 0x100000
  1111. RTF_MULTICAST = 0x200
  1112. RTF_PERMANENT_ARP = 0x2000
  1113. RTF_PROTO1 = 0x8000
  1114. RTF_PROTO2 = 0x4000
  1115. RTF_PROTO3 = 0x2000
  1116. RTF_REJECT = 0x8
  1117. RTF_STATIC = 0x800
  1118. RTF_UP = 0x1
  1119. RTF_USETRAILERS = 0x8000
  1120. RTM_ADD = 0x1
  1121. RTM_BFD = 0x12
  1122. RTM_CHANGE = 0x3
  1123. RTM_DELADDR = 0xd
  1124. RTM_DELETE = 0x2
  1125. RTM_DESYNC = 0x10
  1126. RTM_GET = 0x4
  1127. RTM_IFANNOUNCE = 0xf
  1128. RTM_IFINFO = 0xe
  1129. RTM_INVALIDATE = 0x11
  1130. RTM_LOCK = 0x8
  1131. RTM_LOSING = 0x5
  1132. RTM_MAXSIZE = 0x800
  1133. RTM_MISS = 0x7
  1134. RTM_NEWADDR = 0xc
  1135. RTM_PROPOSAL = 0x13
  1136. RTM_REDIRECT = 0x6
  1137. RTM_RESOLVE = 0xb
  1138. RTM_RTTUNIT = 0xf4240
  1139. RTM_VERSION = 0x5
  1140. RTV_EXPIRE = 0x4
  1141. RTV_HOPCOUNT = 0x2
  1142. RTV_MTU = 0x1
  1143. RTV_RPIPE = 0x8
  1144. RTV_RTT = 0x40
  1145. RTV_RTTVAR = 0x80
  1146. RTV_SPIPE = 0x10
  1147. RTV_SSTHRESH = 0x20
  1148. RT_TABLEID_BITS = 0x8
  1149. RT_TABLEID_MASK = 0xff
  1150. RT_TABLEID_MAX = 0xff
  1151. RUSAGE_CHILDREN = -0x1
  1152. RUSAGE_SELF = 0x0
  1153. RUSAGE_THREAD = 0x1
  1154. SCM_RIGHTS = 0x1
  1155. SCM_TIMESTAMP = 0x4
  1156. SHUT_RD = 0x0
  1157. SHUT_RDWR = 0x2
  1158. SHUT_WR = 0x1
  1159. SIOCADDMULTI = 0x80206931
  1160. SIOCAIFADDR = 0x8040691a
  1161. SIOCAIFGROUP = 0x80286987
  1162. SIOCATMARK = 0x40047307
  1163. SIOCBRDGADD = 0x8060693c
  1164. SIOCBRDGADDL = 0x80606949
  1165. SIOCBRDGADDS = 0x80606941
  1166. SIOCBRDGARL = 0x808c694d
  1167. SIOCBRDGDADDR = 0x81286947
  1168. SIOCBRDGDEL = 0x8060693d
  1169. SIOCBRDGDELS = 0x80606942
  1170. SIOCBRDGFLUSH = 0x80606948
  1171. SIOCBRDGFRL = 0x808c694e
  1172. SIOCBRDGGCACHE = 0xc0186941
  1173. SIOCBRDGGFD = 0xc0186952
  1174. SIOCBRDGGHT = 0xc0186951
  1175. SIOCBRDGGIFFLGS = 0xc060693e
  1176. SIOCBRDGGMA = 0xc0186953
  1177. SIOCBRDGGPARAM = 0xc0406958
  1178. SIOCBRDGGPRI = 0xc0186950
  1179. SIOCBRDGGRL = 0xc030694f
  1180. SIOCBRDGGTO = 0xc0186946
  1181. SIOCBRDGIFS = 0xc0606942
  1182. SIOCBRDGRTS = 0xc0206943
  1183. SIOCBRDGSADDR = 0xc1286944
  1184. SIOCBRDGSCACHE = 0x80186940
  1185. SIOCBRDGSFD = 0x80186952
  1186. SIOCBRDGSHT = 0x80186951
  1187. SIOCBRDGSIFCOST = 0x80606955
  1188. SIOCBRDGSIFFLGS = 0x8060693f
  1189. SIOCBRDGSIFPRIO = 0x80606954
  1190. SIOCBRDGSIFPROT = 0x8060694a
  1191. SIOCBRDGSMA = 0x80186953
  1192. SIOCBRDGSPRI = 0x80186950
  1193. SIOCBRDGSPROTO = 0x8018695a
  1194. SIOCBRDGSTO = 0x80186945
  1195. SIOCBRDGSTXHC = 0x80186959
  1196. SIOCDELMULTI = 0x80206932
  1197. SIOCDIFADDR = 0x80206919
  1198. SIOCDIFGROUP = 0x80286989
  1199. SIOCDIFPARENT = 0x802069b4
  1200. SIOCDIFPHYADDR = 0x80206949
  1201. SIOCDVNETID = 0x802069af
  1202. SIOCGETKALIVE = 0xc01869a4
  1203. SIOCGETLABEL = 0x8020699a
  1204. SIOCGETMPWCFG = 0xc02069ae
  1205. SIOCGETPFLOW = 0xc02069fe
  1206. SIOCGETPFSYNC = 0xc02069f8
  1207. SIOCGETSGCNT = 0xc0207534
  1208. SIOCGETVIFCNT = 0xc0287533
  1209. SIOCGETVLAN = 0xc0206990
  1210. SIOCGIFADDR = 0xc0206921
  1211. SIOCGIFBRDADDR = 0xc0206923
  1212. SIOCGIFCONF = 0xc0106924
  1213. SIOCGIFDATA = 0xc020691b
  1214. SIOCGIFDESCR = 0xc0206981
  1215. SIOCGIFDSTADDR = 0xc0206922
  1216. SIOCGIFFLAGS = 0xc0206911
  1217. SIOCGIFGATTR = 0xc028698b
  1218. SIOCGIFGENERIC = 0xc020693a
  1219. SIOCGIFGMEMB = 0xc028698a
  1220. SIOCGIFGROUP = 0xc0286988
  1221. SIOCGIFHARDMTU = 0xc02069a5
  1222. SIOCGIFLLPRIO = 0xc02069b6
  1223. SIOCGIFMEDIA = 0xc0406938
  1224. SIOCGIFMETRIC = 0xc0206917
  1225. SIOCGIFMTU = 0xc020697e
  1226. SIOCGIFNETMASK = 0xc0206925
  1227. SIOCGIFPAIR = 0xc02069b1
  1228. SIOCGIFPARENT = 0xc02069b3
  1229. SIOCGIFPRIORITY = 0xc020699c
  1230. SIOCGIFRDOMAIN = 0xc02069a0
  1231. SIOCGIFRTLABEL = 0xc0206983
  1232. SIOCGIFRXR = 0x802069aa
  1233. SIOCGIFXFLAGS = 0xc020699e
  1234. SIOCGLIFPHYADDR = 0xc218694b
  1235. SIOCGLIFPHYDF = 0xc02069c2
  1236. SIOCGLIFPHYRTABLE = 0xc02069a2
  1237. SIOCGLIFPHYTTL = 0xc02069a9
  1238. SIOCGPGRP = 0x40047309
  1239. SIOCGSPPPPARAMS = 0xc0206994
  1240. SIOCGUMBINFO = 0xc02069be
  1241. SIOCGUMBPARAM = 0xc02069c0
  1242. SIOCGVH = 0xc02069f6
  1243. SIOCGVNETFLOWID = 0xc02069c4
  1244. SIOCGVNETID = 0xc02069a7
  1245. SIOCIFAFATTACH = 0x801169ab
  1246. SIOCIFAFDETACH = 0x801169ac
  1247. SIOCIFCREATE = 0x8020697a
  1248. SIOCIFDESTROY = 0x80206979
  1249. SIOCIFGCLONERS = 0xc0106978
  1250. SIOCSETKALIVE = 0x801869a3
  1251. SIOCSETLABEL = 0x80206999
  1252. SIOCSETMPWCFG = 0x802069ad
  1253. SIOCSETPFLOW = 0x802069fd
  1254. SIOCSETPFSYNC = 0x802069f7
  1255. SIOCSETVLAN = 0x8020698f
  1256. SIOCSIFADDR = 0x8020690c
  1257. SIOCSIFBRDADDR = 0x80206913
  1258. SIOCSIFDESCR = 0x80206980
  1259. SIOCSIFDSTADDR = 0x8020690e
  1260. SIOCSIFFLAGS = 0x80206910
  1261. SIOCSIFGATTR = 0x8028698c
  1262. SIOCSIFGENERIC = 0x80206939
  1263. SIOCSIFLLADDR = 0x8020691f
  1264. SIOCSIFLLPRIO = 0x802069b5
  1265. SIOCSIFMEDIA = 0xc0206937
  1266. SIOCSIFMETRIC = 0x80206918
  1267. SIOCSIFMTU = 0x8020697f
  1268. SIOCSIFNETMASK = 0x80206916
  1269. SIOCSIFPAIR = 0x802069b0
  1270. SIOCSIFPARENT = 0x802069b2
  1271. SIOCSIFPRIORITY = 0x8020699b
  1272. SIOCSIFRDOMAIN = 0x8020699f
  1273. SIOCSIFRTLABEL = 0x80206982
  1274. SIOCSIFXFLAGS = 0x8020699d
  1275. SIOCSLIFPHYADDR = 0x8218694a
  1276. SIOCSLIFPHYDF = 0x802069c1
  1277. SIOCSLIFPHYRTABLE = 0x802069a1
  1278. SIOCSLIFPHYTTL = 0x802069a8
  1279. SIOCSPGRP = 0x80047308
  1280. SIOCSSPPPPARAMS = 0x80206993
  1281. SIOCSUMBPARAM = 0x802069bf
  1282. SIOCSVH = 0xc02069f5
  1283. SIOCSVNETFLOWID = 0x802069c3
  1284. SIOCSVNETID = 0x802069a6
  1285. SIOCSWGDPID = 0xc018695b
  1286. SIOCSWGMAXFLOW = 0xc0186960
  1287. SIOCSWGMAXGROUP = 0xc018695d
  1288. SIOCSWSDPID = 0x8018695c
  1289. SIOCSWSPORTNO = 0xc060695f
  1290. SOCK_CLOEXEC = 0x8000
  1291. SOCK_DGRAM = 0x2
  1292. SOCK_DNS = 0x1000
  1293. SOCK_NONBLOCK = 0x4000
  1294. SOCK_RAW = 0x3
  1295. SOCK_RDM = 0x4
  1296. SOCK_SEQPACKET = 0x5
  1297. SOCK_STREAM = 0x1
  1298. SOL_SOCKET = 0xffff
  1299. SOMAXCONN = 0x80
  1300. SO_ACCEPTCONN = 0x2
  1301. SO_BINDANY = 0x1000
  1302. SO_BROADCAST = 0x20
  1303. SO_DEBUG = 0x1
  1304. SO_DONTROUTE = 0x10
  1305. SO_ERROR = 0x1007
  1306. SO_KEEPALIVE = 0x8
  1307. SO_LINGER = 0x80
  1308. SO_NETPROC = 0x1020
  1309. SO_OOBINLINE = 0x100
  1310. SO_PEERCRED = 0x1022
  1311. SO_RCVBUF = 0x1002
  1312. SO_RCVLOWAT = 0x1004
  1313. SO_RCVTIMEO = 0x1006
  1314. SO_REUSEADDR = 0x4
  1315. SO_REUSEPORT = 0x200
  1316. SO_RTABLE = 0x1021
  1317. SO_SNDBUF = 0x1001
  1318. SO_SNDLOWAT = 0x1003
  1319. SO_SNDTIMEO = 0x1005
  1320. SO_SPLICE = 0x1023
  1321. SO_TIMESTAMP = 0x800
  1322. SO_TYPE = 0x1008
  1323. SO_USELOOPBACK = 0x40
  1324. SO_ZEROIZE = 0x2000
  1325. S_BLKSIZE = 0x200
  1326. S_IEXEC = 0x40
  1327. S_IFBLK = 0x6000
  1328. S_IFCHR = 0x2000
  1329. S_IFDIR = 0x4000
  1330. S_IFIFO = 0x1000
  1331. S_IFLNK = 0xa000
  1332. S_IFMT = 0xf000
  1333. S_IFREG = 0x8000
  1334. S_IFSOCK = 0xc000
  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. TCIFLUSH = 0x1
  1354. TCIOFF = 0x3
  1355. TCIOFLUSH = 0x3
  1356. TCION = 0x4
  1357. TCOFLUSH = 0x2
  1358. TCOOFF = 0x1
  1359. TCOON = 0x2
  1360. TCP_MAXBURST = 0x4
  1361. TCP_MAXSEG = 0x2
  1362. TCP_MAXWIN = 0xffff
  1363. TCP_MAX_SACK = 0x3
  1364. TCP_MAX_WINSHIFT = 0xe
  1365. TCP_MD5SIG = 0x4
  1366. TCP_MSS = 0x200
  1367. TCP_NODELAY = 0x1
  1368. TCP_NOPUSH = 0x10
  1369. TCP_SACK_ENABLE = 0x8
  1370. TCSAFLUSH = 0x2
  1371. TIOCCBRK = 0x2000747a
  1372. TIOCCDTR = 0x20007478
  1373. TIOCCHKVERAUTH = 0x2000741e
  1374. TIOCCLRVERAUTH = 0x2000741d
  1375. TIOCCONS = 0x80047462
  1376. TIOCDRAIN = 0x2000745e
  1377. TIOCEXCL = 0x2000740d
  1378. TIOCEXT = 0x80047460
  1379. TIOCFLAG_CLOCAL = 0x2
  1380. TIOCFLAG_CRTSCTS = 0x4
  1381. TIOCFLAG_MDMBUF = 0x8
  1382. TIOCFLAG_PPS = 0x10
  1383. TIOCFLAG_SOFTCAR = 0x1
  1384. TIOCFLUSH = 0x80047410
  1385. TIOCGETA = 0x402c7413
  1386. TIOCGETD = 0x4004741a
  1387. TIOCGFLAGS = 0x4004745d
  1388. TIOCGPGRP = 0x40047477
  1389. TIOCGSID = 0x40047463
  1390. TIOCGTSTAMP = 0x4010745b
  1391. TIOCGWINSZ = 0x40087468
  1392. TIOCMBIC = 0x8004746b
  1393. TIOCMBIS = 0x8004746c
  1394. TIOCMGET = 0x4004746a
  1395. TIOCMODG = 0x4004746a
  1396. TIOCMODS = 0x8004746d
  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. TIOCREMOTE = 0x80047469
  1422. TIOCSBRK = 0x2000747b
  1423. TIOCSCTTY = 0x20007461
  1424. TIOCSDTR = 0x20007479
  1425. TIOCSETA = 0x802c7414
  1426. TIOCSETAF = 0x802c7416
  1427. TIOCSETAW = 0x802c7415
  1428. TIOCSETD = 0x8004741b
  1429. TIOCSETVERAUTH = 0x8004741c
  1430. TIOCSFLAGS = 0x8004745c
  1431. TIOCSIG = 0x8004745f
  1432. TIOCSPGRP = 0x80047476
  1433. TIOCSTART = 0x2000746e
  1434. TIOCSTAT = 0x20007465
  1435. TIOCSTI = 0x80017472
  1436. TIOCSTOP = 0x2000746f
  1437. TIOCSTSTAMP = 0x8008745a
  1438. TIOCSWINSZ = 0x80087467
  1439. TIOCUCNTL = 0x80047466
  1440. TIOCUCNTL_CBRK = 0x7a
  1441. TIOCUCNTL_SBRK = 0x7b
  1442. TOSTOP = 0x400000
  1443. UTIME_NOW = -0x2
  1444. UTIME_OMIT = -0x1
  1445. VDISCARD = 0xf
  1446. VDSUSP = 0xb
  1447. VEOF = 0x0
  1448. VEOL = 0x1
  1449. VEOL2 = 0x2
  1450. VERASE = 0x3
  1451. VINTR = 0x8
  1452. VKILL = 0x5
  1453. VLNEXT = 0xe
  1454. VMIN = 0x10
  1455. VM_ANONMIN = 0x7
  1456. VM_LOADAVG = 0x2
  1457. VM_MAXID = 0xc
  1458. VM_MAXSLP = 0xa
  1459. VM_METER = 0x1
  1460. VM_NKMEMPAGES = 0x6
  1461. VM_PSSTRINGS = 0x3
  1462. VM_SWAPENCRYPT = 0x5
  1463. VM_USPACE = 0xb
  1464. VM_UVMEXP = 0x4
  1465. VM_VNODEMIN = 0x9
  1466. VM_VTEXTMIN = 0x8
  1467. VQUIT = 0x9
  1468. VREPRINT = 0x6
  1469. VSTART = 0xc
  1470. VSTATUS = 0x12
  1471. VSTOP = 0xd
  1472. VSUSP = 0xa
  1473. VTIME = 0x11
  1474. VWERASE = 0x4
  1475. WALTSIG = 0x4
  1476. WCONTINUED = 0x8
  1477. WCOREFLAG = 0x80
  1478. WNOHANG = 0x1
  1479. WUNTRACED = 0x2
  1480. XCASE = 0x1000000
  1481. )
  1482. // Errors
  1483. const (
  1484. E2BIG = syscall.Errno(0x7)
  1485. EACCES = syscall.Errno(0xd)
  1486. EADDRINUSE = syscall.Errno(0x30)
  1487. EADDRNOTAVAIL = syscall.Errno(0x31)
  1488. EAFNOSUPPORT = syscall.Errno(0x2f)
  1489. EAGAIN = syscall.Errno(0x23)
  1490. EALREADY = syscall.Errno(0x25)
  1491. EAUTH = syscall.Errno(0x50)
  1492. EBADF = syscall.Errno(0x9)
  1493. EBADMSG = syscall.Errno(0x5c)
  1494. EBADRPC = syscall.Errno(0x48)
  1495. EBUSY = syscall.Errno(0x10)
  1496. ECANCELED = syscall.Errno(0x58)
  1497. ECHILD = syscall.Errno(0xa)
  1498. ECONNABORTED = syscall.Errno(0x35)
  1499. ECONNREFUSED = syscall.Errno(0x3d)
  1500. ECONNRESET = syscall.Errno(0x36)
  1501. EDEADLK = syscall.Errno(0xb)
  1502. EDESTADDRREQ = syscall.Errno(0x27)
  1503. EDOM = syscall.Errno(0x21)
  1504. EDQUOT = syscall.Errno(0x45)
  1505. EEXIST = syscall.Errno(0x11)
  1506. EFAULT = syscall.Errno(0xe)
  1507. EFBIG = syscall.Errno(0x1b)
  1508. EFTYPE = syscall.Errno(0x4f)
  1509. EHOSTDOWN = syscall.Errno(0x40)
  1510. EHOSTUNREACH = syscall.Errno(0x41)
  1511. EIDRM = syscall.Errno(0x59)
  1512. EILSEQ = syscall.Errno(0x54)
  1513. EINPROGRESS = syscall.Errno(0x24)
  1514. EINTR = syscall.Errno(0x4)
  1515. EINVAL = syscall.Errno(0x16)
  1516. EIO = syscall.Errno(0x5)
  1517. EIPSEC = syscall.Errno(0x52)
  1518. EISCONN = syscall.Errno(0x38)
  1519. EISDIR = syscall.Errno(0x15)
  1520. ELAST = syscall.Errno(0x5f)
  1521. ELOOP = syscall.Errno(0x3e)
  1522. EMEDIUMTYPE = syscall.Errno(0x56)
  1523. EMFILE = syscall.Errno(0x18)
  1524. EMLINK = syscall.Errno(0x1f)
  1525. EMSGSIZE = syscall.Errno(0x28)
  1526. ENAMETOOLONG = syscall.Errno(0x3f)
  1527. ENEEDAUTH = syscall.Errno(0x51)
  1528. ENETDOWN = syscall.Errno(0x32)
  1529. ENETRESET = syscall.Errno(0x34)
  1530. ENETUNREACH = syscall.Errno(0x33)
  1531. ENFILE = syscall.Errno(0x17)
  1532. ENOATTR = syscall.Errno(0x53)
  1533. ENOBUFS = syscall.Errno(0x37)
  1534. ENODEV = syscall.Errno(0x13)
  1535. ENOENT = syscall.Errno(0x2)
  1536. ENOEXEC = syscall.Errno(0x8)
  1537. ENOLCK = syscall.Errno(0x4d)
  1538. ENOMEDIUM = syscall.Errno(0x55)
  1539. ENOMEM = syscall.Errno(0xc)
  1540. ENOMSG = syscall.Errno(0x5a)
  1541. ENOPROTOOPT = syscall.Errno(0x2a)
  1542. ENOSPC = syscall.Errno(0x1c)
  1543. ENOSYS = syscall.Errno(0x4e)
  1544. ENOTBLK = syscall.Errno(0xf)
  1545. ENOTCONN = syscall.Errno(0x39)
  1546. ENOTDIR = syscall.Errno(0x14)
  1547. ENOTEMPTY = syscall.Errno(0x42)
  1548. ENOTRECOVERABLE = syscall.Errno(0x5d)
  1549. ENOTSOCK = syscall.Errno(0x26)
  1550. ENOTSUP = syscall.Errno(0x5b)
  1551. ENOTTY = syscall.Errno(0x19)
  1552. ENXIO = syscall.Errno(0x6)
  1553. EOPNOTSUPP = syscall.Errno(0x2d)
  1554. EOVERFLOW = syscall.Errno(0x57)
  1555. EOWNERDEAD = syscall.Errno(0x5e)
  1556. EPERM = syscall.Errno(0x1)
  1557. EPFNOSUPPORT = syscall.Errno(0x2e)
  1558. EPIPE = syscall.Errno(0x20)
  1559. EPROCLIM = syscall.Errno(0x43)
  1560. EPROCUNAVAIL = syscall.Errno(0x4c)
  1561. EPROGMISMATCH = syscall.Errno(0x4b)
  1562. EPROGUNAVAIL = syscall.Errno(0x4a)
  1563. EPROTO = syscall.Errno(0x5f)
  1564. EPROTONOSUPPORT = syscall.Errno(0x2b)
  1565. EPROTOTYPE = syscall.Errno(0x29)
  1566. ERANGE = syscall.Errno(0x22)
  1567. EREMOTE = syscall.Errno(0x47)
  1568. EROFS = syscall.Errno(0x1e)
  1569. ERPCMISMATCH = syscall.Errno(0x49)
  1570. ESHUTDOWN = syscall.Errno(0x3a)
  1571. ESOCKTNOSUPPORT = syscall.Errno(0x2c)
  1572. ESPIPE = syscall.Errno(0x1d)
  1573. ESRCH = syscall.Errno(0x3)
  1574. ESTALE = syscall.Errno(0x46)
  1575. ETIMEDOUT = syscall.Errno(0x3c)
  1576. ETOOMANYREFS = syscall.Errno(0x3b)
  1577. ETXTBSY = syscall.Errno(0x1a)
  1578. EUSERS = syscall.Errno(0x44)
  1579. EWOULDBLOCK = syscall.Errno(0x23)
  1580. EXDEV = syscall.Errno(0x12)
  1581. )
  1582. // Signals
  1583. const (
  1584. SIGABRT = syscall.Signal(0x6)
  1585. SIGALRM = syscall.Signal(0xe)
  1586. SIGBUS = syscall.Signal(0xa)
  1587. SIGCHLD = syscall.Signal(0x14)
  1588. SIGCONT = syscall.Signal(0x13)
  1589. SIGEMT = syscall.Signal(0x7)
  1590. SIGFPE = syscall.Signal(0x8)
  1591. SIGHUP = syscall.Signal(0x1)
  1592. SIGILL = syscall.Signal(0x4)
  1593. SIGINFO = syscall.Signal(0x1d)
  1594. SIGINT = syscall.Signal(0x2)
  1595. SIGIO = syscall.Signal(0x17)
  1596. SIGIOT = syscall.Signal(0x6)
  1597. SIGKILL = syscall.Signal(0x9)
  1598. SIGPIPE = syscall.Signal(0xd)
  1599. SIGPROF = syscall.Signal(0x1b)
  1600. SIGQUIT = syscall.Signal(0x3)
  1601. SIGSEGV = syscall.Signal(0xb)
  1602. SIGSTOP = syscall.Signal(0x11)
  1603. SIGSYS = syscall.Signal(0xc)
  1604. SIGTERM = syscall.Signal(0xf)
  1605. SIGTHR = syscall.Signal(0x20)
  1606. SIGTRAP = syscall.Signal(0x5)
  1607. SIGTSTP = syscall.Signal(0x12)
  1608. SIGTTIN = syscall.Signal(0x15)
  1609. SIGTTOU = syscall.Signal(0x16)
  1610. SIGURG = syscall.Signal(0x10)
  1611. SIGUSR1 = syscall.Signal(0x1e)
  1612. SIGUSR2 = syscall.Signal(0x1f)
  1613. SIGVTALRM = syscall.Signal(0x1a)
  1614. SIGWINCH = syscall.Signal(0x1c)
  1615. SIGXCPU = syscall.Signal(0x18)
  1616. SIGXFSZ = syscall.Signal(0x19)
  1617. )
  1618. // Error table
  1619. var errorList = [...]struct {
  1620. num syscall.Errno
  1621. name string
  1622. desc string
  1623. }{
  1624. {1, "EPERM", "operation not permitted"},
  1625. {2, "ENOENT", "no such file or directory"},
  1626. {3, "ESRCH", "no such process"},
  1627. {4, "EINTR", "interrupted system call"},
  1628. {5, "EIO", "input/output error"},
  1629. {6, "ENXIO", "device not configured"},
  1630. {7, "E2BIG", "argument list too long"},
  1631. {8, "ENOEXEC", "exec format error"},
  1632. {9, "EBADF", "bad file descriptor"},
  1633. {10, "ECHILD", "no child processes"},
  1634. {11, "EDEADLK", "resource deadlock avoided"},
  1635. {12, "ENOMEM", "cannot allocate memory"},
  1636. {13, "EACCES", "permission denied"},
  1637. {14, "EFAULT", "bad address"},
  1638. {15, "ENOTBLK", "block device required"},
  1639. {16, "EBUSY", "device busy"},
  1640. {17, "EEXIST", "file exists"},
  1641. {18, "EXDEV", "cross-device link"},
  1642. {19, "ENODEV", "operation not supported by device"},
  1643. {20, "ENOTDIR", "not a directory"},
  1644. {21, "EISDIR", "is a directory"},
  1645. {22, "EINVAL", "invalid argument"},
  1646. {23, "ENFILE", "too many open files in system"},
  1647. {24, "EMFILE", "too many open files"},
  1648. {25, "ENOTTY", "inappropriate ioctl for device"},
  1649. {26, "ETXTBSY", "text file busy"},
  1650. {27, "EFBIG", "file too large"},
  1651. {28, "ENOSPC", "no space left on device"},
  1652. {29, "ESPIPE", "illegal seek"},
  1653. {30, "EROFS", "read-only file system"},
  1654. {31, "EMLINK", "too many links"},
  1655. {32, "EPIPE", "broken pipe"},
  1656. {33, "EDOM", "numerical argument out of domain"},
  1657. {34, "ERANGE", "result too large"},
  1658. {35, "EAGAIN", "resource temporarily unavailable"},
  1659. {36, "EINPROGRESS", "operation now in progress"},
  1660. {37, "EALREADY", "operation already in progress"},
  1661. {38, "ENOTSOCK", "socket operation on non-socket"},
  1662. {39, "EDESTADDRREQ", "destination address required"},
  1663. {40, "EMSGSIZE", "message too long"},
  1664. {41, "EPROTOTYPE", "protocol wrong type for socket"},
  1665. {42, "ENOPROTOOPT", "protocol not available"},
  1666. {43, "EPROTONOSUPPORT", "protocol not supported"},
  1667. {44, "ESOCKTNOSUPPORT", "socket type not supported"},
  1668. {45, "EOPNOTSUPP", "operation not supported"},
  1669. {46, "EPFNOSUPPORT", "protocol family not supported"},
  1670. {47, "EAFNOSUPPORT", "address family not supported by protocol family"},
  1671. {48, "EADDRINUSE", "address already in use"},
  1672. {49, "EADDRNOTAVAIL", "can't assign requested address"},
  1673. {50, "ENETDOWN", "network is down"},
  1674. {51, "ENETUNREACH", "network is unreachable"},
  1675. {52, "ENETRESET", "network dropped connection on reset"},
  1676. {53, "ECONNABORTED", "software caused connection abort"},
  1677. {54, "ECONNRESET", "connection reset by peer"},
  1678. {55, "ENOBUFS", "no buffer space available"},
  1679. {56, "EISCONN", "socket is already connected"},
  1680. {57, "ENOTCONN", "socket is not connected"},
  1681. {58, "ESHUTDOWN", "can't send after socket shutdown"},
  1682. {59, "ETOOMANYREFS", "too many references: can't splice"},
  1683. {60, "ETIMEDOUT", "operation timed out"},
  1684. {61, "ECONNREFUSED", "connection refused"},
  1685. {62, "ELOOP", "too many levels of symbolic links"},
  1686. {63, "ENAMETOOLONG", "file name too long"},
  1687. {64, "EHOSTDOWN", "host is down"},
  1688. {65, "EHOSTUNREACH", "no route to host"},
  1689. {66, "ENOTEMPTY", "directory not empty"},
  1690. {67, "EPROCLIM", "too many processes"},
  1691. {68, "EUSERS", "too many users"},
  1692. {69, "EDQUOT", "disk quota exceeded"},
  1693. {70, "ESTALE", "stale NFS file handle"},
  1694. {71, "EREMOTE", "too many levels of remote in path"},
  1695. {72, "EBADRPC", "RPC struct is bad"},
  1696. {73, "ERPCMISMATCH", "RPC version wrong"},
  1697. {74, "EPROGUNAVAIL", "RPC program not available"},
  1698. {75, "EPROGMISMATCH", "program version wrong"},
  1699. {76, "EPROCUNAVAIL", "bad procedure for program"},
  1700. {77, "ENOLCK", "no locks available"},
  1701. {78, "ENOSYS", "function not implemented"},
  1702. {79, "EFTYPE", "inappropriate file type or format"},
  1703. {80, "EAUTH", "authentication error"},
  1704. {81, "ENEEDAUTH", "need authenticator"},
  1705. {82, "EIPSEC", "IPsec processing failure"},
  1706. {83, "ENOATTR", "attribute not found"},
  1707. {84, "EILSEQ", "illegal byte sequence"},
  1708. {85, "ENOMEDIUM", "no medium found"},
  1709. {86, "EMEDIUMTYPE", "wrong medium type"},
  1710. {87, "EOVERFLOW", "value too large to be stored in data type"},
  1711. {88, "ECANCELED", "operation canceled"},
  1712. {89, "EIDRM", "identifier removed"},
  1713. {90, "ENOMSG", "no message of desired type"},
  1714. {91, "ENOTSUP", "not supported"},
  1715. {92, "EBADMSG", "bad message"},
  1716. {93, "ENOTRECOVERABLE", "state not recoverable"},
  1717. {94, "EOWNERDEAD", "previous owner died"},
  1718. {95, "ELAST", "protocol error"},
  1719. }
  1720. // Signal table
  1721. var signalList = [...]struct {
  1722. num syscall.Signal
  1723. name string
  1724. desc string
  1725. }{
  1726. {1, "SIGHUP", "hangup"},
  1727. {2, "SIGINT", "interrupt"},
  1728. {3, "SIGQUIT", "quit"},
  1729. {4, "SIGILL", "illegal instruction"},
  1730. {5, "SIGTRAP", "trace/BPT trap"},
  1731. {6, "SIGABRT", "abort trap"},
  1732. {7, "SIGEMT", "EMT trap"},
  1733. {8, "SIGFPE", "floating point exception"},
  1734. {9, "SIGKILL", "killed"},
  1735. {10, "SIGBUS", "bus error"},
  1736. {11, "SIGSEGV", "segmentation fault"},
  1737. {12, "SIGSYS", "bad system call"},
  1738. {13, "SIGPIPE", "broken pipe"},
  1739. {14, "SIGALRM", "alarm clock"},
  1740. {15, "SIGTERM", "terminated"},
  1741. {16, "SIGURG", "urgent I/O condition"},
  1742. {17, "SIGSTOP", "suspended (signal)"},
  1743. {18, "SIGTSTP", "suspended"},
  1744. {19, "SIGCONT", "continued"},
  1745. {20, "SIGCHLD", "child exited"},
  1746. {21, "SIGTTIN", "stopped (tty input)"},
  1747. {22, "SIGTTOU", "stopped (tty output)"},
  1748. {23, "SIGIO", "I/O possible"},
  1749. {24, "SIGXCPU", "cputime limit exceeded"},
  1750. {25, "SIGXFSZ", "filesize limit exceeded"},
  1751. {26, "SIGVTALRM", "virtual timer expired"},
  1752. {27, "SIGPROF", "profiling timer expired"},
  1753. {28, "SIGWINCH", "window size changes"},
  1754. {29, "SIGINFO", "information request"},
  1755. {30, "SIGUSR1", "user defined signal 1"},
  1756. {31, "SIGUSR2", "user defined signal 2"},
  1757. {32, "SIGTHR", "thread AST"},
  1758. }