]> git.proxmox.com Git - wasi-libc.git/blob - expected/wasm32-wasi/predefined-macros.txt
Delete several blocks of unused code. (#294)
[wasi-libc.git] / expected / wasm32-wasi / predefined-macros.txt
1 #define ABDAY_1 0x20000
2 #define ABDAY_2 0x20001
3 #define ABDAY_3 0x20002
4 #define ABDAY_4 0x20003
5 #define ABDAY_5 0x20004
6 #define ABDAY_6 0x20005
7 #define ABDAY_7 0x20006
8 #define ABMON_1 0x2000E
9 #define ABMON_10 0x20017
10 #define ABMON_11 0x20018
11 #define ABMON_12 0x20019
12 #define ABMON_2 0x2000F
13 #define ABMON_3 0x20010
14 #define ABMON_4 0x20011
15 #define ABMON_5 0x20012
16 #define ABMON_6 0x20013
17 #define ABMON_7 0x20014
18 #define ABMON_8 0x20015
19 #define ABMON_9 0x20016
20 #define ABORT 238
21 #define ACK 04
22 #define ADD ns_uop_add
23 #define ADJ_ESTERROR 0x0008
24 #define ADJ_FREQUENCY 0x0002
25 #define ADJ_MAXERROR 0x0004
26 #define ADJ_MICRO 0x1000
27 #define ADJ_NANO 0x2000
28 #define ADJ_OFFSET 0x0001
29 #define ADJ_OFFSET_SINGLESHOT 0x8001
30 #define ADJ_OFFSET_SS_READ 0xa001
31 #define ADJ_SETOFFSET 0x0100
32 #define ADJ_STATUS 0x0010
33 #define ADJ_TAI 0x0080
34 #define ADJ_TICK 0x4000
35 #define ADJ_TIMECONST 0x0020
36 #define AF_INET 1
37 #define AF_INET6 2
38 #define AF_UNIX 3
39 #define AF_UNSPEC 0
40 #define ALT_DIGITS 0x2002F
41 #define AM_STR 0x20026
42 #define ANYMARK 0x01
43 #define AO 245
44 #define AREGTYPE '\0'
45 #define ARFMAG "`\n"
46 #define ARG_MAX 131072
47 #define ARMAG "!<arch>\n"
48 #define AT_EACCESS (0x0)
49 #define AT_FDCWD (-2)
50 #define AT_REMOVEDIR (0x4)
51 #define AT_SYMLINK_FOLLOW (0x2)
52 #define AT_SYMLINK_NOFOLLOW (0x1)
53 #define AUTHTYPE_CNT 5
54 #define AUTHTYPE_KERBEROS_V4 1
55 #define AUTHTYPE_KERBEROS_V5 2
56 #define AUTHTYPE_MINK 4
57 #define AUTHTYPE_NAME(x) authtype_names[x]
58 #define AUTHTYPE_NAME_OK(x) ((unsigned int)(x) < AUTHTYPE_CNT)
59 #define AUTHTYPE_NULL 0
60 #define AUTHTYPE_SPX 3
61 #define AUTHTYPE_TEST 99
62 #define AUTH_HOW_MASK 2
63 #define AUTH_HOW_MUTUAL 2
64 #define AUTH_HOW_ONE_WAY 0
65 #define AUTH_WHO_CLIENT 0
66 #define AUTH_WHO_MASK 1
67 #define AUTH_WHO_SERVER 1
68 #define AYT 246
69 #define BIG_ENDIAN __BIG_ENDIAN
70 #define BITSPERBYTE CHAR_BIT
71 #define BLKTYPE '4'
72 #define BLK_BYTECOUNT 2
73 #define BLK_EOF 0x40
74 #define BLK_EOR 0x80
75 #define BLK_ERRORS 0x20
76 #define BLK_RESTART 0x10
77 #define BREAK 243
78 #define BUFSIZ 1024
79 #define BYTE_ORDER __BYTE_ORDER
80 #define CANBSIZ 255
81 #define CBRK CEOL
82 #define CDISCARD CTRL('o')
83 #define CDSUSP CTRL('y')
84 #define CEOF CTRL('d')
85 #define CEOL '\0'
86 #define CEOT CEOF
87 #define CERASE 0177
88 #define CFLUSH CDISCARD
89 #define CHARBITS (sizeof(char) * 8)
90 #define CHARCLASS_NAME_MAX 14
91 #define CHAR_BIT 8
92 #define CHAR_MAX 127
93 #define CHAR_MIN (-128)
94 #define CHRTYPE '3'
95 #define CINTR CTRL('c')
96 #define CKILL CTRL('u')
97 #define CLNEXT CTRL('v')
98 #define CLOCKS_PER_SEC ((clock_t)1000000000)
99 #define CLOCK_MONOTONIC (&_CLOCK_MONOTONIC)
100 #define CLOCK_REALTIME (&_CLOCK_REALTIME)
101 #define CMIN 1
102 #define CMPLX(x,y) __CMPLX(x, y, double)
103 #define CMPLXF(x,y) __CMPLX(x, y, float)
104 #define CMPLXL(x,y) __CMPLX(x, y, long double)
105 #define CODESET 14
106 #define COLL_WEIGHTS_MAX 2
107 #define COMPLETE 2
108 #define CONTINUE 3
109 #define CONTTYPE '7'
110 #define CQUIT 034
111 #define CREPRINT CTRL('r')
112 #define CRNCYSTR 0x4000F
113 #define CRPRNT CREPRINT
114 #define CSTART CTRL('q')
115 #define CSTATUS '\0'
116 #define CSTOP CTRL('s')
117 #define CSUSP CTRL('z')
118 #define CTIME 0
119 #define CTRL(x) ((x)&037)
120 #define CWERASE CTRL('w')
121 #define C_ANY ns_c_any
122 #define C_CHAOS ns_c_chaos
123 #define C_HS ns_c_hs
124 #define C_IN ns_c_in
125 #define C_IRGRP 000040
126 #define C_IROTH 000004
127 #define C_IRUSR 000400
128 #define C_ISBLK 060000
129 #define C_ISCHR 020000
130 #define C_ISCTG 0110000
131 #define C_ISDIR 040000
132 #define C_ISFIFO 010000
133 #define C_ISGID 002000
134 #define C_ISLNK 0120000
135 #define C_ISREG 0100000
136 #define C_ISSOCK 0140000
137 #define C_ISUID 004000
138 #define C_ISVTX 001000
139 #define C_IWGRP 000020
140 #define C_IWOTH 000002
141 #define C_IWUSR 000200
142 #define C_IXGRP 000010
143 #define C_IXOTH 000001
144 #define C_IXUSR 000100
145 #define C_NONE ns_c_none
146 #define DATA 03
147 #define DAY_1 0x20007
148 #define DAY_2 0x20008
149 #define DAY_3 0x20009
150 #define DAY_4 0x2000A
151 #define DAY_5 0x2000B
152 #define DAY_6 0x2000C
153 #define DAY_7 0x2000D
154 #define DBL_DECIMAL_DIG 17
155 #define DBL_DIG 15
156 #define DBL_EPSILON 2.22044604925031308085e-16
157 #define DBL_HAS_SUBNORM 1
158 #define DBL_MANT_DIG 53
159 #define DBL_MAX 1.79769313486231570815e+308
160 #define DBL_MAX_10_EXP 308
161 #define DBL_MAX_EXP 1024
162 #define DBL_MIN 2.22507385850720138309e-308
163 #define DBL_MIN_10_EXP (-307)
164 #define DBL_MIN_EXP (-1021)
165 #define DBL_TRUE_MIN 4.94065645841246544177e-324
166 #define DECIMAL_DIG 36
167 #define DELAYTIMER_MAX 0x7fffffff
168 #define DELETE ns_uop_delete
169 #define DEV_BSIZE 512
170 #define DIRTYPE '5'
171 #define DM 242
172 #define DMAXEXP DBL_MAX_EXP
173 #define DMINEXP DBL_MIN_EXP
174 #define DO 253
175 #define DONT 254
176 #define DOUBLEBITS (sizeof(double) * 8)
177 #define DTTOIF(x) (__wasilibc_dttoif(x))
178 #define DT_BLK __WASI_FILETYPE_BLOCK_DEVICE
179 #define DT_CHR __WASI_FILETYPE_CHARACTER_DEVICE
180 #define DT_DIR __WASI_FILETYPE_DIRECTORY
181 #define DT_FIFO __WASI_FILETYPE_SOCKET_STREAM
182 #define DT_LNK __WASI_FILETYPE_SYMBOLIC_LINK
183 #define DT_REG __WASI_FILETYPE_REGULAR_FILE
184 #define DT_UNKNOWN __WASI_FILETYPE_UNKNOWN
185 #define D_FMT 0x20029
186 #define D_T_FMT 0x20028
187 #define E2BIG __WASI_ERRNO_2BIG
188 #define EACCES __WASI_ERRNO_ACCES
189 #define EACCESS 2
190 #define EADDRINUSE __WASI_ERRNO_ADDRINUSE
191 #define EADDRNOTAVAIL __WASI_ERRNO_ADDRNOTAVAIL
192 #define EAFNOSUPPORT __WASI_ERRNO_AFNOSUPPORT
193 #define EAGAIN __WASI_ERRNO_AGAIN
194 #define EALREADY __WASI_ERRNO_ALREADY
195 #define EBADF __WASI_ERRNO_BADF
196 #define EBADID 5
197 #define EBADMSG __WASI_ERRNO_BADMSG
198 #define EBADOP 4
199 #define EBUSY __WASI_ERRNO_BUSY
200 #define EC 247
201 #define ECANCELED __WASI_ERRNO_CANCELED
202 #define ECHILD __WASI_ERRNO_CHILD
203 #define ECONNABORTED __WASI_ERRNO_CONNABORTED
204 #define ECONNREFUSED __WASI_ERRNO_CONNREFUSED
205 #define ECONNRESET __WASI_ERRNO_CONNRESET
206 #define EDEADLK __WASI_ERRNO_DEADLK
207 #define EDESTADDRREQ __WASI_ERRNO_DESTADDRREQ
208 #define EDOM __WASI_ERRNO_DOM
209 #define EDQUOT __WASI_ERRNO_DQUOT
210 #define EEXIST __WASI_ERRNO_EXIST
211 #define EEXISTS 6
212 #define EFAULT __WASI_ERRNO_FAULT
213 #define EFBIG __WASI_ERRNO_FBIG
214 #define EFD_CLOEXEC O_CLOEXEC
215 #define EFD_NONBLOCK O_NONBLOCK
216 #define EFD_SEMAPHORE 1
217 #define EHOSTUNREACH __WASI_ERRNO_HOSTUNREACH
218 #define EIDRM __WASI_ERRNO_IDRM
219 #define EILSEQ __WASI_ERRNO_ILSEQ
220 #define EINPROGRESS __WASI_ERRNO_INPROGRESS
221 #define EINTR __WASI_ERRNO_INTR
222 #define EINVAL __WASI_ERRNO_INVAL
223 #define EIO __WASI_ERRNO_IO
224 #define EISCONN __WASI_ERRNO_ISCONN
225 #define EISDIR __WASI_ERRNO_ISDIR
226 #define EL 248
227 #define ELOOP __WASI_ERRNO_LOOP
228 #define EMFILE __WASI_ERRNO_MFILE
229 #define EMLINK __WASI_ERRNO_MLINK
230 #define EMSGSIZE __WASI_ERRNO_MSGSIZE
231 #define EMULTIHOP __WASI_ERRNO_MULTIHOP
232 #define ENAMETOOLONG __WASI_ERRNO_NAMETOOLONG
233 #define ENCRYPT_CNT 9
234 #define ENCRYPT_DEC_KEYID 8
235 #define ENCRYPT_ENC_KEYID 7
236 #define ENCRYPT_END 4
237 #define ENCRYPT_IS 0
238 #define ENCRYPT_NAME(x) encrypt_names[x]
239 #define ENCRYPT_NAME_OK(x) ((unsigned int)(x) < ENCRYPT_CNT)
240 #define ENCRYPT_REPLY 2
241 #define ENCRYPT_REQEND 6
242 #define ENCRYPT_REQSTART 5
243 #define ENCRYPT_START 3
244 #define ENCRYPT_SUPPORT 1
245 #define ENCTYPE_ANY 0
246 #define ENCTYPE_CNT 3
247 #define ENCTYPE_DES_CFB64 1
248 #define ENCTYPE_DES_OFB64 2
249 #define ENCTYPE_NAME(x) enctype_names[x]
250 #define ENCTYPE_NAME_OK(x) ((unsigned int)(x) < ENCTYPE_CNT)
251 #define ENETDOWN __WASI_ERRNO_NETDOWN
252 #define ENETRESET __WASI_ERRNO_NETRESET
253 #define ENETUNREACH __WASI_ERRNO_NETUNREACH
254 #define ENFILE __WASI_ERRNO_NFILE
255 #define ENOBUFS __WASI_ERRNO_NOBUFS
256 #define ENODEV __WASI_ERRNO_NODEV
257 #define ENOENT __WASI_ERRNO_NOENT
258 #define ENOEXEC __WASI_ERRNO_NOEXEC
259 #define ENOLCK __WASI_ERRNO_NOLCK
260 #define ENOLINK __WASI_ERRNO_NOLINK
261 #define ENOMEM __WASI_ERRNO_NOMEM
262 #define ENOMSG __WASI_ERRNO_NOMSG
263 #define ENOPROTOOPT __WASI_ERRNO_NOPROTOOPT
264 #define ENOSPACE 3
265 #define ENOSPC __WASI_ERRNO_NOSPC
266 #define ENOSYS __WASI_ERRNO_NOSYS
267 #define ENOTCAPABLE __WASI_ERRNO_NOTCAPABLE
268 #define ENOTCONN __WASI_ERRNO_NOTCONN
269 #define ENOTDIR __WASI_ERRNO_NOTDIR
270 #define ENOTEMPTY __WASI_ERRNO_NOTEMPTY
271 #define ENOTFOUND 1
272 #define ENOTRECOVERABLE __WASI_ERRNO_NOTRECOVERABLE
273 #define ENOTSOCK __WASI_ERRNO_NOTSOCK
274 #define ENOTSUP __WASI_ERRNO_NOTSUP
275 #define ENOTTY __WASI_ERRNO_NOTTY
276 #define ENOUSER 7
277 #define ENV_ESC 2
278 #define ENV_USERVAR 3
279 #define ENXIO __WASI_ERRNO_NXIO
280 #define EOF (-1)
281 #define EOPNOTSUPP ENOTSUP
282 #define EOR 239
283 #define EOVERFLOW __WASI_ERRNO_OVERFLOW
284 #define EOWNERDEAD __WASI_ERRNO_OWNERDEAD
285 #define EPERM __WASI_ERRNO_PERM
286 #define EPIPE __WASI_ERRNO_PIPE
287 #define EPROTO __WASI_ERRNO_PROTO
288 #define EPROTONOSUPPORT __WASI_ERRNO_PROTONOSUPPORT
289 #define EPROTOTYPE __WASI_ERRNO_PROTOTYPE
290 #define ERA 0x2002C
291 #define ERANGE __WASI_ERRNO_RANGE
292 #define ERA_D_FMT 0x2002E
293 #define ERA_D_T_FMT 0x20030
294 #define ERA_T_FMT 0x20031
295 #define EROFS __WASI_ERRNO_ROFS
296 #define ERROR 05
297 #define ESPIPE __WASI_ERRNO_SPIPE
298 #define ESRCH __WASI_ERRNO_SRCH
299 #define ESTALE __WASI_ERRNO_STALE
300 #define ETIMEDOUT __WASI_ERRNO_TIMEDOUT
301 #define ETXTBSY __WASI_ERRNO_TXTBSY
302 #define EUNDEF 0
303 #define EWOULDBLOCK EAGAIN
304 #define EXDEV __WASI_ERRNO_XDEV
305 #define EXIT_FAILURE 1
306 #define EXIT_SUCCESS 0
307 #define EX_CANTCREAT 73
308 #define EX_CONFIG 78
309 #define EX_DATAERR 65
310 #define EX_IOERR 74
311 #define EX_NOHOST 68
312 #define EX_NOINPUT 66
313 #define EX_NOPERM 77
314 #define EX_NOUSER 67
315 #define EX_OK 0
316 #define EX_OSERR 71
317 #define EX_OSFILE 72
318 #define EX_PROTOCOL 76
319 #define EX_SOFTWARE 70
320 #define EX_TEMPFAIL 75
321 #define EX_UNAVAILABLE 69
322 #define EX_USAGE 64
323 #define EX__BASE 64
324 #define EX__MAX 78
325 #define FD_CLOEXEC (1)
326 #define FD_CLR(fd,set) (FD_CLR((fd), (set)))
327 #define FD_COPY(from,to) (FD_COPY((from), (to)))
328 #define FD_ISSET(fd,set) (FD_ISSET((fd), (set)))
329 #define FD_SET(fd,set) (FD_SET((fd), (set)))
330 #define FD_SETSIZE 1024
331 #define FD_ZERO(set) (FD_ZERO((set)))
332 #define FE_ALL_EXCEPT 0
333 #define FE_DFL_ENV ((const fenv_t *) -1)
334 #define FE_TONEAREST 0
335 #define FIFOTYPE '6'
336 #define FILENAME_MAX 4096
337 #define FILESIZEBITS 64
338 #define FIONBIO 2
339 #define FIONREAD 1
340 #define FLOATBITS (sizeof(float) * 8)
341 #define FLT_DECIMAL_DIG 9
342 #define FLT_DIG 6
343 #define FLT_EPSILON 1.1920928955078125e-07F
344 #define FLT_EVAL_METHOD 0
345 #define FLT_HAS_SUBNORM 1
346 #define FLT_MANT_DIG 24
347 #define FLT_MAX 3.40282346638528859812e+38F
348 #define FLT_MAX_10_EXP 38
349 #define FLT_MAX_EXP 128
350 #define FLT_MIN 1.17549435082228750797e-38F
351 #define FLT_MIN_10_EXP (-37)
352 #define FLT_MIN_EXP (-125)
353 #define FLT_RADIX 2
354 #define FLT_ROUNDS (__builtin_flt_rounds())
355 #define FLT_TRUE_MIN 1.40129846432481707092e-45F
356 #define FLUSHBAND 0x04
357 #define FLUSHR 0x01
358 #define FLUSHRW 0x03
359 #define FLUSHW 0x02
360 #define FMAXEXP FLT_MAX_EXP
361 #define FMINEXP FLT_MIN_EXP
362 #define FMNAMESZ 8
363 #define FNM_CASEFOLD 0x10
364 #define FNM_FILE_NAME FNM_PATHNAME
365 #define FNM_LEADING_DIR 0x8
366 #define FNM_NOESCAPE 0x2
367 #define FNM_NOMATCH 1
368 #define FNM_NOSYS (-1)
369 #define FNM_PATHNAME 0x1
370 #define FNM_PERIOD 0x4
371 #define FOPEN_MAX 1000
372 #define FORMERR ns_r_formerr
373 #define FORM_C 3
374 #define FORM_N 1
375 #define FORM_T 2
376 #define FP_ILOGB0 FP_ILOGBNAN
377 #define FP_ILOGBNAN (-1-0x7fffffff)
378 #define FP_INFINITE 1
379 #define FP_NAN 0
380 #define FP_NORMAL 4
381 #define FP_SUBNORMAL 3
382 #define FP_ZERO 2
383 #define FSETLOCKING_BYCALLER 2
384 #define FSETLOCKING_INTERNAL 1
385 #define FSETLOCKING_QUERY 0
386 #define FTW_CHDIR 4
387 #define FTW_D 2
388 #define FTW_DEPTH 8
389 #define FTW_DNR 3
390 #define FTW_DP 6
391 #define FTW_F 1
392 #define FTW_MOUNT 2
393 #define FTW_NS 4
394 #define FTW_PHYS 1
395 #define FTW_SL 5
396 #define FTW_SLN 7
397 #define F_GETFD (1)
398 #define F_GETFL (3)
399 #define F_LOCK 1
400 #define F_OK (0)
401 #define F_SETFD (2)
402 #define F_SETFL (4)
403 #define F_TEST 3
404 #define F_TLOCK 2
405 #define F_ULOCK 0
406 #define GA 249
407 #define GETLONG NS_GET32
408 #define GETSHORT NS_GET16
409 #define GLOB_ABORTED 2
410 #define GLOB_APPEND 0x20
411 #define GLOB_DOOFFS 0x08
412 #define GLOB_ERR 0x01
413 #define GLOB_MARK 0x02
414 #define GLOB_NOCHECK 0x10
415 #define GLOB_NOESCAPE 0x40
416 #define GLOB_NOMATCH 3
417 #define GLOB_NOSORT 0x04
418 #define GLOB_NOSPACE 1
419 #define GLOB_NOSYS 4
420 #define GLOB_PERIOD 0x80
421 #define GROUP_FILTER_SIZE(numsrc) (sizeof(struct group_filter) - sizeof(struct sockaddr_storage) + (numsrc) * sizeof(struct sockaddr_storage))
422 #define HFIXEDSZ NS_HFIXEDSZ
423 #define HIBITL MINLONG
424 #define HIBITS MINSHORT
425 #define HOST_NAME_MAX 255
426 #define HUGE 3.40282346638528859812e+38F
427 #define HUGE_VAL ((double)INFINITY)
428 #define HUGE_VALF INFINITY
429 #define HUGE_VALL ((long double)INFINITY)
430 #define I _Complex_I
431 #define IAC 255
432 #define ICMP6_DST_UNREACH 1
433 #define ICMP6_DST_UNREACH_ADDR 3
434 #define ICMP6_DST_UNREACH_ADMIN 1
435 #define ICMP6_DST_UNREACH_BEYONDSCOPE 2
436 #define ICMP6_DST_UNREACH_NOPORT 4
437 #define ICMP6_DST_UNREACH_NOROUTE 0
438 #define ICMP6_ECHO_REPLY 129
439 #define ICMP6_ECHO_REQUEST 128
440 #define ICMP6_FILTER 1
441 #define ICMP6_FILTER_BLOCK 1
442 #define ICMP6_FILTER_BLOCKOTHERS 3
443 #define ICMP6_FILTER_PASS 2
444 #define ICMP6_FILTER_PASSONLY 4
445 #define ICMP6_FILTER_SETBLOCK(type,filterp) ((((filterp)->icmp6_filt[(type) >> 5]) |= (1 << ((type) & 31))))
446 #define ICMP6_FILTER_SETBLOCKALL(filterp) memset (filterp, 0xFF, sizeof (struct icmp6_filter));
447 #define ICMP6_FILTER_SETPASS(type,filterp) ((((filterp)->icmp6_filt[(type) >> 5]) &= ~(1 << ((type) & 31))))
448 #define ICMP6_FILTER_SETPASSALL(filterp) memset (filterp, 0, sizeof (struct icmp6_filter));
449 #define ICMP6_FILTER_WILLBLOCK(type,filterp) ((((filterp)->icmp6_filt[(type) >> 5]) & (1 << ((type) & 31))) != 0)
450 #define ICMP6_FILTER_WILLPASS(type,filterp) ((((filterp)->icmp6_filt[(type) >> 5]) & (1 << ((type) & 31))) == 0)
451 #define ICMP6_INFOMSG_MASK 0x80
452 #define ICMP6_PACKET_TOO_BIG 2
453 #define ICMP6_PARAMPROB_HEADER 0
454 #define ICMP6_PARAMPROB_NEXTHEADER 1
455 #define ICMP6_PARAMPROB_OPTION 2
456 #define ICMP6_PARAM_PROB 4
457 #define ICMP6_ROUTER_RENUMBERING 138
458 #define ICMP6_RR_FLAGS_FORCEAPPLY 0x20
459 #define ICMP6_RR_FLAGS_PREVDONE 0x08
460 #define ICMP6_RR_FLAGS_REQRESULT 0x40
461 #define ICMP6_RR_FLAGS_SPECSITE 0x10
462 #define ICMP6_RR_FLAGS_TEST 0x80
463 #define ICMP6_RR_PCOUSE_FLAGS_DECRPLTIME 0x40
464 #define ICMP6_RR_PCOUSE_FLAGS_DECRVLTIME 0x80
465 #define ICMP6_RR_PCOUSE_RAFLAGS_AUTO 0x10
466 #define ICMP6_RR_PCOUSE_RAFLAGS_ONLINK 0x20
467 #define ICMP6_RR_RESULT_FLAGS_FORBIDDEN 0x0100
468 #define ICMP6_RR_RESULT_FLAGS_OOB 0x0200
469 #define ICMP6_TIME_EXCEEDED 3
470 #define ICMP6_TIME_EXCEED_REASSEMBLY 1
471 #define ICMP6_TIME_EXCEED_TRANSIT 0
472 #define ICMP_ADDRESS 17
473 #define ICMP_ADDRESSREPLY 18
474 #define ICMP_ADVLEN(p) (8 + ((p)->icmp_ip.ip_hl << 2) + 8)
475 #define ICMP_ADVLENMIN (8 + sizeof (struct ip) + 8)
476 #define ICMP_DEST_UNREACH 3
477 #define ICMP_ECHO 8
478 #define ICMP_ECHOREPLY 0
479 #define ICMP_EXC_FRAGTIME 1
480 #define ICMP_EXC_TTL 0
481 #define ICMP_FRAG_NEEDED 4
482 #define ICMP_HOST_ANO 10
483 #define ICMP_HOST_ISOLATED 8
484 #define ICMP_HOST_UNKNOWN 7
485 #define ICMP_HOST_UNREACH 1
486 #define ICMP_HOST_UNR_TOS 12
487 #define ICMP_INFOTYPE(type) ((type) == ICMP_ECHOREPLY || (type) == ICMP_ECHO || (type) == ICMP_ROUTERADVERT || (type) == ICMP_ROUTERSOLICIT || (type) == ICMP_TSTAMP || (type) == ICMP_TSTAMPREPLY || (type) == ICMP_IREQ || (type) == ICMP_IREQREPLY || (type) == ICMP_MASKREQ || (type) == ICMP_MASKREPLY)
488 #define ICMP_INFO_REPLY 16
489 #define ICMP_INFO_REQUEST 15
490 #define ICMP_IREQ 15
491 #define ICMP_IREQREPLY 16
492 #define ICMP_MASKLEN 12
493 #define ICMP_MASKREPLY 18
494 #define ICMP_MASKREQ 17
495 #define ICMP_MAXTYPE 18
496 #define ICMP_MINLEN 8
497 #define ICMP_NET_ANO 9
498 #define ICMP_NET_UNKNOWN 6
499 #define ICMP_NET_UNREACH 0
500 #define ICMP_NET_UNR_TOS 11
501 #define ICMP_PARAMETERPROB 12
502 #define ICMP_PARAMPROB 12
503 #define ICMP_PARAMPROB_OPTABSENT 1
504 #define ICMP_PKT_FILTERED 13
505 #define ICMP_PORT_UNREACH 3
506 #define ICMP_PREC_CUTOFF 15
507 #define ICMP_PREC_VIOLATION 14
508 #define ICMP_PROT_UNREACH 2
509 #define ICMP_REDIRECT 5
510 #define ICMP_REDIRECT_HOST 1
511 #define ICMP_REDIRECT_NET 0
512 #define ICMP_REDIRECT_TOSHOST 3
513 #define ICMP_REDIRECT_TOSNET 2
514 #define ICMP_REDIR_HOST 1
515 #define ICMP_REDIR_HOSTTOS 3
516 #define ICMP_REDIR_NET 0
517 #define ICMP_REDIR_NETTOS 2
518 #define ICMP_ROUTERADVERT 9
519 #define ICMP_ROUTERSOLICIT 10
520 #define ICMP_SOURCEQUENCH 4
521 #define ICMP_SOURCE_QUENCH 4
522 #define ICMP_SR_FAILED 5
523 #define ICMP_TIMESTAMP 13
524 #define ICMP_TIMESTAMPREPLY 14
525 #define ICMP_TIME_EXCEEDED 11
526 #define ICMP_TIMXCEED 11
527 #define ICMP_TIMXCEED_INTRANS 0
528 #define ICMP_TIMXCEED_REASS 1
529 #define ICMP_TSLEN (8 + 3 * sizeof (n_time))
530 #define ICMP_TSTAMP 13
531 #define ICMP_TSTAMPREPLY 14
532 #define ICMP_UNREACH 3
533 #define ICMP_UNREACH_FILTER_PROHIB 13
534 #define ICMP_UNREACH_HOST 1
535 #define ICMP_UNREACH_HOST_PRECEDENCE 14
536 #define ICMP_UNREACH_HOST_PROHIB 10
537 #define ICMP_UNREACH_HOST_UNKNOWN 7
538 #define ICMP_UNREACH_ISOLATED 8
539 #define ICMP_UNREACH_NEEDFRAG 4
540 #define ICMP_UNREACH_NET 0
541 #define ICMP_UNREACH_NET_PROHIB 9
542 #define ICMP_UNREACH_NET_UNKNOWN 6
543 #define ICMP_UNREACH_PORT 3
544 #define ICMP_UNREACH_PRECEDENCE_CUTOFF 15
545 #define ICMP_UNREACH_PROTOCOL 2
546 #define ICMP_UNREACH_SRCFAIL 5
547 #define ICMP_UNREACH_TOSHOST 12
548 #define ICMP_UNREACH_TOSNET 11
549 #define IFTODT(x) (__wasilibc_iftodt(x))
550 #define IGMP_AWAKENING_MEMBER 5
551 #define IGMP_DELAYING_MEMBER 1
552 #define IGMP_DVMRP 0x13
553 #define IGMP_HOST_LEAVE_MESSAGE IGMP_V2_LEAVE_GROUP
554 #define IGMP_HOST_MEMBERSHIP_QUERY IGMP_MEMBERSHIP_QUERY
555 #define IGMP_HOST_MEMBERSHIP_REPORT IGMP_V1_MEMBERSHIP_REPORT
556 #define IGMP_HOST_NEW_MEMBERSHIP_REPORT IGMP_V2_MEMBERSHIP_REPORT
557 #define IGMP_IDLE_MEMBER 2
558 #define IGMP_LAZY_MEMBER 3
559 #define IGMP_MAX_HOST_REPORT_DELAY 10
560 #define IGMP_MEMBERSHIP_QUERY 0x11
561 #define IGMP_MINLEN 8
562 #define IGMP_MTRACE 0x1f
563 #define IGMP_MTRACE_RESP 0x1e
564 #define IGMP_PIM 0x14
565 #define IGMP_SLEEPING_MEMBER 4
566 #define IGMP_TIMER_SCALE 10
567 #define IGMP_TRACE 0x15
568 #define IGMP_V1_MEMBERSHIP_REPORT 0x12
569 #define IGMP_V2_LEAVE_GROUP 0x17
570 #define IGMP_V2_MEMBERSHIP_REPORT 0x16
571 #define IGMP_v1_ROUTER 1
572 #define IGMP_v2_ROUTER 2
573 #define IN6ADDRSZ NS_IN6ADDRSZ
574 #define IN6ADDR_ANY_INIT { { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }
575 #define IN6ADDR_LOOPBACK_INIT { { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01 } }
576 #define IN6_ARE_ADDR_EQUAL(a,b) __ARE_4_EQUAL((const uint32_t *)(a), (const uint32_t *)(b))
577 #define IN6_IS_ADDR_LINKLOCAL(a) ((((uint8_t *) (a))[0]) == 0xfe && (((uint8_t *) (a))[1] & 0xc0) == 0x80)
578 #define IN6_IS_ADDR_LOOPBACK(a) (((uint32_t *) (a))[0] == 0 && ((uint32_t *) (a))[1] == 0 && ((uint32_t *) (a))[2] == 0 && ((uint8_t *) (a))[12] == 0 && ((uint8_t *) (a))[13] == 0 && ((uint8_t *) (a))[14] == 0 && ((uint8_t *) (a))[15] == 1 )
579 #define IN6_IS_ADDR_MC_GLOBAL(a) (IN6_IS_ADDR_MULTICAST(a) && ((((uint8_t *) (a))[1] & 0xf) == 0xe))
580 #define IN6_IS_ADDR_MC_LINKLOCAL(a) (IN6_IS_ADDR_MULTICAST(a) && ((((uint8_t *) (a))[1] & 0xf) == 0x2))
581 #define IN6_IS_ADDR_MC_NODELOCAL(a) (IN6_IS_ADDR_MULTICAST(a) && ((((uint8_t *) (a))[1] & 0xf) == 0x1))
582 #define IN6_IS_ADDR_MC_ORGLOCAL(a) (IN6_IS_ADDR_MULTICAST(a) && ((((uint8_t *) (a))[1] & 0xf) == 0x8))
583 #define IN6_IS_ADDR_MC_SITELOCAL(a) (IN6_IS_ADDR_MULTICAST(a) && ((((uint8_t *) (a))[1] & 0xf) == 0x5))
584 #define IN6_IS_ADDR_MULTICAST(a) (((uint8_t *) (a))[0] == 0xff)
585 #define IN6_IS_ADDR_SITELOCAL(a) ((((uint8_t *) (a))[0]) == 0xfe && (((uint8_t *) (a))[1] & 0xc0) == 0xc0)
586 #define IN6_IS_ADDR_UNSPECIFIED(a) (((uint32_t *) (a))[0] == 0 && ((uint32_t *) (a))[1] == 0 && ((uint32_t *) (a))[2] == 0 && ((uint32_t *) (a))[3] == 0)
587 #define IN6_IS_ADDR_V4COMPAT(a) (((uint32_t *) (a))[0] == 0 && ((uint32_t *) (a))[1] == 0 && ((uint32_t *) (a))[2] == 0 && ((uint8_t *) (a))[15] > 1)
588 #define IN6_IS_ADDR_V4MAPPED(a) (((uint32_t *) (a))[0] == 0 && ((uint32_t *) (a))[1] == 0 && ((uint8_t *) (a))[8] == 0 && ((uint8_t *) (a))[9] == 0 && ((uint8_t *) (a))[10] == 0xff && ((uint8_t *) (a))[11] == 0xff)
589 #define INADDRSZ NS_INADDRSZ
590 #define INADDR_ALLHOSTS_GROUP ((in_addr_t) 0xe0000001)
591 #define INADDR_ALLRTRS_GROUP ((in_addr_t) 0xe0000002)
592 #define INADDR_ALLSNOOPERS_GROUP ((in_addr_t) 0xe000006a)
593 #define INADDR_ANY ((in_addr_t) 0x00000000)
594 #define INADDR_BROADCAST ((in_addr_t) 0xffffffff)
595 #define INADDR_DUMMY ((in_addr_t) 0xc0000008)
596 #define INADDR_LOOPBACK ((in_addr_t) 0x7f000001)
597 #define INADDR_MAX_LOCAL_GROUP ((in_addr_t) 0xe00000ff)
598 #define INADDR_NONE ((in_addr_t) 0xffffffff)
599 #define INADDR_UNSPEC_GROUP ((in_addr_t) 0xe0000000)
600 #define INDIR_MASK NS_CMPRSFLGS
601 #define INET6_ADDRSTRLEN 46
602 #define INET_ADDRSTRLEN 16
603 #define INFINITY 1e5000f
604 #define INT16SZ NS_INT16SZ
605 #define INT16_C(c) c
606 #define INT16_MAX (0x7fff)
607 #define INT16_MIN (-1-0x7fff)
608 #define INT32SZ NS_INT32SZ
609 #define INT32_C(c) c
610 #define INT32_MAX (0x7fffffff)
611 #define INT32_MIN (-1-0x7fffffff)
612 #define INT64_C(c) c ## LL
613 #define INT64_MAX (0x7fffffffffffffff)
614 #define INT64_MIN (-1-0x7fffffffffffffff)
615 #define INT8SZ NS_INT8SZ
616 #define INT8_C(c) c
617 #define INT8_MAX (0x7f)
618 #define INT8_MIN (-1-0x7f)
619 #define INTBITS (sizeof(int) * 8)
620 #define INTMAX_C(c) c ## LL
621 #define INTMAX_MAX INT64_MAX
622 #define INTMAX_MIN INT64_MIN
623 #define INTPTR_MAX INT32_MAX
624 #define INTPTR_MIN INT32_MIN
625 #define INT_FAST16_MAX INT16_MAX
626 #define INT_FAST16_MIN INT16_MIN
627 #define INT_FAST32_MAX INT32_MAX
628 #define INT_FAST32_MIN INT32_MIN
629 #define INT_FAST64_MAX INT64_MAX
630 #define INT_FAST64_MIN INT64_MIN
631 #define INT_FAST8_MAX INT8_MAX
632 #define INT_FAST8_MIN INT8_MIN
633 #define INT_LEAST16_MAX INT16_MAX
634 #define INT_LEAST16_MIN INT16_MIN
635 #define INT_LEAST32_MAX INT32_MAX
636 #define INT_LEAST32_MIN INT32_MIN
637 #define INT_LEAST64_MAX INT64_MAX
638 #define INT_LEAST64_MIN INT64_MIN
639 #define INT_LEAST8_MAX INT8_MAX
640 #define INT_LEAST8_MIN INT8_MIN
641 #define INT_MAX 0x7fffffff
642 #define INT_MIN (-1-0x7fffffff)
643 #define IN_BADCLASS(a) ((((in_addr_t)(a)) & 0xf0000000) == 0xf0000000)
644 #define IN_CLASSA(a) ((((in_addr_t)(a)) & 0x80000000) == 0)
645 #define IN_CLASSA_HOST (0xffffffff & ~IN_CLASSA_NET)
646 #define IN_CLASSA_MAX 128
647 #define IN_CLASSA_NET 0xff000000
648 #define IN_CLASSA_NSHIFT 24
649 #define IN_CLASSB(a) ((((in_addr_t)(a)) & 0xc0000000) == 0x80000000)
650 #define IN_CLASSB_HOST (0xffffffff & ~IN_CLASSB_NET)
651 #define IN_CLASSB_MAX 65536
652 #define IN_CLASSB_NET 0xffff0000
653 #define IN_CLASSB_NSHIFT 16
654 #define IN_CLASSC(a) ((((in_addr_t)(a)) & 0xe0000000) == 0xc0000000)
655 #define IN_CLASSC_HOST (0xffffffff & ~IN_CLASSC_NET)
656 #define IN_CLASSC_NET 0xffffff00
657 #define IN_CLASSC_NSHIFT 8
658 #define IN_CLASSD(a) ((((in_addr_t)(a)) & 0xf0000000) == 0xe0000000)
659 #define IN_EXPERIMENTAL(a) ((((in_addr_t)(a)) & 0xe0000000) == 0xe0000000)
660 #define IN_LOOPBACKNET 127
661 #define IN_MULTICAST(a) IN_CLASSD(a)
662 #define IOV_MAX 1024
663 #define IP 244
664 #define IP6F_MORE_FRAG 0x0100
665 #define IP6F_OFF_MASK 0xf8ff
666 #define IP6F_RESERVED_MASK 0x0600
667 #define IP6OPT_JUMBO 0xc2
668 #define IP6OPT_JUMBO_LEN 6
669 #define IP6OPT_NSAP_ADDR 0xc3
670 #define IP6OPT_PAD1 0
671 #define IP6OPT_PADN 1
672 #define IP6OPT_ROUTER_ALERT 0x05
673 #define IP6OPT_TUNNEL_LIMIT 0x04
674 #define IP6OPT_TYPE(o) ((o) & 0xc0)
675 #define IP6OPT_TYPE_DISCARD 0x40
676 #define IP6OPT_TYPE_FORCEICMP 0x80
677 #define IP6OPT_TYPE_ICMP 0xc0
678 #define IP6OPT_TYPE_MUTABLE 0x20
679 #define IP6OPT_TYPE_SKIP 0x00
680 #define IP6_ALERT_AN 0x0200
681 #define IP6_ALERT_MLD 0x0000
682 #define IP6_ALERT_RSVP 0x0100
683 #define IPDEFTTL 64
684 #define IPFRAGTTL 60
685 #define IPOPT_CLASS(o) ((o) & IPOPT_CLASS_MASK)
686 #define IPOPT_CLASS_MASK 0x60
687 #define IPOPT_CONTROL 0x00
688 #define IPOPT_COPIED(o) ((o) & IPOPT_COPY)
689 #define IPOPT_COPY 0x80
690 #define IPOPT_DEBMEAS 0x40
691 #define IPOPT_END IPOPT_EOL
692 #define IPOPT_EOL 0
693 #define IPOPT_LSRR 131
694 #define IPOPT_MEASUREMENT IPOPT_DEBMEAS
695 #define IPOPT_MINOFF 4
696 #define IPOPT_NOOP IPOPT_NOP
697 #define IPOPT_NOP 1
698 #define IPOPT_NUMBER(o) ((o) & IPOPT_NUMBER_MASK)
699 #define IPOPT_NUMBER_MASK 0x1f
700 #define IPOPT_OFFSET 2
701 #define IPOPT_OLEN 1
702 #define IPOPT_OPTVAL 0
703 #define IPOPT_RA 148
704 #define IPOPT_RESERVED1 0x20
705 #define IPOPT_RESERVED2 0x60
706 #define IPOPT_RR 7
707 #define IPOPT_SATID 136
708 #define IPOPT_SEC IPOPT_SECURITY
709 #define IPOPT_SECURITY 130
710 #define IPOPT_SECUR_CONFID 0xf135
711 #define IPOPT_SECUR_EFTO 0x789a
712 #define IPOPT_SECUR_MMMM 0xbc4d
713 #define IPOPT_SECUR_RESTR 0xaf13
714 #define IPOPT_SECUR_SECRET 0xd788
715 #define IPOPT_SECUR_TOPSECRET 0x6bc5
716 #define IPOPT_SECUR_UNCLASS 0x0000
717 #define IPOPT_SID IPOPT_SATID
718 #define IPOPT_SSRR 137
719 #define IPOPT_TIMESTAMP IPOPT_TS
720 #define IPOPT_TS 68
721 #define IPOPT_TS_PRESPEC 3
722 #define IPOPT_TS_TSANDADDR 1
723 #define IPOPT_TS_TSONLY 0
724 #define IPPORT_RESERVED 1024
725 #define IPPROTO_ICMP 1
726 #define IPPROTO_IP 0
727 #define IPPROTO_IPV6 41
728 #define IPPROTO_RAW 255
729 #define IPPROTO_TCP 6
730 #define IPPROTO_UDP 17
731 #define IPTOS_CLASS(x) ((x) & IPTOS_CLASS_MASK)
732 #define IPTOS_CLASS_CS0 0x00
733 #define IPTOS_CLASS_CS1 0x20
734 #define IPTOS_CLASS_CS2 0x40
735 #define IPTOS_CLASS_CS3 0x60
736 #define IPTOS_CLASS_CS4 0x80
737 #define IPTOS_CLASS_CS5 0xa0
738 #define IPTOS_CLASS_CS6 0xc0
739 #define IPTOS_CLASS_CS7 0xe0
740 #define IPTOS_CLASS_DEFAULT IPTOS_CLASS_CS0
741 #define IPTOS_CLASS_MASK 0xe0
742 #define IPTOS_DSCP(x) ((x) & IPTOS_DSCP_MASK)
743 #define IPTOS_DSCP_AF11 0x28
744 #define IPTOS_DSCP_AF12 0x30
745 #define IPTOS_DSCP_AF13 0x38
746 #define IPTOS_DSCP_AF21 0x48
747 #define IPTOS_DSCP_AF22 0x50
748 #define IPTOS_DSCP_AF23 0x58
749 #define IPTOS_DSCP_AF31 0x68
750 #define IPTOS_DSCP_AF32 0x70
751 #define IPTOS_DSCP_AF33 0x78
752 #define IPTOS_DSCP_AF41 0x88
753 #define IPTOS_DSCP_AF42 0x90
754 #define IPTOS_DSCP_AF43 0x98
755 #define IPTOS_DSCP_EF 0xb8
756 #define IPTOS_DSCP_MASK 0xfc
757 #define IPTOS_ECN(x) ((x) & IPTOS_ECN_MASK)
758 #define IPTOS_ECN_CE 0x03
759 #define IPTOS_ECN_ECT0 0x02
760 #define IPTOS_ECN_ECT1 0x01
761 #define IPTOS_ECN_MASK 0x03
762 #define IPTOS_ECN_NOT_ECT 0x00
763 #define IPTOS_LOWCOST 0x02
764 #define IPTOS_LOWDELAY 0x10
765 #define IPTOS_MINCOST IPTOS_LOWCOST
766 #define IPTOS_PREC(tos) ((tos) & IPTOS_PREC_MASK)
767 #define IPTOS_PREC_CRITIC_ECP 0xa0
768 #define IPTOS_PREC_FLASH 0x60
769 #define IPTOS_PREC_FLASHOVERRIDE 0x80
770 #define IPTOS_PREC_IMMEDIATE 0x40
771 #define IPTOS_PREC_INTERNETCONTROL 0xc0
772 #define IPTOS_PREC_MASK 0xe0
773 #define IPTOS_PREC_NETCONTROL 0xe0
774 #define IPTOS_PREC_PRIORITY 0x20
775 #define IPTOS_PREC_ROUTINE 0x00
776 #define IPTOS_RELIABILITY 0x04
777 #define IPTOS_THROUGHPUT 0x08
778 #define IPTOS_TOS(tos) ((tos) & IPTOS_TOS_MASK)
779 #define IPTOS_TOS_MASK 0x1E
780 #define IPTTLDEC 1
781 #define IPV6_2292DSTOPTS 4
782 #define IPV6_2292HOPLIMIT 8
783 #define IPV6_2292HOPOPTS 3
784 #define IPV6_2292PKTINFO 2
785 #define IPV6_2292PKTOPTIONS 6
786 #define IPV6_2292RTHDR 5
787 #define IPV6_ADDRFORM 1
788 #define IPV6_ADDR_PREFERENCES 72
789 #define IPV6_ADD_MEMBERSHIP IPV6_JOIN_GROUP
790 #define IPV6_AUTHHDR 10
791 #define IPV6_AUTOFLOWLABEL 70
792 #define IPV6_CHECKSUM 7
793 #define IPV6_DONTFRAG 62
794 #define IPV6_DROP_MEMBERSHIP IPV6_LEAVE_GROUP
795 #define IPV6_DSTOPTS 59
796 #define IPV6_FREEBIND 78
797 #define IPV6_HDRINCL 36
798 #define IPV6_HOPLIMIT 52
799 #define IPV6_HOPOPTS 54
800 #define IPV6_IPSEC_POLICY 34
801 #define IPV6_JOIN_ANYCAST 27
802 #define IPV6_JOIN_GROUP 20
803 #define IPV6_LEAVE_ANYCAST 28
804 #define IPV6_LEAVE_GROUP 21
805 #define IPV6_MINHOPCOUNT 73
806 #define IPV6_MTU 24
807 #define IPV6_MTU_DISCOVER 23
808 #define IPV6_MULTICAST_ALL 29
809 #define IPV6_MULTICAST_HOPS 18
810 #define IPV6_MULTICAST_IF 17
811 #define IPV6_MULTICAST_LOOP 19
812 #define IPV6_NEXTHOP 9
813 #define IPV6_ORIGDSTADDR 74
814 #define IPV6_PATHMTU 61
815 #define IPV6_PKTINFO 50
816 #define IPV6_PMTUDISC_DO 2
817 #define IPV6_PMTUDISC_DONT 0
818 #define IPV6_PMTUDISC_INTERFACE 4
819 #define IPV6_PMTUDISC_OMIT 5
820 #define IPV6_PMTUDISC_PROBE 3
821 #define IPV6_PMTUDISC_WANT 1
822 #define IPV6_PREFER_SRC_CGA 0x0008
823 #define IPV6_PREFER_SRC_COA 0x0004
824 #define IPV6_PREFER_SRC_HOME 0x0400
825 #define IPV6_PREFER_SRC_NONCGA 0x0800
826 #define IPV6_PREFER_SRC_PUBLIC 0x0002
827 #define IPV6_PREFER_SRC_PUBTMP_DEFAULT 0x0100
828 #define IPV6_PREFER_SRC_TMP 0x0001
829 #define IPV6_RECVDSTOPTS 58
830 #define IPV6_RECVERR 25
831 #define IPV6_RECVFRAGSIZE 77
832 #define IPV6_RECVHOPLIMIT 51
833 #define IPV6_RECVHOPOPTS 53
834 #define IPV6_RECVORIGDSTADDR IPV6_ORIGDSTADDR
835 #define IPV6_RECVPATHMTU 60
836 #define IPV6_RECVPKTINFO 49
837 #define IPV6_RECVRTHDR 56
838 #define IPV6_RECVTCLASS 66
839 #define IPV6_ROUTER_ALERT 22
840 #define IPV6_ROUTER_ALERT_ISOLATE 30
841 #define IPV6_RTHDR 57
842 #define IPV6_RTHDRDSTOPTS 55
843 #define IPV6_RTHDR_LOOSE 0
844 #define IPV6_RTHDR_STRICT 1
845 #define IPV6_RTHDR_TYPE_0 0
846 #define IPV6_RXDSTOPTS IPV6_DSTOPTS
847 #define IPV6_RXHOPOPTS IPV6_HOPOPTS
848 #define IPV6_TCLASS 67
849 #define IPV6_TRANSPARENT 75
850 #define IPV6_UNICAST_HOPS 16
851 #define IPV6_UNICAST_IF 76
852 #define IPV6_V6ONLY 26
853 #define IPV6_XFRM_POLICY 35
854 #define IPVERSION 4
855 #define IP_ADD_MEMBERSHIP 35
856 #define IP_ADD_SOURCE_MEMBERSHIP 39
857 #define IP_BIND_ADDRESS_NO_PORT 24
858 #define IP_BLOCK_SOURCE 38
859 #define IP_CHECKSUM 23
860 #define IP_DEFAULT_MULTICAST_LOOP 1
861 #define IP_DEFAULT_MULTICAST_TTL 1
862 #define IP_DF 0x4000
863 #define IP_DROP_MEMBERSHIP 36
864 #define IP_DROP_SOURCE_MEMBERSHIP 40
865 #define IP_FREEBIND 15
866 #define IP_HDRINCL 3
867 #define IP_IPSEC_POLICY 16
868 #define IP_MAXPACKET 65535
869 #define IP_MAX_MEMBERSHIPS 20
870 #define IP_MF 0x2000
871 #define IP_MINTTL 21
872 #define IP_MSFILTER 41
873 #define IP_MSFILTER_SIZE(numsrc) (sizeof(struct ip_msfilter) - sizeof(struct in_addr) + (numsrc) * sizeof(struct in_addr))
874 #define IP_MSS 576
875 #define IP_MTU 14
876 #define IP_MTU_DISCOVER 10
877 #define IP_MULTICAST_ALL 49
878 #define IP_MULTICAST_IF 32
879 #define IP_MULTICAST_LOOP 34
880 #define IP_MULTICAST_TTL 33
881 #define IP_NODEFRAG 22
882 #define IP_OFFMASK 0x1fff
883 #define IP_OPTIONS 4
884 #define IP_ORIGDSTADDR 20
885 #define IP_PASSSEC 18
886 #define IP_PKTINFO 8
887 #define IP_PKTOPTIONS 9
888 #define IP_PMTUDISC 10
889 #define IP_PMTUDISC_DO 2
890 #define IP_PMTUDISC_DONT 0
891 #define IP_PMTUDISC_INTERFACE 4
892 #define IP_PMTUDISC_OMIT 5
893 #define IP_PMTUDISC_PROBE 3
894 #define IP_PMTUDISC_WANT 1
895 #define IP_RECVERR 11
896 #define IP_RECVERR_RFC4884 26
897 #define IP_RECVFRAGSIZE 25
898 #define IP_RECVOPTS 6
899 #define IP_RECVORIGDSTADDR IP_ORIGDSTADDR
900 #define IP_RECVRETOPTS IP_RETOPTS
901 #define IP_RECVTOS 13
902 #define IP_RECVTTL 12
903 #define IP_RETOPTS 7
904 #define IP_RF 0x8000
905 #define IP_ROUTER_ALERT 5
906 #define IP_TOS 1
907 #define IP_TRANSPARENT 19
908 #define IP_TTL 2
909 #define IP_UNBLOCK_SOURCE 37
910 #define IP_UNICAST_IF 50
911 #define IP_XFRM_POLICY 17
912 #define IQUERY ns_o_iquery
913 #define I_ATMARK (__SID |31)
914 #define I_CANPUT (__SID |34)
915 #define I_CKBAND (__SID |29)
916 #define I_FDINSERT (__SID |16)
917 #define I_FIND (__SID |11)
918 #define I_FLUSH (__SID | 5)
919 #define I_FLUSHBAND (__SID |28)
920 #define I_GETBAND (__SID |30)
921 #define I_GETCLTIME (__SID |33)
922 #define I_GETSIG (__SID |10)
923 #define I_GRDOPT (__SID | 7)
924 #define I_GWROPT (__SID |20)
925 #define I_LINK (__SID |12)
926 #define I_LIST (__SID |21)
927 #define I_LOOK (__SID | 4)
928 #define I_NREAD (__SID | 1)
929 #define I_PEEK (__SID |15)
930 #define I_PLINK (__SID |22)
931 #define I_POP (__SID | 3)
932 #define I_PUNLINK (__SID |23)
933 #define I_PUSH (__SID | 2)
934 #define I_RECVFD (__SID |14)
935 #define I_SENDFD (__SID |17)
936 #define I_SETCLTIME (__SID |32)
937 #define I_SETSIG (__SID | 9)
938 #define I_SRDOPT (__SID | 6)
939 #define I_STR (__SID | 8)
940 #define I_SWROPT (__SID |19)
941 #define I_UNLINK (__SID |13)
942 #define LASTMARK 0x02
943 #define LC_ALL 6
944 #define LC_ALL_MASK 0x7fffffff
945 #define LC_COLLATE 3
946 #define LC_COLLATE_MASK (1<<LC_COLLATE)
947 #define LC_CTYPE 0
948 #define LC_CTYPE_MASK (1<<LC_CTYPE)
949 #define LC_GLOBAL_LOCALE ((locale_t)-1)
950 #define LC_MESSAGES 5
951 #define LC_MESSAGES_MASK (1<<LC_MESSAGES)
952 #define LC_MONETARY 4
953 #define LC_MONETARY_MASK (1<<LC_MONETARY)
954 #define LC_NUMERIC 1
955 #define LC_NUMERIC_MASK (1<<LC_NUMERIC)
956 #define LC_TIME 2
957 #define LC_TIME_MASK (1<<LC_TIME)
958 #define LDBL_DECIMAL_DIG DECIMAL_DIG
959 #define LDBL_DIG 33
960 #define LDBL_EPSILON 1.92592994438723585305597794258492732e-34L
961 #define LDBL_HAS_SUBNORM 1
962 #define LDBL_MANT_DIG 113
963 #define LDBL_MAX 1.18973149535723176508575932662800702e+4932L
964 #define LDBL_MAX_10_EXP 4932
965 #define LDBL_MAX_EXP 16384
966 #define LDBL_MIN 3.36210314311209350626267781732175260e-4932L
967 #define LDBL_MIN_10_EXP (-4931)
968 #define LDBL_MIN_EXP (-16381)
969 #define LDBL_TRUE_MIN 6.47517511943802511092443895822764655e-4966L
970 #define LFLOW_OFF 0
971 #define LFLOW_ON 1
972 #define LFLOW_RESTART_ANY 2
973 #define LFLOW_RESTART_XON 3
974 #define LITTLE_ENDIAN __LITTLE_ENDIAN
975 #define LLONG_MAX 0x7fffffffffffffffLL
976 #define LLONG_MIN (-LLONG_MAX-1)
977 #define LM_FORWARDMASK 2
978 #define LM_MODE 1
979 #define LM_SLC 3
980 #define LNKTYPE '1'
981 #define LOCK_EX 2
982 #define LOCK_NB 4
983 #define LOCK_SH 1
984 #define LOCK_UN 8
985 #define LONGBITS (sizeof(long) * 8)
986 #define LONG_BIT 32
987 #define LONG_MAX __LONG_MAX
988 #define LONG_MIN (-LONG_MAX-1)
989 #define L_INCR 1
990 #define L_SET 0
991 #define L_XTND 2
992 #define L_ctermid 20
993 #define L_cuserid 20
994 #define MAGIC "070707"
995 #define MATH_ERREXCEPT 2
996 #define MATH_ERRNO 1
997 #define MAX(a,b) (((a)>(b))?(a):(b))
998 #define MAXCDNAME NS_MAXCDNAME
999 #define MAXDNAME NS_MAXDNAME
1000 #define MAXDOUBLE DBL_MAX
1001 #define MAXFLOAT FLT_MAX
1002 #define MAXHOSTNAMELEN 64
1003 #define MAXINT INT_MAX
1004 #define MAXLABEL NS_MAXLABEL
1005 #define MAXLONG LONG_MAX
1006 #define MAXNAMLEN 255
1007 #define MAXPATHLEN 4096
1008 #define MAXSHORT SHRT_MAX
1009 #define MAXSYMLINKS 20
1010 #define MAXTC 6
1011 #define MAXTTL 255
1012 #define MAX_IPOPTLEN 40
1013 #define MB_CUR_MAX (__ctype_get_mb_cur_max())
1014 #define MB_LEN_MAX 4
1015 #define MCAST_BLOCK_SOURCE 43
1016 #define MCAST_EXCLUDE 0
1017 #define MCAST_INCLUDE 1
1018 #define MCAST_JOIN_GROUP 42
1019 #define MCAST_JOIN_SOURCE_GROUP 46
1020 #define MCAST_LEAVE_GROUP 45
1021 #define MCAST_LEAVE_SOURCE_GROUP 47
1022 #define MCAST_MSFILTER 48
1023 #define MCAST_UNBLOCK_SOURCE 44
1024 #define MIN(a,b) (((a)<(b))?(a):(b))
1025 #define MINDOUBLE DBL_MIN
1026 #define MINFLOAT FLT_MIN
1027 #define MININT INT_MIN
1028 #define MINLONG LONG_MIN
1029 #define MINSHORT SHRT_MIN
1030 #define MLD_LISTENER_QUERY 130
1031 #define MLD_LISTENER_REDUCTION 132
1032 #define MLD_LISTENER_REPORT 131
1033 #define MM_APPL 8
1034 #define MM_CONSOLE 512
1035 #define MM_ERROR 2
1036 #define MM_FIRM 4
1037 #define MM_HALT 1
1038 #define MM_HARD 1
1039 #define MM_INFO 4
1040 #define MM_NOCON 4
1041 #define MM_NOMSG 1
1042 #define MM_NOSEV 0
1043 #define MM_NOTOK (-1)
1044 #define MM_NRECOV 128
1045 #define MM_NULLACT ((char*)0)
1046 #define MM_NULLLBL ((char*)0)
1047 #define MM_NULLMC 0L
1048 #define MM_NULLSEV 0
1049 #define MM_NULLTAG ((char*)0)
1050 #define MM_NULLTXT ((char*)0)
1051 #define MM_OK 0
1052 #define MM_OPSYS 32
1053 #define MM_PRINT 256
1054 #define MM_RECOVER 64
1055 #define MM_SOFT 2
1056 #define MM_UTIL 16
1057 #define MM_WARNING 3
1058 #define MODE_ACK 0x04
1059 #define MODE_B 2
1060 #define MODE_C 3
1061 #define MODE_ECHO 0x0200
1062 #define MODE_EDIT 0x01
1063 #define MODE_FLOW 0x0100
1064 #define MODE_FORCE 0x1000
1065 #define MODE_INBIN 0x0400
1066 #define MODE_LIT_ECHO 0x10
1067 #define MODE_MASK 0x1f
1068 #define MODE_OUTBIN 0x0800
1069 #define MODE_S 1
1070 #define MODE_SOFT_TAB 0x08
1071 #define MODE_TRAPSIG 0x02
1072 #define MOD_CLKA ADJ_OFFSET_SINGLESHOT
1073 #define MOD_CLKB ADJ_TICK
1074 #define MOD_ESTERROR ADJ_ESTERROR
1075 #define MOD_FREQUENCY ADJ_FREQUENCY
1076 #define MOD_MAXERROR ADJ_MAXERROR
1077 #define MOD_MICRO ADJ_MICRO
1078 #define MOD_NANO ADJ_NANO
1079 #define MOD_OFFSET ADJ_OFFSET
1080 #define MOD_STATUS ADJ_STATUS
1081 #define MOD_TAI ADJ_TAI
1082 #define MOD_TIMECONST ADJ_TIMECONST
1083 #define MON_1 0x2001A
1084 #define MON_10 0x20023
1085 #define MON_11 0x20024
1086 #define MON_12 0x20025
1087 #define MON_2 0x2001B
1088 #define MON_3 0x2001C
1089 #define MON_4 0x2001D
1090 #define MON_5 0x2001E
1091 #define MON_6 0x2001F
1092 #define MON_7 0x20020
1093 #define MON_8 0x20021
1094 #define MON_9 0x20022
1095 #define MORECTL 1
1096 #define MOREDATA 2
1097 #define MSG_ANY 0x02
1098 #define MSG_BAND 0x04
1099 #define MSG_HIPRI 0x01
1100 #define MSG_PEEK __WASI_RIFLAGS_RECV_PEEK
1101 #define MSG_TRUNC __WASI_RIFLAGS_RECV_DATA_TRUNCATED
1102 #define MSG_WAITALL __WASI_RIFLAGS_RECV_WAITALL
1103 #define MUXID_ALL (-1)
1104 #define M_1_PI 0.31830988618379067154
1105 #define M_2_PI 0.63661977236758134308
1106 #define M_2_SQRTPI 1.12837916709551257390
1107 #define M_E 2.7182818284590452354
1108 #define M_LN10 2.30258509299404568402
1109 #define M_LN2 0.69314718055994530942
1110 #define M_LOG10E 0.43429448190325182765
1111 #define M_LOG2E 1.4426950408889634074
1112 #define M_PI 3.14159265358979323846
1113 #define M_PI_2 1.57079632679489661923
1114 #define M_PI_4 0.78539816339744830962
1115 #define M_SQRT1_2 0.70710678118654752440
1116 #define M_SQRT2 1.41421356237309504880
1117 #define NAMESERVER_PORT NS_DEFAULTPORT
1118 #define NAME_MAX 255
1119 #define NAN (0.0f/0.0f)
1120 #define NBBY 8
1121 #define NCARGS 131072
1122 #define NDEBUG 1
1123 #define ND_NA_FLAG_OVERRIDE 0x00000020
1124 #define ND_NA_FLAG_ROUTER 0x00000080
1125 #define ND_NA_FLAG_SOLICITED 0x00000040
1126 #define ND_NEIGHBOR_ADVERT 136
1127 #define ND_NEIGHBOR_SOLICIT 135
1128 #define ND_OPT_HOME_AGENT_INFO 8
1129 #define ND_OPT_MTU 5
1130 #define ND_OPT_PI_FLAG_AUTO 0x40
1131 #define ND_OPT_PI_FLAG_ONLINK 0x80
1132 #define ND_OPT_PI_FLAG_RADDR 0x20
1133 #define ND_OPT_PREFIX_INFORMATION 3
1134 #define ND_OPT_REDIRECTED_HEADER 4
1135 #define ND_OPT_RTR_ADV_INTERVAL 7
1136 #define ND_OPT_SOURCE_LINKADDR 1
1137 #define ND_OPT_TARGET_LINKADDR 2
1138 #define ND_RA_FLAG_HOME_AGENT 0x20
1139 #define ND_RA_FLAG_MANAGED 0x80
1140 #define ND_RA_FLAG_OTHER 0x40
1141 #define ND_REDIRECT 137
1142 #define ND_ROUTER_ADVERT 134
1143 #define ND_ROUTER_SOLICIT 133
1144 #define NEW_ENV_VALUE 1
1145 #define NEW_ENV_VAR 0
1146 #define NGROUPS 32
1147 #define NGROUPS_MAX 32
1148 #define NL_ARGMAX 9
1149 #define NL_CAT_LOCALE 1
1150 #define NL_LANGMAX 32
1151 #define NL_LOCALE_NAME(cat) _NL_LOCALE_NAME(cat)
1152 #define NL_MSGMAX 32767
1153 #define NL_NMAX 16
1154 #define NL_SETD 1
1155 #define NL_SETMAX 255
1156 #define NL_TEXTMAX 2048
1157 #define NOERROR ns_r_noerror
1158 #define NOEXPR 0x50001
1159 #define NOFILE 256
1160 #define NOGROUP (-1)
1161 #define NOP 241
1162 #define NOSTR 0x50003
1163 #define NOTAUTH ns_r_notauth
1164 #define NOTIMP ns_r_notimpl
1165 #define NOTZONE ns_r_notzone
1166 #define NR_ICMP_TYPES 18
1167 #define NR_ICMP_UNREACH 15
1168 #define NSLC 18
1169 #define NS_ALG_DH 2
1170 #define NS_ALG_DSA 3
1171 #define NS_ALG_DSS NS_ALG_DSA
1172 #define NS_ALG_EXPIRE_ONLY 253
1173 #define NS_ALG_MD5RSA 1
1174 #define NS_ALG_PRIVATE_OID 254
1175 #define NS_CMPRSFLGS 0xc0
1176 #define NS_DEFAULTPORT 53
1177 #define NS_DSA_MAX_BYTES 405
1178 #define NS_DSA_MIN_SIZE 213
1179 #define NS_DSA_SIG_SIZE 41
1180 #define NS_GET16(s,cp) (void)((s) = ns_get16(((cp)+=2)-2))
1181 #define NS_GET32(l,cp) (void)((l) = ns_get32(((cp)+=4)-4))
1182 #define NS_HFIXEDSZ 12
1183 #define NS_IN6ADDRSZ 16
1184 #define NS_INADDRSZ 4
1185 #define NS_INT16SZ 2
1186 #define NS_INT32SZ 4
1187 #define NS_INT8SZ 1
1188 #define NS_KEY_EXTENDED_FLAGS 0x1000
1189 #define NS_KEY_NAME_ENTITY 0x0200
1190 #define NS_KEY_NAME_RESERVED 0x0300
1191 #define NS_KEY_NAME_TYPE 0x0300
1192 #define NS_KEY_NAME_USER 0x0000
1193 #define NS_KEY_NAME_ZONE 0x0100
1194 #define NS_KEY_NO_AUTH 0x8000
1195 #define NS_KEY_NO_CONF 0x4000
1196 #define NS_KEY_PROT_ANY 255
1197 #define NS_KEY_PROT_DNSSEC 3
1198 #define NS_KEY_PROT_EMAIL 2
1199 #define NS_KEY_PROT_IPSEC 4
1200 #define NS_KEY_PROT_TLS 1
1201 #define NS_KEY_RESERVED10 0x0020
1202 #define NS_KEY_RESERVED11 0x0010
1203 #define NS_KEY_RESERVED2 0x2000
1204 #define NS_KEY_RESERVED4 0x0800
1205 #define NS_KEY_RESERVED5 0x0400
1206 #define NS_KEY_RESERVED8 0x0080
1207 #define NS_KEY_RESERVED9 0x0040
1208 #define NS_KEY_RESERVED_BITMASK ( NS_KEY_RESERVED2 | NS_KEY_RESERVED4 | NS_KEY_RESERVED5 | NS_KEY_RESERVED8 | NS_KEY_RESERVED9 | NS_KEY_RESERVED10 | NS_KEY_RESERVED11 )
1209 #define NS_KEY_RESERVED_BITMASK2 0xFFFF
1210 #define NS_KEY_SIGNATORYMASK 0x000F
1211 #define NS_KEY_TYPEMASK 0xC000
1212 #define NS_KEY_TYPE_AUTH_CONF 0x0000
1213 #define NS_KEY_TYPE_AUTH_ONLY 0x4000
1214 #define NS_KEY_TYPE_CONF_ONLY 0x8000
1215 #define NS_KEY_TYPE_NO_KEY 0xC000
1216 #define NS_MAXCDNAME 255
1217 #define NS_MAXDNAME 1025
1218 #define NS_MAXLABEL 63
1219 #define NS_MAXMSG 65535
1220 #define NS_MD5RSA_MAX_BASE64 (((NS_MD5RSA_MAX_BYTES+2)/3)*4)
1221 #define NS_MD5RSA_MAX_BITS 4096
1222 #define NS_MD5RSA_MAX_BYTES ((NS_MD5RSA_MAX_BITS+7/8)*2+3)
1223 #define NS_MD5RSA_MAX_SIZE ((NS_MD5RSA_MAX_BITS+7)/8)
1224 #define NS_MD5RSA_MIN_BITS 512
1225 #define NS_MD5RSA_MIN_SIZE ((NS_MD5RSA_MIN_BITS+7)/8)
1226 #define NS_NOTIFY_OP ns_o_notify
1227 #define NS_NXT_BITS 8
1228 #define NS_NXT_BIT_CLEAR(n,p) (p[(n)/NS_NXT_BITS] &= ~(0x80>>((n)%NS_NXT_BITS)))
1229 #define NS_NXT_BIT_ISSET(n,p) (p[(n)/NS_NXT_BITS] & (0x80>>((n)%NS_NXT_BITS)))
1230 #define NS_NXT_BIT_SET(n,p) (p[(n)/NS_NXT_BITS] |= (0x80>>((n)%NS_NXT_BITS)))
1231 #define NS_NXT_MAX 127
1232 #define NS_OPT_DNSSEC_OK 0x8000U
1233 #define NS_OPT_NSID 3
1234 #define NS_PACKETSZ 512
1235 #define NS_PUT16(s,cp) ns_put16((s), ((cp)+=2)-2)
1236 #define NS_PUT32(l,cp) ns_put32((l), ((cp)+=4)-4)
1237 #define NS_QFIXEDSZ 4
1238 #define NS_RRFIXEDSZ 10
1239 #define NS_SIG_ALG 2
1240 #define NS_SIG_EXPIR 8
1241 #define NS_SIG_FOOT 16
1242 #define NS_SIG_LABELS 3
1243 #define NS_SIG_OTTL 4
1244 #define NS_SIG_SIGNED 12
1245 #define NS_SIG_SIGNER 18
1246 #define NS_SIG_TYPE 0
1247 #define NS_TSIG_ALG_HMAC_MD5 "HMAC-MD5.SIG-ALG.REG.INT"
1248 #define NS_TSIG_ERROR_FORMERR -12
1249 #define NS_TSIG_ERROR_NO_SPACE -11
1250 #define NS_TSIG_ERROR_NO_TSIG -10
1251 #define NS_TSIG_FUDGE 300
1252 #define NS_TSIG_TCP_COUNT 100
1253 #define NS_UPDATE_OP ns_o_update
1254 #define NTELOPTS (1+TELOPT_NEW_ENVIRON)
1255 #define NULL ((void*)0)
1256 #define NXDOMAIN ns_r_nxdomain
1257 #define NXRRSET ns_r_nxrrset
1258 #define NZERO 20
1259 #define OLD_ENV_VALUE 0
1260 #define OLD_ENV_VAR 1
1261 #define ONCE_FLAG_INIT 0
1262 #define O_ACCMODE (O_EXEC | O_RDWR | O_SEARCH)
1263 #define O_APPEND __WASI_FDFLAGS_APPEND
1264 #define O_CLOEXEC (0)
1265 #define O_CREAT (__WASI_OFLAGS_CREAT << 12)
1266 #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
1267 #define O_DSYNC __WASI_FDFLAGS_DSYNC
1268 #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
1269 #define O_EXEC (0x02000000)
1270 #define O_NOCTTY (0)
1271 #define O_NOFOLLOW (0x01000000)
1272 #define O_NONBLOCK __WASI_FDFLAGS_NONBLOCK
1273 #define O_RDONLY (0x04000000)
1274 #define O_RDWR (O_RDONLY | O_WRONLY)
1275 #define O_RSYNC __WASI_FDFLAGS_RSYNC
1276 #define O_SEARCH (0x08000000)
1277 #define O_SYNC __WASI_FDFLAGS_SYNC
1278 #define O_TRUNC (__WASI_OFLAGS_TRUNC << 12)
1279 #define O_TTY_INIT (0)
1280 #define O_WRONLY (0x10000000)
1281 #define PACKETSZ NS_PACKETSZ
1282 #define PACKET_ADD_MEMBERSHIP 1
1283 #define PACKET_AUXDATA 8
1284 #define PACKET_BROADCAST 1
1285 #define PACKET_COPY_THRESH 7
1286 #define PACKET_DROP_MEMBERSHIP 2
1287 #define PACKET_FANOUT 18
1288 #define PACKET_FANOUT_DATA 22
1289 #define PACKET_FASTROUTE 6
1290 #define PACKET_HDRLEN 11
1291 #define PACKET_HOST 0
1292 #define PACKET_IGNORE_OUTGOING 23
1293 #define PACKET_LOOPBACK 5
1294 #define PACKET_LOSS 14
1295 #define PACKET_MR_ALLMULTI 2
1296 #define PACKET_MR_MULTICAST 0
1297 #define PACKET_MR_PROMISC 1
1298 #define PACKET_MR_UNICAST 3
1299 #define PACKET_MULTICAST 2
1300 #define PACKET_ORIGDEV 9
1301 #define PACKET_OTHERHOST 3
1302 #define PACKET_OUTGOING 4
1303 #define PACKET_QDISC_BYPASS 20
1304 #define PACKET_RECV_OUTPUT 3
1305 #define PACKET_RESERVE 12
1306 #define PACKET_ROLLOVER_STATS 21
1307 #define PACKET_RX_RING 5
1308 #define PACKET_STATISTICS 6
1309 #define PACKET_TIMESTAMP 17
1310 #define PACKET_TX_HAS_OFF 19
1311 #define PACKET_TX_RING 13
1312 #define PACKET_TX_TIMESTAMP 16
1313 #define PACKET_VERSION 10
1314 #define PACKET_VNET_HDR 15
1315 #define PAGESIZE (0x10000)
1316 #define PAGE_SIZE PAGESIZE
1317 #define PATH_MAX 4096
1318 #define PDP_ENDIAN __PDP_ENDIAN
1319 #define PM_STR 0x20027
1320 #define POLLERR 0x1000
1321 #define POLLHUP 0x2000
1322 #define POLLIN POLLRDNORM
1323 #define POLLNVAL 0x4000
1324 #define POLLOUT POLLWRNORM
1325 #define POLLRDNORM 0x1
1326 #define POLLWRNORM 0x2
1327 #define POSIX_CLOSE_RESTART 0
1328 #define POSIX_FADV_DONTNEED __WASI_ADVICE_DONTNEED
1329 #define POSIX_FADV_NOREUSE __WASI_ADVICE_NOREUSE
1330 #define POSIX_FADV_NORMAL __WASI_ADVICE_NORMAL
1331 #define POSIX_FADV_RANDOM __WASI_ADVICE_RANDOM
1332 #define POSIX_FADV_SEQUENTIAL __WASI_ADVICE_SEQUENTIAL
1333 #define POSIX_FADV_WILLNEED __WASI_ADVICE_WILLNEED
1334 #define PRELIM 1
1335 #define PRIX16 __UINT16_FMTX__
1336 #define PRIX32 __UINT32_FMTX__
1337 #define PRIX64 __UINT64_FMTX__
1338 #define PRIX8 __UINT8_FMTX__
1339 #define PRIXFAST16 __UINT_FAST16_FMTX__
1340 #define PRIXFAST32 __UINT_FAST32_FMTX__
1341 #define PRIXFAST64 __UINT_FAST64_FMTX__
1342 #define PRIXFAST8 __UINT_FAST8_FMTX__
1343 #define PRIXLEAST16 __UINT_LEAST16_FMTX__
1344 #define PRIXLEAST32 __UINT_LEAST32_FMTX__
1345 #define PRIXLEAST64 __UINT_LEAST64_FMTX__
1346 #define PRIXLEAST8 __UINT_LEAST8_FMTX__
1347 #define PRIXMAX __UINTMAX_FMTX__
1348 #define PRIXPTR __UINTPTR_FMTX__
1349 #define PRId16 __INT16_FMTd__
1350 #define PRId32 __INT32_FMTd__
1351 #define PRId64 __INT64_FMTd__
1352 #define PRId8 __INT8_FMTd__
1353 #define PRIdFAST16 __INT_FAST16_FMTd__
1354 #define PRIdFAST32 __INT_FAST32_FMTd__
1355 #define PRIdFAST64 __INT_FAST64_FMTd__
1356 #define PRIdFAST8 __INT_FAST8_FMTd__
1357 #define PRIdLEAST16 __INT_LEAST16_FMTd__
1358 #define PRIdLEAST32 __INT_LEAST32_FMTd__
1359 #define PRIdLEAST64 __INT_LEAST64_FMTd__
1360 #define PRIdLEAST8 __INT_LEAST8_FMTd__
1361 #define PRIdMAX __INTMAX_FMTd__
1362 #define PRIdPTR __INTPTR_FMTd__
1363 #define PRIi16 __INT16_FMTi__
1364 #define PRIi32 __INT32_FMTi__
1365 #define PRIi64 __INT64_FMTi__
1366 #define PRIi8 __INT8_FMTi__
1367 #define PRIiFAST16 __INT_FAST16_FMTi__
1368 #define PRIiFAST32 __INT_FAST32_FMTi__
1369 #define PRIiFAST64 __INT_FAST64_FMTi__
1370 #define PRIiFAST8 __INT_FAST8_FMTi__
1371 #define PRIiLEAST16 __INT_LEAST16_FMTi__
1372 #define PRIiLEAST32 __INT_LEAST32_FMTi__
1373 #define PRIiLEAST64 __INT_LEAST64_FMTi__
1374 #define PRIiLEAST8 __INT_LEAST8_FMTi__
1375 #define PRIiMAX __INTMAX_FMTi__
1376 #define PRIiPTR __INTPTR_FMTi__
1377 #define PRIo16 __UINT16_FMTo__
1378 #define PRIo32 __UINT32_FMTo__
1379 #define PRIo64 __UINT64_FMTo__
1380 #define PRIo8 __UINT8_FMTo__
1381 #define PRIoFAST16 __UINT_FAST16_FMTo__
1382 #define PRIoFAST32 __UINT_FAST32_FMTo__
1383 #define PRIoFAST64 __UINT_FAST64_FMTo__
1384 #define PRIoFAST8 __UINT_FAST8_FMTo__
1385 #define PRIoLEAST16 __UINT_LEAST16_FMTo__
1386 #define PRIoLEAST32 __UINT_LEAST32_FMTo__
1387 #define PRIoLEAST64 __UINT_LEAST64_FMTo__
1388 #define PRIoLEAST8 __UINT_LEAST8_FMTo__
1389 #define PRIoMAX __UINTMAX_FMTo__
1390 #define PRIoPTR __UINTPTR_FMTo__
1391 #define PRIu16 __UINT16_FMTu__
1392 #define PRIu32 __UINT32_FMTu__
1393 #define PRIu64 __UINT64_FMTu__
1394 #define PRIu8 __UINT8_FMTu__
1395 #define PRIuFAST16 __UINT_FAST16_FMTu__
1396 #define PRIuFAST32 __UINT_FAST32_FMTu__
1397 #define PRIuFAST64 __UINT_FAST64_FMTu__
1398 #define PRIuFAST8 __UINT_FAST8_FMTu__
1399 #define PRIuLEAST16 __UINT_LEAST16_FMTu__
1400 #define PRIuLEAST32 __UINT_LEAST32_FMTu__
1401 #define PRIuLEAST64 __UINT_LEAST64_FMTu__
1402 #define PRIuLEAST8 __UINT_LEAST8_FMTu__
1403 #define PRIuMAX __UINTMAX_FMTu__
1404 #define PRIuPTR __UINTPTR_FMTu__
1405 #define PRIx16 __UINT16_FMTx__
1406 #define PRIx32 __UINT32_FMTx__
1407 #define PRIx64 __UINT64_FMTx__
1408 #define PRIx8 __UINT8_FMTx__
1409 #define PRIxFAST16 __UINT_FAST16_FMTx__
1410 #define PRIxFAST32 __UINT_FAST32_FMTx__
1411 #define PRIxFAST64 __UINT_FAST64_FMTx__
1412 #define PRIxFAST8 __UINT_FAST8_FMTx__
1413 #define PRIxLEAST16 __UINT_LEAST16_FMTx__
1414 #define PRIxLEAST32 __UINT_LEAST32_FMTx__
1415 #define PRIxLEAST64 __UINT_LEAST64_FMTx__
1416 #define PRIxLEAST8 __UINT_LEAST8_FMTx__
1417 #define PRIxMAX __UINTMAX_FMTx__
1418 #define PRIxPTR __UINTPTR_FMTx__
1419 #define PTRBITS (sizeof(char *) * 8)
1420 #define PTRDIFF_MAX INT32_MAX
1421 #define PTRDIFF_MIN INT32_MIN
1422 #define PUTLONG NS_PUT32
1423 #define PUTSHORT NS_PUT16
1424 #define QFIXEDSZ NS_QFIXEDSZ
1425 #define QUERY ns_o_query
1426 #define RADIXCHAR 0x10000
1427 #define RAND_MAX (0x7fffffff)
1428 #define REC_EOF '\002'
1429 #define REC_EOR '\001'
1430 #define REC_ESC '\377'
1431 #define REFUSED ns_r_refused
1432 #define REGTYPE '0'
1433 #define REG_BADBR 10
1434 #define REG_BADPAT 2
1435 #define REG_BADRPT 13
1436 #define REG_EBRACE 9
1437 #define REG_EBRACK 7
1438 #define REG_ECOLLATE 3
1439 #define REG_ECTYPE 4
1440 #define REG_EESCAPE 5
1441 #define REG_ENOSYS -1
1442 #define REG_EPAREN 8
1443 #define REG_ERANGE 11
1444 #define REG_ESPACE 12
1445 #define REG_ESUBREG 6
1446 #define REG_EXTENDED 1
1447 #define REG_ICASE 2
1448 #define REG_NEWLINE 4
1449 #define REG_NOMATCH 1
1450 #define REG_NOSUB 8
1451 #define REG_NOTBOL 1
1452 #define REG_NOTEOL 2
1453 #define REG_OK 0
1454 #define RE_DUP_MAX 255
1455 #define RMSGD 0x0001
1456 #define RMSGN 0x0002
1457 #define RNORM 0x0000
1458 #define RPM_PCO_ADD 1
1459 #define RPM_PCO_CHANGE 2
1460 #define RPM_PCO_SETGLOBAL 3
1461 #define RPROTDAT 0x0004
1462 #define RPROTDIS 0x0008
1463 #define RPROTMASK 0x001C
1464 #define RPROTNORM 0x0010
1465 #define RRFIXEDSZ NS_RRFIXEDSZ
1466 #define RRQ 01
1467 #define RS_HIPRI 0x01
1468 #define RUSAGE_CHILDREN 2
1469 #define RUSAGE_SELF 1
1470 #define R_OK (4)
1471 #define SARMAG 8
1472 #define SB 250
1473 #define SCHAR_MAX 127
1474 #define SCHAR_MIN (-128)
1475 #define SCNd16 __INT16_FMTd__
1476 #define SCNd32 __INT32_FMTd__
1477 #define SCNd64 __INT64_FMTd__
1478 #define SCNd8 __INT8_FMTd__
1479 #define SCNdFAST16 __INT_FAST16_FMTd__
1480 #define SCNdFAST32 __INT_FAST32_FMTd__
1481 #define SCNdFAST64 __INT_FAST64_FMTd__
1482 #define SCNdFAST8 __INT_FAST8_FMTd__
1483 #define SCNdLEAST16 __INT_LEAST16_FMTd__
1484 #define SCNdLEAST32 __INT_LEAST32_FMTd__
1485 #define SCNdLEAST64 __INT_LEAST64_FMTd__
1486 #define SCNdLEAST8 __INT_LEAST8_FMTd__
1487 #define SCNdMAX __INTMAX_FMTd__
1488 #define SCNdPTR __INTPTR_FMTd__
1489 #define SCNi16 __INT16_FMTi__
1490 #define SCNi32 __INT32_FMTi__
1491 #define SCNi64 __INT64_FMTi__
1492 #define SCNi8 __INT8_FMTi__
1493 #define SCNiFAST16 __INT_FAST16_FMTi__
1494 #define SCNiFAST32 __INT_FAST32_FMTi__
1495 #define SCNiFAST64 __INT_FAST64_FMTi__
1496 #define SCNiFAST8 __INT_FAST8_FMTi__
1497 #define SCNiLEAST16 __INT_LEAST16_FMTi__
1498 #define SCNiLEAST32 __INT_LEAST32_FMTi__
1499 #define SCNiLEAST64 __INT_LEAST64_FMTi__
1500 #define SCNiLEAST8 __INT_LEAST8_FMTi__
1501 #define SCNiMAX __INTMAX_FMTi__
1502 #define SCNiPTR __INTPTR_FMTi__
1503 #define SCNo16 __UINT16_FMTo__
1504 #define SCNo32 __UINT32_FMTo__
1505 #define SCNo64 __UINT64_FMTo__
1506 #define SCNo8 __UINT8_FMTo__
1507 #define SCNoFAST16 __UINT_FAST16_FMTo__
1508 #define SCNoFAST32 __UINT_FAST32_FMTo__
1509 #define SCNoFAST64 __UINT_FAST64_FMTo__
1510 #define SCNoFAST8 __UINT_FAST8_FMTo__
1511 #define SCNoLEAST16 __UINT_LEAST16_FMTo__
1512 #define SCNoLEAST32 __UINT_LEAST32_FMTo__
1513 #define SCNoLEAST64 __UINT_LEAST64_FMTo__
1514 #define SCNoLEAST8 __UINT_LEAST8_FMTo__
1515 #define SCNoMAX __UINTMAX_FMTo__
1516 #define SCNoPTR __UINTPTR_FMTo__
1517 #define SCNu16 __UINT16_FMTu__
1518 #define SCNu32 __UINT32_FMTu__
1519 #define SCNu64 __UINT64_FMTu__
1520 #define SCNu8 __UINT8_FMTu__
1521 #define SCNuFAST16 __UINT_FAST16_FMTu__
1522 #define SCNuFAST32 __UINT_FAST32_FMTu__
1523 #define SCNuFAST64 __UINT_FAST64_FMTu__
1524 #define SCNuFAST8 __UINT_FAST8_FMTu__
1525 #define SCNuLEAST16 __UINT_LEAST16_FMTu__
1526 #define SCNuLEAST32 __UINT_LEAST32_FMTu__
1527 #define SCNuLEAST64 __UINT_LEAST64_FMTu__
1528 #define SCNuLEAST8 __UINT_LEAST8_FMTu__
1529 #define SCNuMAX __UINTMAX_FMTu__
1530 #define SCNuPTR __UINTPTR_FMTu__
1531 #define SCNx16 __UINT16_FMTx__
1532 #define SCNx32 __UINT32_FMTx__
1533 #define SCNx64 __UINT64_FMTx__
1534 #define SCNx8 __UINT8_FMTx__
1535 #define SCNxFAST16 __UINT_FAST16_FMTx__
1536 #define SCNxFAST32 __UINT_FAST32_FMTx__
1537 #define SCNxFAST64 __UINT_FAST64_FMTx__
1538 #define SCNxFAST8 __UINT_FAST8_FMTx__
1539 #define SCNxLEAST16 __UINT_LEAST16_FMTx__
1540 #define SCNxLEAST32 __UINT_LEAST32_FMTx__
1541 #define SCNxLEAST64 __UINT_LEAST64_FMTx__
1542 #define SCNxLEAST8 __UINT_LEAST8_FMTx__
1543 #define SCNxMAX __UINTMAX_FMTx__
1544 #define SCNxPTR __UINTPTR_FMTx__
1545 #define SE 240
1546 #define SEEK_CUR __WASI_WHENCE_CUR
1547 #define SEEK_END __WASI_WHENCE_END
1548 #define SEEK_SET __WASI_WHENCE_SET
1549 #define SEGSIZE 512
1550 #define SEM_FAILED ((sem_t *)0)
1551 #define SERVFAIL ns_r_servfail
1552 #define SHORTBITS (sizeof(short) * 8)
1553 #define SHRT_MAX 0x7fff
1554 #define SHRT_MIN (-1-0x7fff)
1555 #define SHUT_RD __WASI_SDFLAGS_RD
1556 #define SHUT_RDWR (SHUT_RD | SHUT_WR)
1557 #define SHUT_WR __WASI_SDFLAGS_WR
1558 #define SIG_ATOMIC_MAX INT32_MAX
1559 #define SIG_ATOMIC_MIN INT32_MIN
1560 #define SIZE_MAX UINT32_MAX
1561 #define SI_LOAD_SHIFT 16
1562 #define SLC_ABORT 7
1563 #define SLC_ACK 0x80
1564 #define SLC_AO 4
1565 #define SLC_AYT 5
1566 #define SLC_BRK 2
1567 #define SLC_CANTCHANGE 1
1568 #define SLC_DEFAULT 3
1569 #define SLC_EC 10
1570 #define SLC_EL 11
1571 #define SLC_EOF 8
1572 #define SLC_EOR 6
1573 #define SLC_EW 12
1574 #define SLC_FLAGS 1
1575 #define SLC_FLUSHIN 0x40
1576 #define SLC_FLUSHOUT 0x20
1577 #define SLC_FORW1 17
1578 #define SLC_FORW2 18
1579 #define SLC_FUNC 0
1580 #define SLC_IP 3
1581 #define SLC_LEVELBITS 0x03
1582 #define SLC_LNEXT 14
1583 #define SLC_NAME(x) slc_names[x]
1584 #define SLC_NAMELIST "0", "SYNCH", "BRK", "IP", "AO", "AYT", "EOR", "ABORT", "EOF", "SUSP", "EC", "EL", "EW", "RP", "LNEXT", "XON", "XOFF", "FORW1", "FORW2", 0,
1585 #define SLC_NAMES SLC_NAMELIST
1586 #define SLC_NAME_OK(x) ((unsigned int)(x) <= NSLC)
1587 #define SLC_NOSUPPORT 0
1588 #define SLC_RP 13
1589 #define SLC_SUSP 9
1590 #define SLC_SYNCH 1
1591 #define SLC_VALUE 2
1592 #define SLC_VARIABLE 2
1593 #define SLC_XOFF 16
1594 #define SLC_XON 15
1595 #define SNDPIPE 0x002
1596 #define SNDZERO 0x001
1597 #define SOCK_CLOEXEC (0x00002000)
1598 #define SOCK_DGRAM __WASI_FILETYPE_SOCKET_DGRAM
1599 #define SOCK_NONBLOCK (0x00004000)
1600 #define SOCK_STREAM __WASI_FILETYPE_SOCKET_STREAM
1601 #define SOL_SOCKET 0x7fffffff
1602 #define SOL_TCP 6
1603 #define SOL_UDP 17
1604 #define SO_TYPE 3
1605 #define SSIZE_MAX LONG_MAX
1606 #define STATUS ns_o_status
1607 #define STA_CLK 0x8000
1608 #define STA_CLOCKERR 0x1000
1609 #define STA_DEL 0x0020
1610 #define STA_FLL 0x0008
1611 #define STA_FREQHOLD 0x0080
1612 #define STA_INS 0x0010
1613 #define STA_MODE 0x4000
1614 #define STA_NANO 0x2000
1615 #define STA_PLL 0x0001
1616 #define STA_PPSERROR 0x0800
1617 #define STA_PPSFREQ 0x0002
1618 #define STA_PPSJITTER 0x0200
1619 #define STA_PPSSIGNAL 0x0100
1620 #define STA_PPSTIME 0x0004
1621 #define STA_PPSWANDER 0x0400
1622 #define STA_RONLY (STA_PPSSIGNAL | STA_PPSJITTER | STA_PPSWANDER | STA_PPSERROR | STA_CLOCKERR | STA_NANO | STA_MODE | STA_CLK)
1623 #define STA_UNSYNC 0x0040
1624 #define STDERR_FILENO 2
1625 #define STDIN_FILENO 0
1626 #define STDOUT_FILENO 1
1627 #define STRU_F 1
1628 #define STRU_P 3
1629 #define STRU_R 2
1630 #define SUN_LEN(s) (2+strlen((s)->sun_path))
1631 #define SUSP 237
1632 #define SYMLOOP_MAX 40
1633 #define SYMTYPE '2'
1634 #define SYNCH 242
1635 #define S_ADDT ns_s_ar
1636 #define S_BANDURG 0x0200
1637 #define S_ERROR 0x0010
1638 #define S_HANGUP 0x0020
1639 #define S_HIPRI 0x0002
1640 #define S_IEXEC S_IXUSR
1641 #define S_IFBLK (0x6000)
1642 #define S_IFCHR (0x2000)
1643 #define S_IFDIR (0x4000)
1644 #define S_IFIFO (0xc000)
1645 #define S_IFLNK (0xa000)
1646 #define S_IFMT (S_IFBLK | S_IFCHR | S_IFDIR | S_IFIFO | S_IFLNK | S_IFREG | S_IFSOCK)
1647 #define S_IFREG (0x8000)
1648 #define S_IFSOCK (0xc000)
1649 #define S_INPUT 0x0001
1650 #define S_IREAD S_IRUSR
1651 #define S_IRGRP (0x20)
1652 #define S_IROTH (0x4)
1653 #define S_IRUSR (0x100)
1654 #define S_IRWXG (S_IXGRP | S_IWGRP | S_IRGRP)
1655 #define S_IRWXO (S_IXOTH | S_IWOTH | S_IROTH)
1656 #define S_IRWXU (S_IXUSR | S_IWUSR | S_IRUSR)
1657 #define S_ISBLK(m) (((m)&S_IFMT) == S_IFBLK)
1658 #define S_ISCHR(m) (((m)&S_IFMT) == S_IFCHR)
1659 #define S_ISDIR(m) (((m)&S_IFMT) == S_IFDIR)
1660 #define S_ISFIFO(m) (((m)&S_IFMT) == S_IFIFO)
1661 #define S_ISGID (0x400)
1662 #define S_ISLNK(m) (((m)&S_IFMT) == S_IFLNK)
1663 #define S_ISREG(m) (((m)&S_IFMT) == S_IFREG)
1664 #define S_ISSOCK(m) (((m)&S_IFMT) == S_IFSOCK)
1665 #define S_ISUID (0x800)
1666 #define S_ISVTX (0x200)
1667 #define S_IWGRP (0x10)
1668 #define S_IWOTH (0x2)
1669 #define S_IWRITE S_IWUSR
1670 #define S_IWUSR (0x80)
1671 #define S_IXGRP (0x8)
1672 #define S_IXOTH (0x1)
1673 #define S_IXUSR (0x40)
1674 #define S_MSG 0x0008
1675 #define S_OUTPUT 0x0004
1676 #define S_PREREQ ns_s_pr
1677 #define S_RDBAND 0x0080
1678 #define S_RDNORM 0x0040
1679 #define S_UPDATE ns_s_ud
1680 #define S_WRBAND 0x0100
1681 #define S_WRNORM S_OUTPUT
1682 #define S_ZONE ns_s_zn
1683 #define TCPI_OPT_ECN 8
1684 #define TCPI_OPT_SACK 2
1685 #define TCPI_OPT_TIMESTAMPS 1
1686 #define TCPI_OPT_WSCALE 4
1687 #define TCPOLEN_MAXSEG 4
1688 #define TCPOLEN_SACK_PERMITTED 2
1689 #define TCPOLEN_TIMESTAMP 10
1690 #define TCPOLEN_WINDOW 3
1691 #define TCPOPT_EOL 0
1692 #define TCPOPT_MAXSEG 2
1693 #define TCPOPT_NOP 1
1694 #define TCPOPT_SACK 5
1695 #define TCPOPT_SACK_PERMITTED 4
1696 #define TCPOPT_TIMESTAMP 8
1697 #define TCPOPT_WINDOW 3
1698 #define TCP_CA_CWR 2
1699 #define TCP_CA_Disorder 1
1700 #define TCP_CA_Loss 4
1701 #define TCP_CA_Open 0
1702 #define TCP_CA_Recovery 3
1703 #define TCP_CC_INFO 26
1704 #define TCP_CLOSE 7
1705 #define TCP_CLOSE_WAIT 8
1706 #define TCP_CLOSING 11
1707 #define TCP_CM_INQ TCP_INQ
1708 #define TCP_CONGESTION 13
1709 #define TCP_CORK 3
1710 #define TCP_DEFER_ACCEPT 9
1711 #define TCP_ENCAP_ESPINTCP 7
1712 #define TCP_ESTABLISHED 1
1713 #define TCP_FASTOPEN 23
1714 #define TCP_FASTOPEN_CONNECT 30
1715 #define TCP_FASTOPEN_KEY 33
1716 #define TCP_FASTOPEN_NO_COOKIE 34
1717 #define TCP_FIN_WAIT1 4
1718 #define TCP_FIN_WAIT2 5
1719 #define TCP_INFO 11
1720 #define TCP_INQ 36
1721 #define TCP_KEEPCNT 6
1722 #define TCP_KEEPIDLE 4
1723 #define TCP_KEEPINTVL 5
1724 #define TCP_LAST_ACK 9
1725 #define TCP_LINGER2 8
1726 #define TCP_LISTEN 10
1727 #define TCP_MAXSEG 2
1728 #define TCP_MD5SIG 14
1729 #define TCP_MD5SIG_EXT 32
1730 #define TCP_MD5SIG_FLAG_IFINDEX 0x2
1731 #define TCP_MD5SIG_FLAG_PREFIX 0x1
1732 #define TCP_MD5SIG_MAXKEYLEN 80
1733 #define TCP_NODELAY 1
1734 #define TCP_NOTSENT_LOWAT 25
1735 #define TCP_QUEUE_SEQ 21
1736 #define TCP_QUICKACK 12
1737 #define TCP_RECEIVE_ZEROCOPY_FLAG_TLB_CLEAN_HINT 0x1
1738 #define TCP_REPAIR 19
1739 #define TCP_REPAIR_OFF 0
1740 #define TCP_REPAIR_OFF_NO_WP -1
1741 #define TCP_REPAIR_ON 1
1742 #define TCP_REPAIR_OPTIONS 22
1743 #define TCP_REPAIR_QUEUE 20
1744 #define TCP_REPAIR_WINDOW 29
1745 #define TCP_SAVED_SYN 28
1746 #define TCP_SAVE_SYN 27
1747 #define TCP_SYNCNT 7
1748 #define TCP_SYN_RECV 3
1749 #define TCP_SYN_SENT 2
1750 #define TCP_THIN_DUPACK 17
1751 #define TCP_THIN_LINEAR_TIMEOUTS 16
1752 #define TCP_TIMESTAMP 24
1753 #define TCP_TIME_WAIT 6
1754 #define TCP_TX_DELAY 37
1755 #define TCP_ULP 31
1756 #define TCP_USER_TIMEOUT 18
1757 #define TCP_WINDOW_CLAMP 10
1758 #define TCP_ZEROCOPY_RECEIVE 35
1759 #define TELCMD(x) telcmds[(x)-TELCMD_FIRST]
1760 #define TELCMD_FIRST xEOF
1761 #define TELCMD_LAST IAC
1762 #define TELCMD_OK(x) ((unsigned int)(x) <= TELCMD_LAST && (unsigned int)(x) >= TELCMD_FIRST)
1763 #define TELOPT_3270REGIME 29
1764 #define TELOPT_AUTHENTICATION 37
1765 #define TELOPT_BINARY 0
1766 #define TELOPT_BM 19
1767 #define TELOPT_DET 20
1768 #define TELOPT_ECHO 1
1769 #define TELOPT_ENCRYPT 38
1770 #define TELOPT_EOR 25
1771 #define TELOPT_EXOPL 255
1772 #define TELOPT_LFLOW 33
1773 #define TELOPT_LINEMODE 34
1774 #define TELOPT_LOGOUT 18
1775 #define TELOPT_NAMS 4
1776 #define TELOPT_NAOCRD 10
1777 #define TELOPT_NAOFFD 13
1778 #define TELOPT_NAOHTD 12
1779 #define TELOPT_NAOHTS 11
1780 #define TELOPT_NAOL 8
1781 #define TELOPT_NAOLFD 16
1782 #define TELOPT_NAOP 9
1783 #define TELOPT_NAOVTD 15
1784 #define TELOPT_NAOVTS 14
1785 #define TELOPT_NAWS 31
1786 #define TELOPT_NEW_ENVIRON 39
1787 #define TELOPT_OLD_ENVIRON 36
1788 #define TELOPT_OUTMRK 27
1789 #define TELOPT_RCP 2
1790 #define TELOPT_RCTE 7
1791 #define TELOPT_SGA 3
1792 #define TELOPT_SNDLOC 23
1793 #define TELOPT_STATUS 5
1794 #define TELOPT_SUPDUP 21
1795 #define TELOPT_SUPDUPOUTPUT 22
1796 #define TELOPT_TM 6
1797 #define TELOPT_TSPEED 32
1798 #define TELOPT_TTYLOC 28
1799 #define TELOPT_TTYPE 24
1800 #define TELOPT_TUID 26
1801 #define TELOPT_X3PAD 30
1802 #define TELOPT_XASCII 17
1803 #define TELOPT_XDISPLOC 35
1804 #define TELQUAL_INFO 2
1805 #define TELQUAL_IS 0
1806 #define TELQUAL_NAME 3
1807 #define TELQUAL_REPLY 2
1808 #define TELQUAL_SEND 1
1809 #define TGEXEC 00010
1810 #define TGREAD 00040
1811 #define TGWRITE 00020
1812 #define THOUSEP 0x10001
1813 #define TH_ACK 0x10
1814 #define TH_FIN 0x01
1815 #define TH_PUSH 0x08
1816 #define TH_RST 0x04
1817 #define TH_SYN 0x02
1818 #define TH_URG 0x20
1819 #define TIMER_ABSTIME __WASI_SUBCLOCKFLAGS_SUBSCRIPTION_CLOCK_ABSTIME
1820 #define TIMESPEC_TO_TIMEVAL(tv,ts) ( (tv)->tv_sec = (ts)->tv_sec, (tv)->tv_usec = (ts)->tv_nsec / 1000, (void)0 )
1821 #define TIMEVAL_TO_TIMESPEC(tv,ts) ( (ts)->tv_sec = (tv)->tv_sec, (ts)->tv_nsec = (tv)->tv_usec * 1000, (void)0 )
1822 #define TIME_BAD TIME_ERROR
1823 #define TIME_DEL 2
1824 #define TIME_ERROR 5
1825 #define TIME_INS 1
1826 #define TIME_OK 0
1827 #define TIME_OOP 3
1828 #define TIME_UTC 1
1829 #define TIME_WAIT 4
1830 #define TMAGIC "ustar"
1831 #define TMAGLEN 6
1832 #define TOEXEC 00001
1833 #define TOREAD 00004
1834 #define TOWRITE 00002
1835 #define TRANSIENT 4
1836 #define TSGID 02000
1837 #define TSS_DTOR_ITERATIONS 4
1838 #define TSUID 04000
1839 #define TSVTX 01000
1840 #define TTYDEF_CFLAG (CREAD | CS7 | PARENB | HUPCL)
1841 #define TTYDEF_IFLAG (BRKINT | ISTRIP | ICRNL | IMAXBEL | IXON | IXANY)
1842 #define TTYDEF_LFLAG (ECHO | ICANON | ISIG | IEXTEN | ECHOE|ECHOKE|ECHOCTL)
1843 #define TTYDEF_OFLAG (OPOST | ONLCR | XTABS)
1844 #define TTYDEF_SPEED (B9600)
1845 #define TTY_NAME_MAX 32
1846 #define TUEXEC 00100
1847 #define TUREAD 00400
1848 #define TUWRITE 00200
1849 #define TVERSION "00"
1850 #define TVERSLEN 2
1851 #define TYPE_A 1
1852 #define TYPE_E 2
1853 #define TYPE_I 3
1854 #define TYPE_L 4
1855 #define TZNAME_MAX 6
1856 #define T_A ns_t_a
1857 #define T_A6 ns_t_a6
1858 #define T_AAAA ns_t_aaaa
1859 #define T_AFSDB ns_t_afsdb
1860 #define T_ANY ns_t_any
1861 #define T_ATMA ns_t_atma
1862 #define T_AXFR ns_t_axfr
1863 #define T_CNAME ns_t_cname
1864 #define T_DNAME ns_t_dname
1865 #define T_EID ns_t_eid
1866 #define T_FMT 0x2002A
1867 #define T_FMT_AMPM 0x2002B
1868 #define T_GPOS ns_t_gpos
1869 #define T_HINFO ns_t_hinfo
1870 #define T_ISDN ns_t_isdn
1871 #define T_IXFR ns_t_ixfr
1872 #define T_KEY ns_t_key
1873 #define T_LOC ns_t_loc
1874 #define T_MAILA ns_t_maila
1875 #define T_MAILB ns_t_mailb
1876 #define T_MB ns_t_mb
1877 #define T_MD ns_t_md
1878 #define T_MF ns_t_mf
1879 #define T_MG ns_t_mg
1880 #define T_MINFO ns_t_minfo
1881 #define T_MR ns_t_mr
1882 #define T_MX ns_t_mx
1883 #define T_NAPTR ns_t_naptr
1884 #define T_NIMLOC ns_t_nimloc
1885 #define T_NS ns_t_ns
1886 #define T_NSAP ns_t_nsap
1887 #define T_NSAP_PTR ns_t_nsap_ptr
1888 #define T_NULL ns_t_null
1889 #define T_NXT ns_t_nxt
1890 #define T_PTR ns_t_ptr
1891 #define T_PX ns_t_px
1892 #define T_RP ns_t_rp
1893 #define T_RT ns_t_rt
1894 #define T_SIG ns_t_sig
1895 #define T_SOA ns_t_soa
1896 #define T_SRV ns_t_srv
1897 #define T_TSIG ns_t_tsig
1898 #define T_TXT ns_t_txt
1899 #define T_WKS ns_t_wks
1900 #define T_X25 ns_t_x25
1901 #define UCHAR_MAX 255
1902 #define UDP_CORK 1
1903 #define UDP_ENCAP 100
1904 #define UDP_ENCAP_ESPINUDP 2
1905 #define UDP_ENCAP_ESPINUDP_NON_IKE 1
1906 #define UDP_ENCAP_GTP0 4
1907 #define UDP_ENCAP_GTP1U 5
1908 #define UDP_ENCAP_L2TPINUDP 3
1909 #define UDP_ENCAP_RXRPC 6
1910 #define UDP_GRO 104
1911 #define UDP_NO_CHECK6_RX 102
1912 #define UDP_NO_CHECK6_TX 101
1913 #define UDP_SEGMENT 103
1914 #define UINT16_C(c) c
1915 #define UINT16_MAX (0xffff)
1916 #define UINT32_C(c) c ## U
1917 #define UINT32_MAX (0xffffffffu)
1918 #define UINT64_C(c) c ## ULL
1919 #define UINT64_MAX (0xffffffffffffffffu)
1920 #define UINT8_C(c) c
1921 #define UINT8_MAX (0xff)
1922 #define UINTMAX_C(c) c ## ULL
1923 #define UINTMAX_MAX UINT64_MAX
1924 #define UINTPTR_MAX UINT32_MAX
1925 #define UINT_FAST16_MAX UINT16_MAX
1926 #define UINT_FAST32_MAX UINT32_MAX
1927 #define UINT_FAST64_MAX UINT64_MAX
1928 #define UINT_FAST8_MAX UINT8_MAX
1929 #define UINT_LEAST16_MAX UINT16_MAX
1930 #define UINT_LEAST32_MAX UINT32_MAX
1931 #define UINT_LEAST64_MAX UINT64_MAX
1932 #define UINT_LEAST8_MAX UINT8_MAX
1933 #define UINT_MAX 0xffffffffU
1934 #define UIO_MAXIOV 1024
1935 #define ULLONG_MAX (2ULL*LLONG_MAX+1)
1936 #define ULONG_MAX (2UL*LONG_MAX+1)
1937 #define USHRT_MAX 0xffff
1938 #define UTIME_NOW (-1)
1939 #define UTIME_OMIT (-2)
1940 #define WCHAR_MAX (0x7fffffff+L'\0')
1941 #define WCHAR_MIN (-1-0x7fffffff+L'\0')
1942 #define WEOF 0xffffffffU
1943 #define WILL 251
1944 #define WINT_MAX UINT32_MAX
1945 #define WINT_MIN 0U
1946 #define WONT 252
1947 #define WORD_BIT 32
1948 #define WRQ 02
1949 #define W_OK (2)
1950 #define X_OK (1)
1951 #define YESEXPR 0x50000
1952 #define YESSTR 0x50002
1953 #define YXDOMAIN ns_r_yxdomain
1954 #define YXRRSET ns_r_yxrrset
1955 #define _ALLOCA_H
1956 #define _ALL_SOURCE 1
1957 #define _ARPA_FTP_H
1958 #define _ARPA_INET_H
1959 #define _ARPA_NAMESER_H
1960 #define _ARPA_TELNET_H
1961 #define _ARPA_TFTP_H
1962 #define _AR_H
1963 #define _BYTESWAP_H
1964 #define _COMPLEX_H
1965 #define _CPIO_H
1966 #define _CRYPT_H
1967 #define _CS_GNU_LIBC_VERSION 2
1968 #define _CS_GNU_LIBPTHREAD_VERSION 3
1969 #define _CS_PATH 0
1970 #define _CS_POSIX_V5_WIDTH_RESTRICTED_ENVS 4
1971 #define _CS_POSIX_V6_ILP32_OFF32_CFLAGS 1116
1972 #define _CS_POSIX_V6_ILP32_OFF32_LDFLAGS 1117
1973 #define _CS_POSIX_V6_ILP32_OFF32_LIBS 1118
1974 #define _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS 1119
1975 #define _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS 1120
1976 #define _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS 1121
1977 #define _CS_POSIX_V6_ILP32_OFFBIG_LIBS 1122
1978 #define _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS 1123
1979 #define _CS_POSIX_V6_LP64_OFF64_CFLAGS 1124
1980 #define _CS_POSIX_V6_LP64_OFF64_LDFLAGS 1125
1981 #define _CS_POSIX_V6_LP64_OFF64_LIBS 1126
1982 #define _CS_POSIX_V6_LP64_OFF64_LINTFLAGS 1127
1983 #define _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS 1128
1984 #define _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS 1129
1985 #define _CS_POSIX_V6_LPBIG_OFFBIG_LIBS 1130
1986 #define _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS 1131
1987 #define _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS 1
1988 #define _CS_POSIX_V7_ILP32_OFF32_CFLAGS 1132
1989 #define _CS_POSIX_V7_ILP32_OFF32_LDFLAGS 1133
1990 #define _CS_POSIX_V7_ILP32_OFF32_LIBS 1134
1991 #define _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS 1135
1992 #define _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS 1136
1993 #define _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS 1137
1994 #define _CS_POSIX_V7_ILP32_OFFBIG_LIBS 1138
1995 #define _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS 1139
1996 #define _CS_POSIX_V7_LP64_OFF64_CFLAGS 1140
1997 #define _CS_POSIX_V7_LP64_OFF64_LDFLAGS 1141
1998 #define _CS_POSIX_V7_LP64_OFF64_LIBS 1142
1999 #define _CS_POSIX_V7_LP64_OFF64_LINTFLAGS 1143
2000 #define _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS 1144
2001 #define _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS 1145
2002 #define _CS_POSIX_V7_LPBIG_OFFBIG_LIBS 1146
2003 #define _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS 1147
2004 #define _CS_POSIX_V7_WIDTH_RESTRICTED_ENVS 5
2005 #define _CS_V6_ENV 1148
2006 #define _CS_V7_ENV 1149
2007 #define _CTYPE_H
2008 #define _Complex_I (0.0f+1.0fi)
2009 #define _DIRENT_H
2010 #define _DIRENT_HAVE_D_TYPE
2011 #define _ENDIAN_H
2012 #define _ERRNO_H
2013 #define _ERR_H
2014 #define _FCNTL_H
2015 #define _FEATURES_H
2016 #define _FENV_H
2017 #define _FLOAT_H
2018 #define _FMTMSG_H
2019 #define _FNMATCH_H
2020 #define _FTW_H
2021 #define _GETOPT_H
2022 #define _GLOB_H
2023 #define _GNU_SOURCE 1
2024 #define _ICONV_H
2025 #define _IFADDRS_H
2026 #define _ILP32 1
2027 #define _INTTYPES_H
2028 #define _IOFBF 0
2029 #define _IOLBF 1
2030 #define _IONBF 2
2031 #define _ISO646_H
2032 #define _LANGINFO_H
2033 #define _LIBGEN_H
2034 #define _LIMITS_H
2035 #define _LOCALE_H
2036 #define _MALLOC_H
2037 #define _MATH_H
2038 #define _MONETARY_H
2039 #define _MQUEUE_H
2040 #define _NETINET_ICMP6_H
2041 #define _NETINET_IGMP_H
2042 #define _NETINET_IN_H
2043 #define _NETINET_IN_SYSTM_H
2044 #define _NETINET_IP6_H
2045 #define _NETINET_IP_H
2046 #define _NETINET_IP_ICMP_H
2047 #define _NETINET_TCP_H
2048 #define _NETINET_UDP_H
2049 #define _NETPACKET_PACKET_H
2050 #define _NL_LOCALE_NAME(cat) (((cat)<<16) | 0xffff)
2051 #define _NL_TYPES_H
2052 #define _PC_2_SYMLINKS 20
2053 #define _PC_ALLOC_SIZE_MIN 18
2054 #define _PC_ASYNC_IO 10
2055 #define _PC_CHOWN_RESTRICTED 6
2056 #define _PC_FILESIZEBITS 13
2057 #define _PC_LINK_MAX 0
2058 #define _PC_MAX_CANON 1
2059 #define _PC_MAX_INPUT 2
2060 #define _PC_NAME_MAX 3
2061 #define _PC_NO_TRUNC 7
2062 #define _PC_PATH_MAX 4
2063 #define _PC_PIPE_BUF 5
2064 #define _PC_PRIO_IO 11
2065 #define _PC_REC_INCR_XFER_SIZE 14
2066 #define _PC_REC_MAX_XFER_SIZE 15
2067 #define _PC_REC_MIN_XFER_SIZE 16
2068 #define _PC_REC_XFER_ALIGN 17
2069 #define _PC_SOCK_MAXBUF 12
2070 #define _PC_SYMLINK_MAX 19
2071 #define _PC_SYNC_IO 9
2072 #define _PC_VDISABLE 8
2073 #define _POLL_H
2074 #define _POSIX2_BC_BASE_MAX 99
2075 #define _POSIX2_BC_DIM_MAX 2048
2076 #define _POSIX2_BC_SCALE_MAX 99
2077 #define _POSIX2_BC_STRING_MAX 1000
2078 #define _POSIX2_CHARCLASS_NAME_MAX 14
2079 #define _POSIX2_COLL_WEIGHTS_MAX 2
2080 #define _POSIX2_C_BIND _POSIX_VERSION
2081 #define _POSIX2_EXPR_NEST_MAX 32
2082 #define _POSIX2_LINE_MAX 2048
2083 #define _POSIX2_RE_DUP_MAX 255
2084 #define _POSIX2_VERSION _POSIX_VERSION
2085 #define _POSIX_ADVISORY_INFO _POSIX_VERSION
2086 #define _POSIX_AIO_LISTIO_MAX 2
2087 #define _POSIX_AIO_MAX 1
2088 #define _POSIX_ARG_MAX 4096
2089 #define _POSIX_BARRIERS _POSIX_VERSION
2090 #define _POSIX_CHILD_MAX 25
2091 #define _POSIX_CHOWN_RESTRICTED 1
2092 #define _POSIX_CLOCKRES_MIN 20000000
2093 #define _POSIX_CLOCK_SELECTION _POSIX_VERSION
2094 #define _POSIX_CPUTIME _POSIX_VERSION
2095 #define _POSIX_DELAYTIMER_MAX 32
2096 #define _POSIX_FSYNC _POSIX_VERSION
2097 #define _POSIX_HOST_NAME_MAX 255
2098 #define _POSIX_IPV6 _POSIX_VERSION
2099 #define _POSIX_LINK_MAX 8
2100 #define _POSIX_LOGIN_NAME_MAX 9
2101 #define _POSIX_MAX_CANON 255
2102 #define _POSIX_MAX_INPUT 255
2103 #define _POSIX_MONOTONIC_CLOCK _POSIX_VERSION
2104 #define _POSIX_MQ_OPEN_MAX 8
2105 #define _POSIX_MQ_PRIO_MAX 32
2106 #define _POSIX_NAME_MAX 14
2107 #define _POSIX_NGROUPS_MAX 8
2108 #define _POSIX_NO_TRUNC 1
2109 #define _POSIX_OPEN_MAX 20
2110 #define _POSIX_PATH_MAX 256
2111 #define _POSIX_PIPE_BUF 512
2112 #define _POSIX_READER_WRITER_LOCKS _POSIX_VERSION
2113 #define _POSIX_REALTIME_SIGNALS _POSIX_VERSION
2114 #define _POSIX_REGEXP 1
2115 #define _POSIX_RE_DUP_MAX 255
2116 #define _POSIX_RTSIG_MAX 8
2117 #define _POSIX_SEM_NSEMS_MAX 256
2118 #define _POSIX_SEM_VALUE_MAX 32767
2119 #define _POSIX_SIGQUEUE_MAX 32
2120 #define _POSIX_SPIN_LOCKS _POSIX_VERSION
2121 #define _POSIX_SSIZE_MAX 32767
2122 #define _POSIX_SS_REPL_MAX 4
2123 #define _POSIX_STREAM_MAX 8
2124 #define _POSIX_SYMLINK_MAX 255
2125 #define _POSIX_SYMLOOP_MAX 8
2126 #define _POSIX_THREADS _POSIX_VERSION
2127 #define _POSIX_THREAD_ATTR_STACKADDR _POSIX_VERSION
2128 #define _POSIX_THREAD_ATTR_STACKSIZE _POSIX_VERSION
2129 #define _POSIX_THREAD_CPUTIME _POSIX_VERSION
2130 #define _POSIX_THREAD_DESTRUCTOR_ITERATIONS 4
2131 #define _POSIX_THREAD_KEYS_MAX 128
2132 #define _POSIX_THREAD_PRIORITY_SCHEDULING _POSIX_VERSION
2133 #define _POSIX_THREAD_PROCESS_SHARED _POSIX_VERSION
2134 #define _POSIX_THREAD_SAFE_FUNCTIONS _POSIX_VERSION
2135 #define _POSIX_THREAD_THREADS_MAX 64
2136 #define _POSIX_TIMEOUTS _POSIX_VERSION
2137 #define _POSIX_TIMERS _POSIX_VERSION
2138 #define _POSIX_TIMER_MAX 32
2139 #define _POSIX_TRACE_EVENT_NAME_MAX 30
2140 #define _POSIX_TRACE_NAME_MAX 8
2141 #define _POSIX_TRACE_SYS_MAX 8
2142 #define _POSIX_TRACE_USER_EVENT_MAX 32
2143 #define _POSIX_TTY_NAME_MAX 9
2144 #define _POSIX_TZNAME_MAX 6
2145 #define _POSIX_V6_ILP32_OFFBIG (1)
2146 #define _POSIX_V7_ILP32_OFFBIG (1)
2147 #define _POSIX_VDISABLE 0
2148 #define _POSIX_VERSION 200809L
2149 #define _PTRDIFF_T
2150 #define _REGEX_H
2151 #define _SCHED_H
2152 #define _SC_2_CHAR_TERM 95
2153 #define _SC_2_C_BIND 47
2154 #define _SC_2_C_DEV 48
2155 #define _SC_2_FORT_DEV 49
2156 #define _SC_2_FORT_RUN 50
2157 #define _SC_2_LOCALEDEF 52
2158 #define _SC_2_PBS 168
2159 #define _SC_2_PBS_ACCOUNTING 169
2160 #define _SC_2_PBS_CHECKPOINT 175
2161 #define _SC_2_PBS_LOCATE 170
2162 #define _SC_2_PBS_MESSAGE 171
2163 #define _SC_2_PBS_TRACK 172
2164 #define _SC_2_SW_DEV 51
2165 #define _SC_2_UPE 97
2166 #define _SC_2_VERSION 46
2167 #define _SC_ADVISORY_INFO 132
2168 #define _SC_AIO_LISTIO_MAX 23
2169 #define _SC_AIO_MAX 24
2170 #define _SC_AIO_PRIO_DELTA_MAX 25
2171 #define _SC_ARG_MAX 0
2172 #define _SC_ASYNCHRONOUS_IO 12
2173 #define _SC_ATEXIT_MAX 87
2174 #define _SC_AVPHYS_PAGES 86
2175 #define _SC_BARRIERS 133
2176 #define _SC_BC_BASE_MAX 36
2177 #define _SC_BC_DIM_MAX 37
2178 #define _SC_BC_SCALE_MAX 38
2179 #define _SC_BC_STRING_MAX 39
2180 #define _SC_CHILD_MAX 1
2181 #define _SC_CLK_TCK 2
2182 #define _SC_CLOCK_SELECTION 137
2183 #define _SC_COLL_WEIGHTS_MAX 40
2184 #define _SC_CPUTIME 138
2185 #define _SC_DELAYTIMER_MAX 26
2186 #define _SC_EXPR_NEST_MAX 42
2187 #define _SC_FSYNC 15
2188 #define _SC_GETGR_R_SIZE_MAX 69
2189 #define _SC_GETPW_R_SIZE_MAX 70
2190 #define _SC_HOST_NAME_MAX 180
2191 #define _SC_IOV_MAX 60
2192 #define _SC_IPV6 235
2193 #define _SC_JOB_CONTROL 7
2194 #define _SC_LINE_MAX 43
2195 #define _SC_LOGIN_NAME_MAX 71
2196 #define _SC_MAPPED_FILES 16
2197 #define _SC_MEMLOCK 17
2198 #define _SC_MEMLOCK_RANGE 18
2199 #define _SC_MEMORY_PROTECTION 19
2200 #define _SC_MESSAGE_PASSING 20
2201 #define _SC_MONOTONIC_CLOCK 149
2202 #define _SC_MQ_OPEN_MAX 27
2203 #define _SC_MQ_PRIO_MAX 28
2204 #define _SC_NGROUPS_MAX 3
2205 #define _SC_NPROCESSORS_CONF 83
2206 #define _SC_NPROCESSORS_ONLN 84
2207 #define _SC_NZERO 109
2208 #define _SC_OPEN_MAX 4
2209 #define _SC_PAGESIZE 30
2210 #define _SC_PAGE_SIZE 30
2211 #define _SC_PASS_MAX 88
2212 #define _SC_PHYS_PAGES 85
2213 #define _SC_PRIORITIZED_IO 13
2214 #define _SC_PRIORITY_SCHEDULING 10
2215 #define _SC_RAW_SOCKETS 236
2216 #define _SC_READER_WRITER_LOCKS 153
2217 #define _SC_REALTIME_SIGNALS 9
2218 #define _SC_REGEXP 155
2219 #define _SC_RE_DUP_MAX 44
2220 #define _SC_RTSIG_MAX 31
2221 #define _SC_SAVED_IDS 8
2222 #define _SC_SEMAPHORES 21
2223 #define _SC_SEM_NSEMS_MAX 32
2224 #define _SC_SEM_VALUE_MAX 33
2225 #define _SC_SHARED_MEMORY_OBJECTS 22
2226 #define _SC_SHELL 157
2227 #define _SC_SIGQUEUE_MAX 34
2228 #define _SC_SPAWN 159
2229 #define _SC_SPIN_LOCKS 154
2230 #define _SC_SPORADIC_SERVER 160
2231 #define _SC_SS_REPL_MAX 241
2232 #define _SC_STREAMS 174
2233 #define _SC_STREAM_MAX 5
2234 #define _SC_SYMLOOP_MAX 173
2235 #define _SC_SYNCHRONIZED_IO 14
2236 #define _SC_THREADS 67
2237 #define _SC_THREAD_ATTR_STACKADDR 77
2238 #define _SC_THREAD_ATTR_STACKSIZE 78
2239 #define _SC_THREAD_CPUTIME 139
2240 #define _SC_THREAD_DESTRUCTOR_ITERATIONS 73
2241 #define _SC_THREAD_KEYS_MAX 74
2242 #define _SC_THREAD_PRIORITY_SCHEDULING 79
2243 #define _SC_THREAD_PRIO_INHERIT 80
2244 #define _SC_THREAD_PRIO_PROTECT 81
2245 #define _SC_THREAD_PROCESS_SHARED 82
2246 #define _SC_THREAD_ROBUST_PRIO_INHERIT 247
2247 #define _SC_THREAD_ROBUST_PRIO_PROTECT 248
2248 #define _SC_THREAD_SAFE_FUNCTIONS 68
2249 #define _SC_THREAD_SPORADIC_SERVER 161
2250 #define _SC_THREAD_STACK_MIN 75
2251 #define _SC_THREAD_THREADS_MAX 76
2252 #define _SC_TIMEOUTS 164
2253 #define _SC_TIMERS 11
2254 #define _SC_TIMER_MAX 35
2255 #define _SC_TRACE 181
2256 #define _SC_TRACE_EVENT_FILTER 182
2257 #define _SC_TRACE_EVENT_NAME_MAX 242
2258 #define _SC_TRACE_INHERIT 183
2259 #define _SC_TRACE_LOG 184
2260 #define _SC_TRACE_NAME_MAX 243
2261 #define _SC_TRACE_SYS_MAX 244
2262 #define _SC_TRACE_USER_EVENT_MAX 245
2263 #define _SC_TTY_NAME_MAX 72
2264 #define _SC_TYPED_MEMORY_OBJECTS 165
2265 #define _SC_TZNAME_MAX 6
2266 #define _SC_UIO_MAXIOV 60
2267 #define _SC_V6_ILP32_OFF32 176
2268 #define _SC_V6_ILP32_OFFBIG 177
2269 #define _SC_V6_LP64_OFF64 178
2270 #define _SC_V6_LPBIG_OFFBIG 179
2271 #define _SC_V7_ILP32_OFF32 237
2272 #define _SC_V7_ILP32_OFFBIG 238
2273 #define _SC_V7_LP64_OFF64 239
2274 #define _SC_V7_LPBIG_OFFBIG 240
2275 #define _SC_VERSION 29
2276 #define _SC_XBS5_ILP32_OFF32 125
2277 #define _SC_XBS5_ILP32_OFFBIG 126
2278 #define _SC_XBS5_LP64_OFF64 127
2279 #define _SC_XBS5_LPBIG_OFFBIG 128
2280 #define _SC_XOPEN_CRYPT 92
2281 #define _SC_XOPEN_ENH_I18N 93
2282 #define _SC_XOPEN_LEGACY 129
2283 #define _SC_XOPEN_REALTIME 130
2284 #define _SC_XOPEN_REALTIME_THREADS 131
2285 #define _SC_XOPEN_SHM 94
2286 #define _SC_XOPEN_STREAMS 246
2287 #define _SC_XOPEN_UNIX 91
2288 #define _SC_XOPEN_VERSION 89
2289 #define _SC_XOPEN_XCU_VERSION 90
2290 #define _SC_XOPEN_XPG2 98
2291 #define _SC_XOPEN_XPG3 99
2292 #define _SC_XOPEN_XPG4 100
2293 #define _SEARCH_H
2294 #define _SEMAPHORE_H
2295 #define _SIZE_T
2296 #define _STDALIGN_H
2297 #define _STDBOOL_H
2298 #define _STDC_PREDEF_H
2299 #define _STDINT_H
2300 #define _STDIO_EXT_H
2301 #define _STDIO_H
2302 #define _STDLIB_H
2303 #define _STDNORETURN_H
2304 #define _STRINGS_H
2305 #define _STRING_H
2306 #define _STROPTS_H
2307 #define _SYSEXITS_H
2308 #define _SYS_EVENTFD_H
2309 #define _SYS_FILE_H
2310 #define _SYS_IOCTL_H
2311 #define _SYS_PARAM_H
2312 #define _SYS_RANDOM_H
2313 #define _SYS_REG_H
2314 #define _SYS_SELECT_H
2315 #define _SYS_SOCKET_H
2316 #define _SYS_STAT_H
2317 #define _SYS_SYSCALL_H
2318 #define _SYS_SYSINFO_H
2319 #define _SYS_TIMEB_H
2320 #define _SYS_TIMEX_H
2321 #define _SYS_TIME_H
2322 #define _SYS_TTYDEFAULTS_H
2323 #define _SYS_TYPES_H
2324 #define _SYS_UIO_H
2325 #define _SYS_UN_H
2326 #define _SYS_UTSNAME_H
2327 #define _TAR_H
2328 #define _TGMATH_H
2329 #define _THREADS_H
2330 #define _TIME_H
2331 #define _UCHAR_H
2332 #define _UNISTD_H
2333 #define _UTIME_H
2334 #define _VALUES_H
2335 #define _VA_LIST
2336 #define _WCHAR_H
2337 #define _WCHAR_T
2338 #define _WCTYPE_H
2339 #define _WINT_T
2340 #define _XOPEN_ENH_I18N 1
2341 #define _XOPEN_IOV_MAX 16
2342 #define _XOPEN_NAME_MAX 255
2343 #define _XOPEN_PATH_MAX 1024
2344 #define _XOPEN_UNIX 1
2345 #define _XOPEN_VERSION 700
2346 #define __ARE_4_EQUAL(a,b) (!( (0[a]-0[b]) | (1[a]-1[b]) | (2[a]-2[b]) | (3[a]-3[b]) ))
2347 #define __ATOMIC_ACQUIRE 2
2348 #define __ATOMIC_ACQ_REL 4
2349 #define __ATOMIC_CONSUME 1
2350 #define __ATOMIC_RELAXED 0
2351 #define __ATOMIC_RELEASE 3
2352 #define __ATOMIC_SEQ_CST 5
2353 #define __BIGGEST_ALIGNMENT__ 16
2354 #define __BIG_ENDIAN 4321
2355 #define __BIND 19950621
2356 #define __BYTE_ORDER __BYTE_ORDER__
2357 #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
2358 #define __CHAR16_TYPE__ unsigned short
2359 #define __CHAR32_TYPE__ unsigned int
2360 #define __CHAR_BIT__ 8
2361 #define __compiler_ATOMIC_BOOL_LOCK_FREE 2
2362 #define __compiler_ATOMIC_CHAR16_T_LOCK_FREE 2
2363 #define __compiler_ATOMIC_CHAR32_T_LOCK_FREE 2
2364 #define __compiler_ATOMIC_CHAR_LOCK_FREE 2
2365 #define __compiler_ATOMIC_INT_LOCK_FREE 2
2366 #define __compiler_ATOMIC_LLONG_LOCK_FREE 2
2367 #define __compiler_ATOMIC_LONG_LOCK_FREE 2
2368 #define __compiler_ATOMIC_POINTER_LOCK_FREE 2
2369 #define __compiler_ATOMIC_SHORT_LOCK_FREE 2
2370 #define __compiler_ATOMIC_WCHAR_T_LOCK_FREE 2
2371 #define __CLANG_MAX_ALIGN_T_DEFINED
2372 #define __CMPLX(x,y,t) (__builtin_complex((t)(x), (t)(y)))
2373 #define __CONSTANT_CFSTRINGS__ 1
2374 #define __DBLCX(x) (__IS_CX(x) && sizeof(x) == sizeof(double complex))
2375 #define __DBL_DECIMAL_DIG__ 17
2376 #define __DBL_DENORM_MIN__ 4.9406564584124654e-324
2377 #define __DBL_DIG__ 15
2378 #define __DBL_EPSILON__ 2.2204460492503131e-16
2379 #define __DBL_HAS_DENORM__ 1
2380 #define __DBL_HAS_INFINITY__ 1
2381 #define __DBL_HAS_QUIET_NAN__ 1
2382 #define __DBL_MANT_DIG__ 53
2383 #define __DBL_MAX_10_EXP__ 308
2384 #define __DBL_MAX_EXP__ 1024
2385 #define __DBL_MAX__ 1.7976931348623157e+308
2386 #define __DBL_MIN_10_EXP__ (-307)
2387 #define __DBL_MIN_EXP__ (-1021)
2388 #define __DBL_MIN__ 2.2250738585072014e-308
2389 #define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
2390 #define __DEFINED_FILE
2391 #define __DEFINED___isoc_va_list
2392 #define __DEFINED_blkcnt_t
2393 #define __DEFINED_blksize_t
2394 #define __DEFINED_clock_t
2395 #define __DEFINED_clockid_t
2396 #define __DEFINED_cnd_t
2397 #define __DEFINED_dev_t
2398 #define __DEFINED_double_t
2399 #define __DEFINED_float_t
2400 #define __DEFINED_fsblkcnt_t
2401 #define __DEFINED_fsfilcnt_t
2402 #define __DEFINED_gid_t
2403 #define __DEFINED_id_t
2404 #define __DEFINED_ino_t
2405 #define __DEFINED_int16_t
2406 #define __DEFINED_int32_t
2407 #define __DEFINED_int64_t
2408 #define __DEFINED_int8_t
2409 #define __DEFINED_intmax_t
2410 #define __DEFINED_intptr_t
2411 #define __DEFINED_key_t
2412 #define __DEFINED_locale_t
2413 #define __DEFINED_mbstate_t
2414 #define __DEFINED_mode_t
2415 #define __DEFINED_mtx_t
2416 #define __DEFINED_nlink_t
2417 #define __DEFINED_off_t
2418 #define __DEFINED_pid_t
2419 #define __DEFINED_pthread_attr_t
2420 #define __DEFINED_pthread_barrier_t
2421 #define __DEFINED_pthread_barrierattr_t
2422 #define __DEFINED_pthread_cond_t
2423 #define __DEFINED_pthread_condattr_t
2424 #define __DEFINED_pthread_key_t
2425 #define __DEFINED_pthread_mutex_t
2426 #define __DEFINED_pthread_mutexattr_t
2427 #define __DEFINED_pthread_once_t
2428 #define __DEFINED_pthread_rwlock_t
2429 #define __DEFINED_pthread_rwlockattr_t
2430 #define __DEFINED_pthread_spinlock_t
2431 #define __DEFINED_pthread_t
2432 #define __DEFINED_register_t
2433 #define __DEFINED_regoff_t
2434 #define __DEFINED_sa_family_t
2435 #define __DEFINED_sigset_t
2436 #define __DEFINED_size_t
2437 #define __DEFINED_socklen_t
2438 #define __DEFINED_ssize_t
2439 #define __DEFINED_suseconds_t
2440 #define __DEFINED_time_t
2441 #define __DEFINED_timer_t
2442 #define __DEFINED_u_int64_t
2443 #define __DEFINED_uid_t
2444 #define __DEFINED_uint16_t
2445 #define __DEFINED_uint32_t
2446 #define __DEFINED_uint64_t
2447 #define __DEFINED_uint8_t
2448 #define __DEFINED_uintmax_t
2449 #define __DEFINED_uintptr_t
2450 #define __DEFINED_useconds_t
2451 #define __DEFINED_va_list
2452 #define __DEFINED_wchar_t
2453 #define __DEFINED_wctype_t
2454 #define __DEFINED_wint_t
2455 #define __FINITE_MATH_ONLY__ 0
2456 #define __FLT(x) (__IS_REAL(x) && sizeof(x) == sizeof(float))
2457 #define __FLTCX(x) (__IS_CX(x) && sizeof(x) == sizeof(float complex))
2458 #define __FLT_DECIMAL_DIG__ 9
2459 #define __FLT_DENORM_MIN__ 1.40129846e-45F
2460 #define __FLT_DIG__ 6
2461 #define __FLT_EPSILON__ 1.19209290e-7F
2462 #define __FLT_HAS_DENORM__ 1
2463 #define __FLT_HAS_INFINITY__ 1
2464 #define __FLT_HAS_QUIET_NAN__ 1
2465 #define __FLT_MANT_DIG__ 24
2466 #define __FLT_MAX_10_EXP__ 38
2467 #define __FLT_MAX_EXP__ 128
2468 #define __FLT_MAX__ 3.40282347e+38F
2469 #define __FLT_MIN_10_EXP__ (-37)
2470 #define __FLT_MIN_EXP__ (-125)
2471 #define __FLT_MIN__ 1.17549435e-38F
2472 #define __FLT_RADIX__ 2
2473 #define __compiler_ATOMIC_BOOL_LOCK_FREE 2
2474 #define __compiler_ATOMIC_CHAR16_T_LOCK_FREE 2
2475 #define __compiler_ATOMIC_CHAR32_T_LOCK_FREE 2
2476 #define __compiler_ATOMIC_CHAR_LOCK_FREE 2
2477 #define __compiler_ATOMIC_INT_LOCK_FREE 2
2478 #define __compiler_ATOMIC_LLONG_LOCK_FREE 2
2479 #define __compiler_ATOMIC_LONG_LOCK_FREE 2
2480 #define __compiler_ATOMIC_POINTER_LOCK_FREE 2
2481 #define __compiler_ATOMIC_SHORT_LOCK_FREE 2
2482 #define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1
2483 #define __compiler_ATOMIC_WCHAR_T_LOCK_FREE 2
2484 #define __GNUC_STDC_INLINE__ 1
2485 #define __GNUC_VA_LIST 1
2486 #define __GXX_ABI_VERSION 1002
2487 #define __ILP32__ 1
2488 #define __INT16_C_SUFFIX__
2489 #define __INT16_FMTd__ "hd"
2490 #define __INT16_FMTi__ "hi"
2491 #define __INT16_MAX__ 32767
2492 #define __INT16_TYPE__ short
2493 #define __INT32_C_SUFFIX__
2494 #define __INT32_FMTd__ "d"
2495 #define __INT32_FMTi__ "i"
2496 #define __INT32_MAX__ 2147483647
2497 #define __INT32_TYPE__ int
2498 #define __INT64_C_SUFFIX__ LL
2499 #define __INT64_FMTd__ "lld"
2500 #define __INT64_FMTi__ "lli"
2501 #define __INT64_MAX__ 9223372036854775807LL
2502 #define __INT64_TYPE__ long long int
2503 #define __INT8_C_SUFFIX__
2504 #define __INT8_FMTd__ "hhd"
2505 #define __INT8_FMTi__ "hhi"
2506 #define __INT8_MAX__ 127
2507 #define __INT8_TYPE__ signed char
2508 #define __INTMAX_C_SUFFIX__ LL
2509 #define __INTMAX_FMTd__ "lld"
2510 #define __INTMAX_FMTi__ "lli"
2511 #define __INTMAX_MAX__ 9223372036854775807LL
2512 #define __INTMAX_TYPE__ long long int
2513 #define __INTMAX_WIDTH__ 64
2514 #define __INTPTR_FMTd__ "ld"
2515 #define __INTPTR_FMTi__ "li"
2516 #define __INTPTR_MAX__ 2147483647L
2517 #define __INTPTR_TYPE__ long int
2518 #define __INTPTR_WIDTH__ 32
2519 #define __INT_FAST16_FMTd__ "hd"
2520 #define __INT_FAST16_FMTi__ "hi"
2521 #define __INT_FAST16_MAX__ 32767
2522 #define __INT_FAST16_TYPE__ short
2523 #define __INT_FAST32_FMTd__ "d"
2524 #define __INT_FAST32_FMTi__ "i"
2525 #define __INT_FAST32_MAX__ 2147483647
2526 #define __INT_FAST32_TYPE__ int
2527 #define __INT_FAST64_FMTd__ "lld"
2528 #define __INT_FAST64_FMTi__ "lli"
2529 #define __INT_FAST64_MAX__ 9223372036854775807LL
2530 #define __INT_FAST64_TYPE__ long long int
2531 #define __INT_FAST8_FMTd__ "hhd"
2532 #define __INT_FAST8_FMTi__ "hhi"
2533 #define __INT_FAST8_MAX__ 127
2534 #define __INT_FAST8_TYPE__ signed char
2535 #define __INT_LEAST16_FMTd__ "hd"
2536 #define __INT_LEAST16_FMTi__ "hi"
2537 #define __INT_LEAST16_MAX__ 32767
2538 #define __INT_LEAST16_TYPE__ short
2539 #define __INT_LEAST32_FMTd__ "d"
2540 #define __INT_LEAST32_FMTi__ "i"
2541 #define __INT_LEAST32_MAX__ 2147483647
2542 #define __INT_LEAST32_TYPE__ int
2543 #define __INT_LEAST64_FMTd__ "lld"
2544 #define __INT_LEAST64_FMTi__ "lli"
2545 #define __INT_LEAST64_MAX__ 9223372036854775807LL
2546 #define __INT_LEAST64_TYPE__ long long int
2547 #define __INT_LEAST8_FMTd__ "hhd"
2548 #define __INT_LEAST8_FMTi__ "hhi"
2549 #define __INT_LEAST8_MAX__ 127
2550 #define __INT_LEAST8_TYPE__ signed char
2551 #define __INT_MAX__ 2147483647
2552 #define __IS_CX(x) (__IS_FP(x) && sizeof(x) == sizeof((x)+I))
2553 #define __IS_FP(x) (sizeof((x)+1ULL) == sizeof((x)+1.0f))
2554 #define __IS_REAL(x) (__IS_FP(x) && 2*sizeof(x) == sizeof((x)+I))
2555 #define __LDBL(x) (__IS_REAL(x) && sizeof(x) == sizeof(long double) && sizeof(long double) != sizeof(double))
2556 #define __LDBLCX(x) (__IS_CX(x) && sizeof(x) == sizeof(long double complex) && sizeof(long double) != sizeof(double))
2557 #define __LDBL_DECIMAL_DIG__ 36
2558 #define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L
2559 #define __LDBL_DIG__ 33
2560 #define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L
2561 #define __LDBL_HAS_DENORM__ 1
2562 #define __LDBL_HAS_INFINITY__ 1
2563 #define __LDBL_HAS_QUIET_NAN__ 1
2564 #define __LDBL_MANT_DIG__ 113
2565 #define __LDBL_MAX_10_EXP__ 4932
2566 #define __LDBL_MAX_EXP__ 16384
2567 #define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L
2568 #define __LDBL_MIN_10_EXP__ (-4931)
2569 #define __LDBL_MIN_EXP__ (-16381)
2570 #define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L
2571 #define __LITTLE_ENDIAN 1234
2572 #define __LITTLE_ENDIAN__ 1
2573 #define __LONG_LONG_MAX__ 9223372036854775807LL
2574 #define __LONG_MAX __LONG_MAX__
2575 #define __LONG_MAX__ 2147483647L
2576 #define __NAMESER 19991006
2577 #define __NEED_FILE
2578 #define __NEED___isoc_va_list
2579 #define __NEED_blkcnt_t
2580 #define __NEED_blksize_t
2581 #define __NEED_clock_t
2582 #define __NEED_clockid_t
2583 #define __NEED_cnd_t
2584 #define __NEED_dev_t
2585 #define __NEED_double_t
2586 #define __NEED_float_t
2587 #define __NEED_fsblkcnt_t
2588 #define __NEED_fsfilcnt_t
2589 #define __NEED_gid_t
2590 #define __NEED_id_t
2591 #define __NEED_ino_t
2592 #define __NEED_int16_t
2593 #define __NEED_int32_t
2594 #define __NEED_int64_t
2595 #define __NEED_int8_t
2596 #define __NEED_intmax_t
2597 #define __NEED_intptr_t
2598 #define __NEED_key_t
2599 #define __NEED_locale_t
2600 #define __NEED_mbstate_t
2601 #define __NEED_mode_t
2602 #define __NEED_mtx_t
2603 #define __NEED_nlink_t
2604 #define __NEED_off_t
2605 #define __NEED_pid_t
2606 #define __NEED_pthread_attr_t
2607 #define __NEED_pthread_barrier_t
2608 #define __NEED_pthread_barrierattr_t
2609 #define __NEED_pthread_cond_t
2610 #define __NEED_pthread_condattr_t
2611 #define __NEED_pthread_key_t
2612 #define __NEED_pthread_mutex_t
2613 #define __NEED_pthread_mutexattr_t
2614 #define __NEED_pthread_once_t
2615 #define __NEED_pthread_rwlock_t
2616 #define __NEED_pthread_rwlockattr_t
2617 #define __NEED_pthread_spinlock_t
2618 #define __NEED_pthread_t
2619 #define __NEED_register_t
2620 #define __NEED_regoff_t
2621 #define __NEED_sa_family_t
2622 #define __NEED_sigset_t
2623 #define __NEED_size_t
2624 #define __NEED_socklen_t
2625 #define __NEED_ssize_t
2626 #define __NEED_struct_iovec
2627 #define __NEED_struct_timespec
2628 #define __NEED_struct_timeval
2629 #define __NEED_suseconds_t
2630 #define __NEED_time_t
2631 #define __NEED_timer_t
2632 #define __NEED_u_int64_t
2633 #define __NEED_uid_t
2634 #define __NEED_uint16_t
2635 #define __NEED_uint32_t
2636 #define __NEED_uint64_t
2637 #define __NEED_uint8_t
2638 #define __NEED_uintmax_t
2639 #define __NEED_uintptr_t
2640 #define __NEED_useconds_t
2641 #define __NEED_va_list
2642 #define __NEED_wchar_t
2643 #define __NEED_wctype_t
2644 #define __NEED_wint_t
2645 #define __OBJC_BOOL_IS_BOOL 0
2646 #define __OPENCL_MEMORY_SCOPE_ALL_SVM_DEVICES 3
2647 #define __OPENCL_MEMORY_SCOPE_DEVICE 2
2648 #define __OPENCL_MEMORY_SCOPE_SUB_GROUP 4
2649 #define __OPENCL_MEMORY_SCOPE_WORK_GROUP 1
2650 #define __OPENCL_MEMORY_SCOPE_WORK_ITEM 0
2651 #define __OPTIMIZE__ 1
2652 #define __ORDER_BIG_ENDIAN__ 4321
2653 #define __ORDER_LITTLE_ENDIAN__ 1234
2654 #define __ORDER_PDP_ENDIAN__ 3412
2655 #define __PDP_ENDIAN 3412
2656 #define __POINTER_WIDTH__ 32
2657 #define __PRAGMA_REDEFINE_EXTNAME 1
2658 #define __PTRDIFF_FMTd__ "ld"
2659 #define __PTRDIFF_FMTi__ "li"
2660 #define __PTRDIFF_MAX__ 2147483647L
2661 #define __PTRDIFF_TYPE__ long int
2662 #define __PTRDIFF_WIDTH__ 32
2663 #define __REDIR(x,y) __typeof__(x) x __asm__(#y)
2664 #define __RETCAST(x)
2665 #define __RETCAST_2(x,y)
2666 #define __RETCAST_3(x,y,z)
2667 #define __RETCAST_CX(x)
2668 #define __RETCAST_REAL(x)
2669 #define __SCHAR_MAX__ 127
2670 #define __SHRT_MAX__ 32767
2671 #define __SID ('S' << 8)
2672 #define __SIG_ATOMIC_MAX__ 2147483647L
2673 #define __SIG_ATOMIC_WIDTH__ 32
2674 #define __SIZEOF_DOUBLE__ 8
2675 #define __SIZEOF_FLOAT__ 4
2676 #define __SIZEOF_INT128__ 16
2677 #define __SIZEOF_INT__ 4
2678 #define __SIZEOF_LONG_DOUBLE__ 16
2679 #define __SIZEOF_LONG_LONG__ 8
2680 #define __SIZEOF_LONG__ 4
2681 #define __SIZEOF_POINTER__ 4
2682 #define __SIZEOF_PTRDIFF_T__ 4
2683 #define __SIZEOF_SHORT__ 2
2684 #define __SIZEOF_SIZE_T__ 4
2685 #define __SIZEOF_WCHAR_T__ 4
2686 #define __SIZEOF_WINT_T__ 4
2687 #define __SIZE_FMTX__ "lX"
2688 #define __SIZE_FMTo__ "lo"
2689 #define __SIZE_FMTu__ "lu"
2690 #define __SIZE_FMTx__ "lx"
2691 #define __SIZE_MAX__ 4294967295UL
2692 #define __SIZE_TYPE__ long unsigned int
2693 #define __SIZE_WIDTH__ 32
2694 #define __STDARG_H
2695 #define __STDC_HOSTED__ 1
2696 #define __STDC_IEC_559__ 1
2697 #define __STDC_ISO_10646__ 201206L
2698 #define __STDC_UTF_16__ 1
2699 #define __STDC_UTF_32__ 1
2700 #define __STDC_VERSION__ 201710L
2701 #define __STDC__ 1
2702 #define __STDDEF_H
2703 #define __UAPI_DEF_IN6_ADDR 0
2704 #define __UAPI_DEF_IN6_ADDR_ALT 0
2705 #define __UAPI_DEF_IN6_PKTINFO 0
2706 #define __UAPI_DEF_IN_ADDR 0
2707 #define __UAPI_DEF_IN_CLASS 0
2708 #define __UAPI_DEF_IN_IPPROTO 0
2709 #define __UAPI_DEF_IN_PKTINFO 0
2710 #define __UAPI_DEF_IP6_MTUINFO 0
2711 #define __UAPI_DEF_IPHDR 0
2712 #define __UAPI_DEF_IPPROTO_V6 0
2713 #define __UAPI_DEF_IPV6_MREQ 0
2714 #define __UAPI_DEF_IPV6_OPTIONS 0
2715 #define __UAPI_DEF_IP_MREQ 0
2716 #define __UAPI_DEF_SOCKADDR_IN 0
2717 #define __UAPI_DEF_SOCKADDR_IN6 0
2718 #define __UINT16_C_SUFFIX__
2719 #define __UINT16_FMTX__ "hX"
2720 #define __UINT16_FMTo__ "ho"
2721 #define __UINT16_FMTu__ "hu"
2722 #define __UINT16_FMTx__ "hx"
2723 #define __UINT16_MAX__ 65535
2724 #define __UINT16_TYPE__ unsigned short
2725 #define __UINT32_C_SUFFIX__ U
2726 #define __UINT32_FMTX__ "X"
2727 #define __UINT32_FMTo__ "o"
2728 #define __UINT32_FMTu__ "u"
2729 #define __UINT32_FMTx__ "x"
2730 #define __UINT32_MAX__ 4294967295U
2731 #define __UINT32_TYPE__ unsigned int
2732 #define __UINT64_C_SUFFIX__ ULL
2733 #define __UINT64_FMTX__ "llX"
2734 #define __UINT64_FMTo__ "llo"
2735 #define __UINT64_FMTu__ "llu"
2736 #define __UINT64_FMTx__ "llx"
2737 #define __UINT64_MAX__ 18446744073709551615ULL
2738 #define __UINT64_TYPE__ long long unsigned int
2739 #define __UINT8_C_SUFFIX__
2740 #define __UINT8_FMTX__ "hhX"
2741 #define __UINT8_FMTo__ "hho"
2742 #define __UINT8_FMTu__ "hhu"
2743 #define __UINT8_FMTx__ "hhx"
2744 #define __UINT8_MAX__ 255
2745 #define __UINT8_TYPE__ unsigned char
2746 #define __UINTMAX_C_SUFFIX__ ULL
2747 #define __UINTMAX_FMTX__ "llX"
2748 #define __UINTMAX_FMTo__ "llo"
2749 #define __UINTMAX_FMTu__ "llu"
2750 #define __UINTMAX_FMTx__ "llx"
2751 #define __UINTMAX_MAX__ 18446744073709551615ULL
2752 #define __UINTMAX_TYPE__ long long unsigned int
2753 #define __UINTMAX_WIDTH__ 64
2754 #define __UINTPTR_FMTX__ "lX"
2755 #define __UINTPTR_FMTo__ "lo"
2756 #define __UINTPTR_FMTu__ "lu"
2757 #define __UINTPTR_FMTx__ "lx"
2758 #define __UINTPTR_MAX__ 4294967295UL
2759 #define __UINTPTR_TYPE__ long unsigned int
2760 #define __UINTPTR_WIDTH__ 32
2761 #define __UINT_FAST16_FMTX__ "hX"
2762 #define __UINT_FAST16_FMTo__ "ho"
2763 #define __UINT_FAST16_FMTu__ "hu"
2764 #define __UINT_FAST16_FMTx__ "hx"
2765 #define __UINT_FAST16_MAX__ 65535
2766 #define __UINT_FAST16_TYPE__ unsigned short
2767 #define __UINT_FAST32_FMTX__ "X"
2768 #define __UINT_FAST32_FMTo__ "o"
2769 #define __UINT_FAST32_FMTu__ "u"
2770 #define __UINT_FAST32_FMTx__ "x"
2771 #define __UINT_FAST32_MAX__ 4294967295U
2772 #define __UINT_FAST32_TYPE__ unsigned int
2773 #define __UINT_FAST64_FMTX__ "llX"
2774 #define __UINT_FAST64_FMTo__ "llo"
2775 #define __UINT_FAST64_FMTu__ "llu"
2776 #define __UINT_FAST64_FMTx__ "llx"
2777 #define __UINT_FAST64_MAX__ 18446744073709551615ULL
2778 #define __UINT_FAST64_TYPE__ long long unsigned int
2779 #define __UINT_FAST8_FMTX__ "hhX"
2780 #define __UINT_FAST8_FMTo__ "hho"
2781 #define __UINT_FAST8_FMTu__ "hhu"
2782 #define __UINT_FAST8_FMTx__ "hhx"
2783 #define __UINT_FAST8_MAX__ 255
2784 #define __UINT_FAST8_TYPE__ unsigned char
2785 #define __UINT_LEAST16_FMTX__ "hX"
2786 #define __UINT_LEAST16_FMTo__ "ho"
2787 #define __UINT_LEAST16_FMTu__ "hu"
2788 #define __UINT_LEAST16_FMTx__ "hx"
2789 #define __UINT_LEAST16_MAX__ 65535
2790 #define __UINT_LEAST16_TYPE__ unsigned short
2791 #define __UINT_LEAST32_FMTX__ "X"
2792 #define __UINT_LEAST32_FMTo__ "o"
2793 #define __UINT_LEAST32_FMTu__ "u"
2794 #define __UINT_LEAST32_FMTx__ "x"
2795 #define __UINT_LEAST32_MAX__ 4294967295U
2796 #define __UINT_LEAST32_TYPE__ unsigned int
2797 #define __UINT_LEAST64_FMTX__ "llX"
2798 #define __UINT_LEAST64_FMTo__ "llo"
2799 #define __UINT_LEAST64_FMTu__ "llu"
2800 #define __UINT_LEAST64_FMTx__ "llx"
2801 #define __UINT_LEAST64_MAX__ 18446744073709551615ULL
2802 #define __UINT_LEAST64_TYPE__ long long unsigned int
2803 #define __UINT_LEAST8_FMTX__ "hhX"
2804 #define __UINT_LEAST8_FMTo__ "hho"
2805 #define __UINT_LEAST8_FMTu__ "hhu"
2806 #define __UINT_LEAST8_FMTx__ "hhx"
2807 #define __UINT_LEAST8_MAX__ 255
2808 #define __UINT_LEAST8_TYPE__ unsigned char
2809 #define __USER_LABEL_PREFIX__
2810 #define __USE_TIME_BITS64 1
2811 #define __WASI_ADVICE_DONTNEED (UINT8_C(4))
2812 #define __WASI_ADVICE_NOREUSE (UINT8_C(5))
2813 #define __WASI_ADVICE_NORMAL (UINT8_C(0))
2814 #define __WASI_ADVICE_RANDOM (UINT8_C(2))
2815 #define __WASI_ADVICE_SEQUENTIAL (UINT8_C(1))
2816 #define __WASI_ADVICE_WILLNEED (UINT8_C(3))
2817 #define __WASI_CLOCKID_MONOTONIC (UINT32_C(1))
2818 #define __WASI_CLOCKID_PROCESS_CPUTIME_ID (UINT32_C(2))
2819 #define __WASI_CLOCKID_REALTIME (UINT32_C(0))
2820 #define __WASI_CLOCKID_THREAD_CPUTIME_ID (UINT32_C(3))
2821 #define __WASI_DIRCOOKIE_START (UINT64_C(0))
2822 #define __WASI_ERRNO_2BIG (UINT16_C(1))
2823 #define __WASI_ERRNO_ACCES (UINT16_C(2))
2824 #define __WASI_ERRNO_ADDRINUSE (UINT16_C(3))
2825 #define __WASI_ERRNO_ADDRNOTAVAIL (UINT16_C(4))
2826 #define __WASI_ERRNO_AFNOSUPPORT (UINT16_C(5))
2827 #define __WASI_ERRNO_AGAIN (UINT16_C(6))
2828 #define __WASI_ERRNO_ALREADY (UINT16_C(7))
2829 #define __WASI_ERRNO_BADF (UINT16_C(8))
2830 #define __WASI_ERRNO_BADMSG (UINT16_C(9))
2831 #define __WASI_ERRNO_BUSY (UINT16_C(10))
2832 #define __WASI_ERRNO_CANCELED (UINT16_C(11))
2833 #define __WASI_ERRNO_CHILD (UINT16_C(12))
2834 #define __WASI_ERRNO_CONNABORTED (UINT16_C(13))
2835 #define __WASI_ERRNO_CONNREFUSED (UINT16_C(14))
2836 #define __WASI_ERRNO_CONNRESET (UINT16_C(15))
2837 #define __WASI_ERRNO_DEADLK (UINT16_C(16))
2838 #define __WASI_ERRNO_DESTADDRREQ (UINT16_C(17))
2839 #define __WASI_ERRNO_DOM (UINT16_C(18))
2840 #define __WASI_ERRNO_DQUOT (UINT16_C(19))
2841 #define __WASI_ERRNO_EXIST (UINT16_C(20))
2842 #define __WASI_ERRNO_FAULT (UINT16_C(21))
2843 #define __WASI_ERRNO_FBIG (UINT16_C(22))
2844 #define __WASI_ERRNO_HOSTUNREACH (UINT16_C(23))
2845 #define __WASI_ERRNO_IDRM (UINT16_C(24))
2846 #define __WASI_ERRNO_ILSEQ (UINT16_C(25))
2847 #define __WASI_ERRNO_INPROGRESS (UINT16_C(26))
2848 #define __WASI_ERRNO_INTR (UINT16_C(27))
2849 #define __WASI_ERRNO_INVAL (UINT16_C(28))
2850 #define __WASI_ERRNO_IO (UINT16_C(29))
2851 #define __WASI_ERRNO_ISCONN (UINT16_C(30))
2852 #define __WASI_ERRNO_ISDIR (UINT16_C(31))
2853 #define __WASI_ERRNO_LOOP (UINT16_C(32))
2854 #define __WASI_ERRNO_MFILE (UINT16_C(33))
2855 #define __WASI_ERRNO_MLINK (UINT16_C(34))
2856 #define __WASI_ERRNO_MSGSIZE (UINT16_C(35))
2857 #define __WASI_ERRNO_MULTIHOP (UINT16_C(36))
2858 #define __WASI_ERRNO_NAMETOOLONG (UINT16_C(37))
2859 #define __WASI_ERRNO_NETDOWN (UINT16_C(38))
2860 #define __WASI_ERRNO_NETRESET (UINT16_C(39))
2861 #define __WASI_ERRNO_NETUNREACH (UINT16_C(40))
2862 #define __WASI_ERRNO_NFILE (UINT16_C(41))
2863 #define __WASI_ERRNO_NOBUFS (UINT16_C(42))
2864 #define __WASI_ERRNO_NODEV (UINT16_C(43))
2865 #define __WASI_ERRNO_NOENT (UINT16_C(44))
2866 #define __WASI_ERRNO_NOEXEC (UINT16_C(45))
2867 #define __WASI_ERRNO_NOLCK (UINT16_C(46))
2868 #define __WASI_ERRNO_NOLINK (UINT16_C(47))
2869 #define __WASI_ERRNO_NOMEM (UINT16_C(48))
2870 #define __WASI_ERRNO_NOMSG (UINT16_C(49))
2871 #define __WASI_ERRNO_NOPROTOOPT (UINT16_C(50))
2872 #define __WASI_ERRNO_NOSPC (UINT16_C(51))
2873 #define __WASI_ERRNO_NOSYS (UINT16_C(52))
2874 #define __WASI_ERRNO_NOTCAPABLE (UINT16_C(76))
2875 #define __WASI_ERRNO_NOTCONN (UINT16_C(53))
2876 #define __WASI_ERRNO_NOTDIR (UINT16_C(54))
2877 #define __WASI_ERRNO_NOTEMPTY (UINT16_C(55))
2878 #define __WASI_ERRNO_NOTRECOVERABLE (UINT16_C(56))
2879 #define __WASI_ERRNO_NOTSOCK (UINT16_C(57))
2880 #define __WASI_ERRNO_NOTSUP (UINT16_C(58))
2881 #define __WASI_ERRNO_NOTTY (UINT16_C(59))
2882 #define __WASI_ERRNO_NXIO (UINT16_C(60))
2883 #define __WASI_ERRNO_OVERFLOW (UINT16_C(61))
2884 #define __WASI_ERRNO_OWNERDEAD (UINT16_C(62))
2885 #define __WASI_ERRNO_PERM (UINT16_C(63))
2886 #define __WASI_ERRNO_PIPE (UINT16_C(64))
2887 #define __WASI_ERRNO_PROTO (UINT16_C(65))
2888 #define __WASI_ERRNO_PROTONOSUPPORT (UINT16_C(66))
2889 #define __WASI_ERRNO_PROTOTYPE (UINT16_C(67))
2890 #define __WASI_ERRNO_RANGE (UINT16_C(68))
2891 #define __WASI_ERRNO_ROFS (UINT16_C(69))
2892 #define __WASI_ERRNO_SPIPE (UINT16_C(70))
2893 #define __WASI_ERRNO_SRCH (UINT16_C(71))
2894 #define __WASI_ERRNO_STALE (UINT16_C(72))
2895 #define __WASI_ERRNO_SUCCESS (UINT16_C(0))
2896 #define __WASI_ERRNO_TIMEDOUT (UINT16_C(73))
2897 #define __WASI_ERRNO_TXTBSY (UINT16_C(74))
2898 #define __WASI_ERRNO_XDEV (UINT16_C(75))
2899 #define __WASI_EVENTRWFLAGS_FD_READWRITE_HANGUP ((__wasi_eventrwflags_t)(1 << 0))
2900 #define __WASI_EVENTTYPE_CLOCK (UINT8_C(0))
2901 #define __WASI_EVENTTYPE_FD_READ (UINT8_C(1))
2902 #define __WASI_EVENTTYPE_FD_WRITE (UINT8_C(2))
2903 #define __WASI_FDFLAGS_APPEND ((__wasi_fdflags_t)(1 << 0))
2904 #define __WASI_FDFLAGS_DSYNC ((__wasi_fdflags_t)(1 << 1))
2905 #define __WASI_FDFLAGS_NONBLOCK ((__wasi_fdflags_t)(1 << 2))
2906 #define __WASI_FDFLAGS_RSYNC ((__wasi_fdflags_t)(1 << 3))
2907 #define __WASI_FDFLAGS_SYNC ((__wasi_fdflags_t)(1 << 4))
2908 #define __WASI_FILETYPE_BLOCK_DEVICE (UINT8_C(1))
2909 #define __WASI_FILETYPE_CHARACTER_DEVICE (UINT8_C(2))
2910 #define __WASI_FILETYPE_DIRECTORY (UINT8_C(3))
2911 #define __WASI_FILETYPE_REGULAR_FILE (UINT8_C(4))
2912 #define __WASI_FILETYPE_SOCKET_DGRAM (UINT8_C(5))
2913 #define __WASI_FILETYPE_SOCKET_STREAM (UINT8_C(6))
2914 #define __WASI_FILETYPE_SYMBOLIC_LINK (UINT8_C(7))
2915 #define __WASI_FILETYPE_UNKNOWN (UINT8_C(0))
2916 #define __WASI_FSTFLAGS_ATIM ((__wasi_fstflags_t)(1 << 0))
2917 #define __WASI_FSTFLAGS_ATIM_NOW ((__wasi_fstflags_t)(1 << 1))
2918 #define __WASI_FSTFLAGS_MTIM ((__wasi_fstflags_t)(1 << 2))
2919 #define __WASI_FSTFLAGS_MTIM_NOW ((__wasi_fstflags_t)(1 << 3))
2920 #define __WASI_LOOKUPFLAGS_SYMLINK_FOLLOW ((__wasi_lookupflags_t)(1 << 0))
2921 #define __WASI_OFLAGS_CREAT ((__wasi_oflags_t)(1 << 0))
2922 #define __WASI_OFLAGS_DIRECTORY ((__wasi_oflags_t)(1 << 1))
2923 #define __WASI_OFLAGS_EXCL ((__wasi_oflags_t)(1 << 2))
2924 #define __WASI_OFLAGS_TRUNC ((__wasi_oflags_t)(1 << 3))
2925 #define __WASI_PREOPENTYPE_DIR (UINT8_C(0))
2926 #define __WASI_RIFLAGS_RECV_PEEK ((__wasi_riflags_t)(1 << 0))
2927 #define __WASI_RIFLAGS_RECV_WAITALL ((__wasi_riflags_t)(1 << 1))
2928 #define __WASI_RIGHTS_FD_ADVISE ((__wasi_rights_t)(1 << 7))
2929 #define __WASI_RIGHTS_FD_ALLOCATE ((__wasi_rights_t)(1 << 8))
2930 #define __WASI_RIGHTS_FD_DATASYNC ((__wasi_rights_t)(1 << 0))
2931 #define __WASI_RIGHTS_FD_FDSTAT_SET_FLAGS ((__wasi_rights_t)(1 << 3))
2932 #define __WASI_RIGHTS_FD_FILESTAT_GET ((__wasi_rights_t)(1 << 21))
2933 #define __WASI_RIGHTS_FD_FILESTAT_SET_SIZE ((__wasi_rights_t)(1 << 22))
2934 #define __WASI_RIGHTS_FD_FILESTAT_SET_TIMES ((__wasi_rights_t)(1 << 23))
2935 #define __WASI_RIGHTS_FD_READ ((__wasi_rights_t)(1 << 1))
2936 #define __WASI_RIGHTS_FD_READDIR ((__wasi_rights_t)(1 << 14))
2937 #define __WASI_RIGHTS_FD_SEEK ((__wasi_rights_t)(1 << 2))
2938 #define __WASI_RIGHTS_FD_SYNC ((__wasi_rights_t)(1 << 4))
2939 #define __WASI_RIGHTS_FD_TELL ((__wasi_rights_t)(1 << 5))
2940 #define __WASI_RIGHTS_FD_WRITE ((__wasi_rights_t)(1 << 6))
2941 #define __WASI_RIGHTS_PATH_CREATE_DIRECTORY ((__wasi_rights_t)(1 << 9))
2942 #define __WASI_RIGHTS_PATH_CREATE_FILE ((__wasi_rights_t)(1 << 10))
2943 #define __WASI_RIGHTS_PATH_FILESTAT_GET ((__wasi_rights_t)(1 << 18))
2944 #define __WASI_RIGHTS_PATH_FILESTAT_SET_SIZE ((__wasi_rights_t)(1 << 19))
2945 #define __WASI_RIGHTS_PATH_FILESTAT_SET_TIMES ((__wasi_rights_t)(1 << 20))
2946 #define __WASI_RIGHTS_PATH_LINK_SOURCE ((__wasi_rights_t)(1 << 11))
2947 #define __WASI_RIGHTS_PATH_LINK_TARGET ((__wasi_rights_t)(1 << 12))
2948 #define __WASI_RIGHTS_PATH_OPEN ((__wasi_rights_t)(1 << 13))
2949 #define __WASI_RIGHTS_PATH_READLINK ((__wasi_rights_t)(1 << 15))
2950 #define __WASI_RIGHTS_PATH_REMOVE_DIRECTORY ((__wasi_rights_t)(1 << 25))
2951 #define __WASI_RIGHTS_PATH_RENAME_SOURCE ((__wasi_rights_t)(1 << 16))
2952 #define __WASI_RIGHTS_PATH_RENAME_TARGET ((__wasi_rights_t)(1 << 17))
2953 #define __WASI_RIGHTS_PATH_SYMLINK ((__wasi_rights_t)(1 << 24))
2954 #define __WASI_RIGHTS_PATH_UNLINK_FILE ((__wasi_rights_t)(1 << 26))
2955 #define __WASI_RIGHTS_POLL_FD_READWRITE ((__wasi_rights_t)(1 << 27))
2956 #define __WASI_RIGHTS_SOCK_ACCEPT ((__wasi_rights_t)(1 << 29))
2957 #define __WASI_RIGHTS_SOCK_SHUTDOWN ((__wasi_rights_t)(1 << 28))
2958 #define __WASI_ROFLAGS_RECV_DATA_TRUNCATED ((__wasi_roflags_t)(1 << 0))
2959 #define __WASI_SDFLAGS_RD ((__wasi_sdflags_t)(1 << 0))
2960 #define __WASI_SDFLAGS_WR ((__wasi_sdflags_t)(1 << 1))
2961 #define __WASI_SUBCLOCKFLAGS_SUBSCRIPTION_CLOCK_ABSTIME ((__wasi_subclockflags_t)(1 << 0))
2962 #define __WASI_WHENCE_CUR (UINT8_C(1))
2963 #define __WASI_WHENCE_END (UINT8_C(2))
2964 #define __WASI_WHENCE_SET (UINT8_C(0))
2965 #define __WCHAR_MAX__ 2147483647
2966 #define __WCHAR_TYPE__ int
2967 #define __WCHAR_WIDTH__ 32
2968 #define __WINT_MAX__ 2147483647
2969 #define __WINT_TYPE__ int
2970 #define __WINT_WIDTH__ 32
2971 #define __WORDSIZE 64
2972 #define __alignas_is_defined 1
2973 #define __alignof_is_defined 1
2974 #define __bitop(x,i,o) ((x)[(i)/8] o (1<<(i)%8))
2975 #define __bool_true_false_are_defined 1
2976 #define __inline inline
2977 #define __restrict restrict
2978 #define __tg_complex(fun,x) (__RETCAST_CX(x)( __FLTCX((x)+I) && __IS_FP(x) ? fun ## f (x) : __LDBLCX((x)+I) ? fun ## l (x) : fun(x) ))
2979 #define __tg_complex_retreal(fun,x) (__RETCAST_REAL(x)( __FLTCX((x)+I) && __IS_FP(x) ? fun ## f (x) : __LDBLCX((x)+I) ? fun ## l (x) : fun(x) ))
2980 #define __tg_real(fun,x) (__RETCAST(x)__tg_real_nocast(fun, x))
2981 #define __tg_real_2(fun,x,y) (__RETCAST_2(x, y)( __FLT(x) && __FLT(y) ? fun ## f (x, y) : __LDBL((x)+(y)) ? fun ## l (x, y) : fun(x, y) ))
2982 #define __tg_real_2_1(fun,x,y) (__RETCAST(x)( __FLT(x) ? fun ## f (x, y) : __LDBL(x) ? fun ## l (x, y) : fun(x, y) ))
2983 #define __tg_real_complex(fun,x) (__RETCAST(x)( __FLTCX(x) ? c ## fun ## f (x) : __DBLCX(x) ? c ## fun (x) : __LDBLCX(x) ? c ## fun ## l (x) : __FLT(x) ? fun ## f (x) : __LDBL(x) ? fun ## l (x) : fun(x) ))
2984 #define __tg_real_complex_fabs(x) (__RETCAST_REAL(x)( __FLTCX(x) ? cabsf(x) : __DBLCX(x) ? cabs(x) : __LDBLCX(x) ? cabsl(x) : __FLT(x) ? fabsf(x) : __LDBL(x) ? fabsl(x) : fabs(x) ))
2985 #define __tg_real_complex_pow(x,y) (__RETCAST_2(x, y)( __FLTCX((x)+(y)) && __IS_FP(x) && __IS_FP(y) ? cpowf(x, y) : __FLTCX((x)+(y)) ? cpow(x, y) : __DBLCX((x)+(y)) ? cpow(x, y) : __LDBLCX((x)+(y)) ? cpowl(x, y) : __FLT(x) && __FLT(y) ? powf(x, y) : __LDBL((x)+(y)) ? powl(x, y) : pow(x, y) ))
2986 #define __tg_real_fma(x,y,z) (__RETCAST_3(x, y, z)( __FLT(x) && __FLT(y) && __FLT(z) ? fmaf(x, y, z) : __LDBL((x)+(y)+(z)) ? fmal(x, y, z) : fma(x, y, z) ))
2987 #define __tg_real_nocast(fun,x) ( __FLT(x) ? fun ## f (x) : __LDBL(x) ? fun ## l (x) : fun(x) )
2988 #define __tg_real_remquo(x,y,z) (__RETCAST_2(x, y)( __FLT(x) && __FLT(y) ? remquof(x, y, z) : __LDBL((x)+(y)) ? remquol(x, y, z) : remquo(x, y, z) ))
2989 #define __tm_gmtoff tm_gmtoff
2990 #define __tm_zone tm_zone
2991 #define __va_copy(d,s) __builtin_va_copy(d,s)
2992 #define __wasi__ 1
2993 #define __wasi_api_h
2994 #define __wasi_libc_environ_h
2995 #define __wasi_libc_find_relpath_h
2996 #define __wasi_libc_h
2997 #define __wasi_libc_nocwd_h
2998 #define __wasilibc___errno_h
2999 #define __wasilibc___errno_values_h
3000 #define __wasilibc___fd_set_h
3001 #define __wasilibc___function___isatty_h
3002 #define __wasilibc___functions_malloc_h
3003 #define __wasilibc___functions_memcpy_h
3004 #define __wasilibc___header_dirent_h
3005 #define __wasilibc___header_fcntl_h
3006 #define __wasilibc___header_netinet_in_h
3007 #define __wasilibc___header_poll_h
3008 #define __wasilibc___header_stdlib_h
3009 #define __wasilibc___header_string_h
3010 #define __wasilibc___header_sys_ioctl_h
3011 #define __wasilibc___header_sys_resource_h
3012 #define __wasilibc___header_sys_socket_h
3013 #define __wasilibc___header_sys_stat_h
3014 #define __wasilibc___header_time_h
3015 #define __wasilibc___header_unistd_h
3016 #define __wasilibc___include_inttypes_h
3017 #define __wasilibc___macro_FD_SETSIZE_h
3018 #define __wasilibc___macro_PAGESIZE_h
3019 #define __wasilibc___mode_t_h
3020 #define __wasilibc___seek_h
3021 #define __wasilibc___struct_dirent_h
3022 #define __wasilibc___struct_in6_addr_h
3023 #define __wasilibc___struct_in_addr_h
3024 #define __wasilibc___struct_iovec_h
3025 #define __wasilibc___struct_msghdr_h
3026 #define __wasilibc___struct_pollfd_h
3027 #define __wasilibc___struct_rusage_h
3028 #define __wasilibc___struct_sockaddr_h
3029 #define __wasilibc___struct_sockaddr_in6_h
3030 #define __wasilibc___struct_sockaddr_in_h
3031 #define __wasilibc___struct_sockaddr_storage_h
3032 #define __wasilibc___struct_sockaddr_un_h
3033 #define __wasilibc___struct_stat_h
3034 #define __wasilibc___struct_timespec_h
3035 #define __wasilibc___struct_timeval_h
3036 #define __wasilibc___struct_tm_h
3037 #define __wasilibc___struct_tms_h
3038 #define __wasilibc___typedef_DIR_h
3039 #define __wasilibc___typedef_blkcnt_t_h
3040 #define __wasilibc___typedef_blksize_t_h
3041 #define __wasilibc___typedef_clock_t_h
3042 #define __wasilibc___typedef_clockid_t_h
3043 #define __wasilibc___typedef_dev_t_h
3044 #define __wasilibc___typedef_fd_set_h
3045 #define __wasilibc___typedef_gid_t_h
3046 #define __wasilibc___typedef_in_addr_t_h
3047 #define __wasilibc___typedef_in_port_t_h
3048 #define __wasilibc___typedef_ino_t_h
3049 #define __wasilibc___typedef_mode_t_h
3050 #define __wasilibc___typedef_nfds_t_h
3051 #define __wasilibc___typedef_nlink_t_h
3052 #define __wasilibc___typedef_off_t_h
3053 #define __wasilibc___typedef_sa_family_t_h
3054 #define __wasilibc___typedef_sigset_t_h
3055 #define __wasilibc___typedef_socklen_t_h
3056 #define __wasilibc___typedef_ssize_t_h
3057 #define __wasilibc___typedef_suseconds_t_h
3058 #define __wasilibc___typedef_time_t_h
3059 #define __wasilibc___typedef_uid_t_h
3060 #define __wasm 1
3061 #define __wasm32 1
3062 #define __wasm32__ 1
3063 #define __wasm__ 1
3064 #define _tolower(a) ((a)|0x20)
3065 #define _toupper(a) ((a)&0x5f)
3066 #define acos(x) __tg_real_complex(acos, (x))
3067 #define acosh(x) __tg_real_complex(acosh, (x))
3068 #define alignas _Alignas
3069 #define alignof _Alignof
3070 #define alloca __builtin_alloca
3071 #define alphasort64 alphasort
3072 #define and &&
3073 #define and_eq &=
3074 #define asin(x) __tg_real_complex(asin, (x))
3075 #define asinh(x) __tg_real_complex(asinh, (x))
3076 #define assert(x) (void)0
3077 #define atan(x) __tg_real_complex(atan, (x))
3078 #define atan2(x,y) __tg_real_2(atan2, (x), (y))
3079 #define atanh(x) __tg_real_complex(atanh, (x))
3080 #define be16toh(x) __bswap16(x)
3081 #define be32toh(x) __bswap32(x)
3082 #define be64toh(x) __bswap64(x)
3083 #define betoh16(x) __bswap16(x)
3084 #define betoh32(x) __bswap32(x)
3085 #define betoh64(x) __bswap64(x)
3086 #define bitand &
3087 #define bitor |
3088 #define blkcnt64_t blkcnt_t
3089 #define bool _Bool
3090 #define bswap_16(x) __bswap_16(x)
3091 #define bswap_32(x) __bswap_32(x)
3092 #define bswap_64(x) __bswap_64(x)
3093 #define carg(x) __tg_complex_retreal(carg, (x))
3094 #define cbrt(x) __tg_real(cbrt, (x))
3095 #define ceil(x) __tg_real(ceil, (x))
3096 #define cimag(x) __tg_complex_retreal(cimag, (x))
3097 #define cimagf(x) (__builtin_cimagf(x))
3098 #define cimagl(x) (__builtin_cimagl(x))
3099 #define clrbit(x,i) __bitop(x,i,&=~)
3100 #define compl ~
3101 #define complex _Complex
3102 #define conj(x) __tg_complex(conj, (x))
3103 #define copysign(x,y) __tg_real_2(copysign, (x), (y))
3104 #define cos(x) __tg_real_complex(cos, (x))
3105 #define cosh(x) __tg_real_complex(cosh, (x))
3106 #define cproj(x) __tg_complex(cproj, (x))
3107 #define creal(x) __tg_complex_retreal(creal, (x))
3108 #define crealf(x) (__builtin_crealf(x))
3109 #define creall(x) (__builtin_creall(x))
3110 #define creat64 creat
3111 #define d_fileno d_ino
3112 #define direct dirent
3113 #define dirent64 dirent
3114 #define erf(x) __tg_real(erf, (x))
3115 #define erfc(x) __tg_real(erfc, (x))
3116 #define errno errno
3117 #define exp(x) __tg_real_complex(exp, (x))
3118 #define exp2(x) __tg_real(exp2, (x))
3119 #define expm1(x) __tg_real(expm1, (x))
3120 #define fabs(x) __tg_real_complex_fabs(x)
3121 #define false 0
3122 #define fdim(x,y) __tg_real_2(fdim, (x), (y))
3123 #define fgetpos64 fgetpos
3124 #define floor(x) __tg_real(floor, (x))
3125 #define fma(x,y,z) __tg_real_fma((x), (y), (z))
3126 #define fmax(x,y) __tg_real_2(fmax, (x), (y))
3127 #define fmin(x,y) __tg_real_2(fmin, (x), (y))
3128 #define fmod(x,y) __tg_real_2(fmod, (x), (y))
3129 #define fopen64 fopen
3130 #define fpclassify(x) (__builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, x))
3131 #define fpos64_t fpos_t
3132 #define freopen64 freopen
3133 #define frexp(x,y) __tg_real_2_1(frexp, (x), (y))
3134 #define fsblkcnt64_t fsblkcnt_t
3135 #define fseeko64 fseeko
3136 #define fsetpos64 fsetpos
3137 #define fsfilcnt64_t fsfilcnt_t
3138 #define fstat64 fstat
3139 #define fstatat64 fstatat
3140 #define ftello64 ftello
3141 #define ftruncate64 ftruncate
3142 #define getdents64 getdents
3143 #define glob64 glob
3144 #define glob64_t glob_t
3145 #define globfree64 globfree
3146 #define howmany(n,d) (((n)+((d)-1))/(d))
3147 #define htobe16(x) __bswap16(x)
3148 #define htobe32(x) __bswap32(x)
3149 #define htobe64(x) __bswap64(x)
3150 #define htole16(x) (uint16_t)(x)
3151 #define htole32(x) (uint32_t)(x)
3152 #define htole64(x) (uint64_t)(x)
3153 #define hypot(x,y) __tg_real_2(hypot, (x), (y))
3154 #define icmp6_data16 icmp6_dataun.icmp6_un_data16
3155 #define icmp6_data32 icmp6_dataun.icmp6_un_data32
3156 #define icmp6_data8 icmp6_dataun.icmp6_un_data8
3157 #define icmp6_id icmp6_data16[0]
3158 #define icmp6_maxdelay icmp6_data16[0]
3159 #define icmp6_mtu icmp6_data32[0]
3160 #define icmp6_pptr icmp6_data32[0]
3161 #define icmp6_seq icmp6_data16[1]
3162 #define icmp_data icmp_dun.id_data
3163 #define icmp_gwaddr icmp_hun.ih_gwaddr
3164 #define icmp_id icmp_hun.ih_idseq.icd_id
3165 #define icmp_ip icmp_dun.id_ip.idi_ip
3166 #define icmp_lifetime icmp_hun.ih_rtradv.irt_lifetime
3167 #define icmp_mask icmp_dun.id_mask
3168 #define icmp_nextmtu icmp_hun.ih_pmtu.ipm_nextmtu
3169 #define icmp_num_addrs icmp_hun.ih_rtradv.irt_num_addrs
3170 #define icmp_otime icmp_dun.id_ts.its_otime
3171 #define icmp_pmvoid icmp_hun.ih_pmtu.ipm_void
3172 #define icmp_pptr icmp_hun.ih_pptr
3173 #define icmp_radv icmp_dun.id_radv
3174 #define icmp_rtime icmp_dun.id_ts.its_rtime
3175 #define icmp_seq icmp_hun.ih_idseq.icd_seq
3176 #define icmp_ttime icmp_dun.id_ts.its_ttime
3177 #define icmp_void icmp_hun.ih_void
3178 #define icmp_wpa icmp_hun.ih_rtradv.irt_wpa
3179 #define ifa_broadaddr ifa_ifu.ifu_broadaddr
3180 #define ifa_dstaddr ifa_ifu.ifu_dstaddr
3181 #define ilogb(x) __tg_real_nocast(ilogb, (x))
3182 #define ino64_t ino_t
3183 #define ip6_flow ip6_ctlun.ip6_un1.ip6_un1_flow
3184 #define ip6_hlim ip6_ctlun.ip6_un1.ip6_un1_hlim
3185 #define ip6_hops ip6_ctlun.ip6_un1.ip6_un1_hlim
3186 #define ip6_nxt ip6_ctlun.ip6_un1.ip6_un1_nxt
3187 #define ip6_plen ip6_ctlun.ip6_un1.ip6_un1_plen
3188 #define ip6_vfc ip6_ctlun.ip6_un2_vfc
3189 #define isalpha(a) (0 ? isalpha(a) : (((unsigned)(a)|32)-'a') < 26)
3190 #define isascii(a) (0 ? isascii(a) : (unsigned)(a) < 128)
3191 #define isclr(x,i) !isset(x,i)
3192 #define isdigit(a) (0 ? isdigit(a) : ((unsigned)(a)-'0') < 10)
3193 #define isfinite(x) (__builtin_isfinite(x))
3194 #define isgraph(a) (0 ? isgraph(a) : ((unsigned)(a)-0x21) < 0x5e)
3195 #define isgreater(x,y) (__builtin_isgreater(x, y))
3196 #define isgreaterequal(x,y) (__builtin_isgreaterequal(x, y))
3197 #define isinf(x) (__builtin_isinf(x))
3198 #define isless(x,y) (__builtin_isless(x, y))
3199 #define islessequal(x,y) (__builtin_islessequal(x, y))
3200 #define islessgreater(x,y) (__builtin_islessgreater(x, y))
3201 #define islower(a) (0 ? islower(a) : ((unsigned)(a)-'a') < 26)
3202 #define isnan(x) (__builtin_isnan(x))
3203 #define isnormal(x) (__builtin_isnormal(x))
3204 #define isprint(a) (0 ? isprint(a) : ((unsigned)(a)-0x20) < 0x5f)
3205 #define isset(x,i) __bitop(x,i,&)
3206 #define isspace(a) __isspace(a)
3207 #define isunordered(x,y) (__builtin_isunordered(x, y))
3208 #define isupper(a) (0 ? isupper(a) : ((unsigned)(a)-'A') < 26)
3209 #define iswdigit(a) (0 ? iswdigit(a) : ((unsigned)(a)-'0') < 10)
3210 #define ldexp(x,y) __tg_real_2_1(ldexp, (x), (y))
3211 #define le16toh(x) (uint16_t)(x)
3212 #define le32toh(x) (uint32_t)(x)
3213 #define le64toh(x) (uint64_t)(x)
3214 #define letoh16(x) (uint16_t)(x)
3215 #define letoh32(x) (uint32_t)(x)
3216 #define letoh64(x) (uint64_t)(x)
3217 #define lgamma(x) __tg_real(lgamma, (x))
3218 #define llrint(x) __tg_real_nocast(llrint, (x))
3219 #define llround(x) __tg_real_nocast(llround, (x))
3220 #define loff_t off_t
3221 #define log(x) __tg_real_complex(log, (x))
3222 #define log10(x) __tg_real(log10, (x))
3223 #define log1p(x) __tg_real(log1p, (x))
3224 #define log2(x) __tg_real(log2, (x))
3225 #define logb(x) __tg_real(logb, (x))
3226 #define lrint(x) __tg_real_nocast(lrint, (x))
3227 #define lround(x) __tg_real_nocast(lround, (x))
3228 #define lseek(fd,offset,whence) ({ off_t __f = (fd); off_t __o = (offset); off_t __w = (whence); __builtin_constant_p((offset)) && __builtin_constant_p((whence)) && __o == 0 && __w == SEEK_CUR ? __wasilibc_tell(__f) : lseek(__f, __o, __w); })
3229 #define lseek64 lseek
3230 #define lstat64 lstat
3231 #define math_errhandling 2
3232 #define mld_cksum mld_icmp6_hdr.icmp6_cksum
3233 #define mld_code mld_icmp6_hdr.icmp6_code
3234 #define mld_maxdelay mld_icmp6_hdr.icmp6_data16[0]
3235 #define mld_reserved mld_icmp6_hdr.icmp6_data16[1]
3236 #define mld_type mld_icmp6_hdr.icmp6_type
3237 #define nd_na_cksum nd_na_hdr.icmp6_cksum
3238 #define nd_na_code nd_na_hdr.icmp6_code
3239 #define nd_na_flags_reserved nd_na_hdr.icmp6_data32[0]
3240 #define nd_na_type nd_na_hdr.icmp6_type
3241 #define nd_ns_cksum nd_ns_hdr.icmp6_cksum
3242 #define nd_ns_code nd_ns_hdr.icmp6_code
3243 #define nd_ns_reserved nd_ns_hdr.icmp6_data32[0]
3244 #define nd_ns_type nd_ns_hdr.icmp6_type
3245 #define nd_ra_cksum nd_ra_hdr.icmp6_cksum
3246 #define nd_ra_code nd_ra_hdr.icmp6_code
3247 #define nd_ra_curhoplimit nd_ra_hdr.icmp6_data8[0]
3248 #define nd_ra_flags_reserved nd_ra_hdr.icmp6_data8[1]
3249 #define nd_ra_router_lifetime nd_ra_hdr.icmp6_data16[1]
3250 #define nd_ra_type nd_ra_hdr.icmp6_type
3251 #define nd_rd_cksum nd_rd_hdr.icmp6_cksum
3252 #define nd_rd_code nd_rd_hdr.icmp6_code
3253 #define nd_rd_reserved nd_rd_hdr.icmp6_data32[0]
3254 #define nd_rd_type nd_rd_hdr.icmp6_type
3255 #define nd_rs_cksum nd_rs_hdr.icmp6_cksum
3256 #define nd_rs_code nd_rs_hdr.icmp6_code
3257 #define nd_rs_reserved nd_rs_hdr.icmp6_data32[0]
3258 #define nd_rs_type nd_rs_hdr.icmp6_type
3259 #define nearbyint(x) __tg_real(nearbyint, (x))
3260 #define nextafter(x,y) __tg_real_2(nextafter, (x), (y))
3261 #define nexttoward(x,y) __tg_real_2(nexttoward, (x), (y))
3262 #define nftw64 nftw
3263 #define no_argument 0
3264 #define noreturn _Noreturn
3265 #define not !
3266 #define not_eq !=
3267 #define ns_msg_base(handle) ((handle)._msg + 0)
3268 #define ns_msg_count(handle,section) ((handle)._counts[section] + 0)
3269 #define ns_msg_end(handle) ((handle)._eom + 0)
3270 #define ns_msg_getflag(handle,flag) (((handle)._flags & _ns_flagdata[flag].mask) >> _ns_flagdata[flag].shift)
3271 #define ns_msg_id(handle) ((handle)._id + 0)
3272 #define ns_msg_size(handle) ((handle)._eom - (handle)._msg)
3273 #define ns_rr_class(rr) ((ns_class)((rr).rr_class + 0))
3274 #define ns_rr_name(rr) (((rr).name[0] != '\0') ? (rr).name : ".")
3275 #define ns_rr_rdata(rr) ((rr).rdata + 0)
3276 #define ns_rr_rdlen(rr) ((rr).rdlength + 0)
3277 #define ns_rr_ttl(rr) ((rr).ttl + 0)
3278 #define ns_rr_type(rr) ((ns_type)((rr).type + 0))
3279 #define ns_t_mrr_p(t) ((t) == ns_t_tsig || (t) == ns_t_opt)
3280 #define ns_t_qt_p(t) (ns_t_xfr_p(t) || (t) == ns_t_any || (t) == ns_t_mailb || (t) == ns_t_maila)
3281 #define ns_t_rr_p(t) (!ns_t_qt_p(t) && !ns_t_mrr_p(t))
3282 #define ns_t_udp_p(t) ((t) != ns_t_axfr && (t) != ns_t_zxfr)
3283 #define ns_t_xfr_p(t) ((t) == ns_t_axfr || (t) == ns_t_ixfr || (t) == ns_t_zxfr)
3284 #define off64_t off_t
3285 #define offsetof(t,d) __builtin_offsetof(t, d)
3286 #define open64 open
3287 #define openat64 openat
3288 #define optional_argument 2
3289 #define or ||
3290 #define or_eq |=
3291 #define posix_fadvise64 posix_fadvise
3292 #define posix_fallocate64 posix_fallocate
3293 #define pow(x,y) __tg_real_complex_pow((x), (y))
3294 #define powerof2(n) !(((n)-1) & (n))
3295 #define pread64 pread
3296 #define preadv64 preadv
3297 #define pwrite64 pwrite
3298 #define pwritev64 pwritev
3299 #define readdir64 readdir
3300 #define remainder(x,y) __tg_real_2(remainder, (x), (y))
3301 #define remquo(x,y,z) __tg_real_remquo((x), (y), (z))
3302 #define required_argument 1
3303 #define rint(x) __tg_real(rint, (x))
3304 #define round(x) __tg_real(round, (x))
3305 #define roundup(n,d) (howmany(n,d)*(d))
3306 #define rr_cksum rr_hdr.icmp6_cksum
3307 #define rr_code rr_hdr.icmp6_code
3308 #define rr_seqnum rr_hdr.icmp6_data32[0]
3309 #define rr_type rr_hdr.icmp6_type
3310 #define scalbln(x,y) __tg_real_2_1(scalbln, (x), (y))
3311 #define scalbn(x,y) __tg_real_2_1(scalbn, (x), (y))
3312 #define scandir64 scandir
3313 #define setbit(x,i) __bitop(x,i,|=)
3314 #define signbit(x) (__builtin_signbit(x))
3315 #define sin(x) __tg_real_complex(sin, (x))
3316 #define sinh(x) __tg_real_complex(sinh, (x))
3317 #define sqrt(x) __tg_real_complex(sqrt, (x))
3318 #define st_atime st_atim.tv_sec
3319 #define st_ctime st_ctim.tv_sec
3320 #define st_mtime st_mtim.tv_sec
3321 #define stat64 stat
3322 #define static_assert _Static_assert
3323 #define stderr (stderr)
3324 #define stdin (stdin)
3325 #define stdout (stdout)
3326 #define strdupa(x) strcpy(alloca(strlen(x)+1),x)
3327 #define tan(x) __tg_real_complex(tan, (x))
3328 #define tanh(x) __tg_real_complex(tanh, (x))
3329 #define telcmds ((char [][6]){ "EOF", "SUSP", "ABORT", "EOR", "SE", "NOP", "DMARK", "BRK", "IP", "AO", "AYT", "EC", "EL", "GA", "SB", "WILL", "WONT", "DO", "DONT", "IAC", 0 })
3330 #define tgamma(x) __tg_real(tgamma, (x))
3331 #define th_block th_u.tu_block
3332 #define th_code th_u.tu_code
3333 #define th_msg th_data
3334 #define th_stuff th_u.tu_stuff
3335 #define thrd_equal(A,B) ((A) == (B))
3336 #define thread_local _Thread_local
3337 #define timeradd(s,t,a) (void) ( (a)->tv_sec = (s)->tv_sec + (t)->tv_sec, ((a)->tv_usec = (s)->tv_usec + (t)->tv_usec) >= 1000000 && ((a)->tv_usec -= 1000000, (a)->tv_sec++) )
3338 #define timerclear(t) ((t)->tv_sec = (t)->tv_usec = 0)
3339 #define timercmp(s,t,op) ((s)->tv_sec == (t)->tv_sec ? (s)->tv_usec op (t)->tv_usec : (s)->tv_sec op (t)->tv_sec)
3340 #define timerisset(t) ((t)->tv_sec || (t)->tv_usec)
3341 #define timersub(s,t,a) (void) ( (a)->tv_sec = (s)->tv_sec - (t)->tv_sec, ((a)->tv_usec = (s)->tv_usec - (t)->tv_usec) < 0 && ((a)->tv_usec += 1000000, (a)->tv_sec--) )
3342 #define true 1
3343 #define trunc(x) __tg_real(trunc, (x))
3344 #define uh_dport dest
3345 #define uh_sport source
3346 #define uh_sum check
3347 #define uh_ulen len
3348 #define va_arg(ap,type) __builtin_va_arg(ap, type)
3349 #define va_copy(dest,src) __builtin_va_copy(dest, src)
3350 #define va_end(ap) __builtin_va_end(ap)
3351 #define va_start(ap,param) __builtin_va_start(ap, param)
3352 #define versionsort64 versionsort
3353 #define xEOF 236
3354 #define xor ^
3355 #define xor_eq ^=