zerrors_netbsd_386.go 73 KB

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