xref: /aosp_15_r20/external/strace/xlat/msg_flags.in (revision cf84ac9a129d8ea9952db616b4e9b904c4bdde56)
1*cf84ac9aSAndroid Build Coastguard WorkerMSG_OOB			0x1
2*cf84ac9aSAndroid Build Coastguard WorkerMSG_PEEK		0x2
3*cf84ac9aSAndroid Build Coastguard WorkerMSG_DONTROUTE		0x4
4*cf84ac9aSAndroid Build Coastguard Worker/* MSG_TRYHARD 0x4 - synonym for MSG_DONTROUTE for DECnet */
5*cf84ac9aSAndroid Build Coastguard WorkerMSG_CTRUNC		0x8
6*cf84ac9aSAndroid Build Coastguard WorkerMSG_PROBE		0x10
7*cf84ac9aSAndroid Build Coastguard WorkerMSG_TRUNC		0x20
8*cf84ac9aSAndroid Build Coastguard WorkerMSG_DONTWAIT		0x40
9*cf84ac9aSAndroid Build Coastguard WorkerMSG_EOR			0x80
10*cf84ac9aSAndroid Build Coastguard WorkerMSG_WAITALL		0x100
11*cf84ac9aSAndroid Build Coastguard WorkerMSG_FIN			0x200
12*cf84ac9aSAndroid Build Coastguard WorkerMSG_SYN			0x400
13*cf84ac9aSAndroid Build Coastguard WorkerMSG_CONFIRM		0x800
14*cf84ac9aSAndroid Build Coastguard WorkerMSG_RST			0x1000
15*cf84ac9aSAndroid Build Coastguard WorkerMSG_ERRQUEUE		0x2000
16*cf84ac9aSAndroid Build Coastguard WorkerMSG_NOSIGNAL		0x4000
17*cf84ac9aSAndroid Build Coastguard WorkerMSG_MORE		0x8000
18*cf84ac9aSAndroid Build Coastguard WorkerMSG_WAITFORONE		0x10000
19*cf84ac9aSAndroid Build Coastguard WorkerMSG_SENDPAGE_NOTLAST	0x20000 /* sendpage() internal */
20*cf84ac9aSAndroid Build Coastguard WorkerMSG_BATCH		0x40000
21*cf84ac9aSAndroid Build Coastguard WorkerMSG_NO_SHARED_FRAGS	0x80000 /* sendpage() internal */
22*cf84ac9aSAndroid Build Coastguard WorkerMSG_ZEROCOPY		0x4000000
23*cf84ac9aSAndroid Build Coastguard Worker/* MSG_EOF MSG_FIN */
24*cf84ac9aSAndroid Build Coastguard WorkerMSG_FASTOPEN		0x20000000
25*cf84ac9aSAndroid Build Coastguard WorkerMSG_CMSG_CLOEXEC	0x40000000
26*cf84ac9aSAndroid Build Coastguard Worker#ifndef STRACE_WORKAROUND_FOR_MSG_CMSG_COMPAT
27*cf84ac9aSAndroid Build Coastguard Worker# define STRACE_WORKAROUND_FOR_MSG_CMSG_COMPAT
28*cf84ac9aSAndroid Build Coastguard Worker/*
29*cf84ac9aSAndroid Build Coastguard Worker * In Linux, the value of MSG_CMSG_COMPAT depends on CONFIG_COMPAT,
30*cf84ac9aSAndroid Build Coastguard Worker * and libc might want to replicate that behaviour.
31*cf84ac9aSAndroid Build Coastguard Worker */
32*cf84ac9aSAndroid Build Coastguard Worker# undef MSG_CMSG_COMPAT
33*cf84ac9aSAndroid Build Coastguard Worker#endif
34*cf84ac9aSAndroid Build Coastguard WorkerMSG_CMSG_COMPAT		0x80000000
35