]> granicus.if.org Git - strace/blob - xlat/msg_flags.in
xlat: update MSG_* constants
[strace] / xlat / msg_flags.in
1 MSG_OOB                 0x1
2 MSG_PEEK                0x2
3 MSG_DONTROUTE           0x4
4 /* MSG_TRYHARD 0x4 - synonym for MSG_DONTROUTE for DECnet */
5 MSG_CTRUNC              0x8
6 MSG_PROBE               0x10
7 MSG_TRUNC               0x20
8 MSG_DONTWAIT            0x40
9 MSG_EOR                 0x80
10 MSG_WAITALL             0x100
11 MSG_FIN                 0x200
12 MSG_SYN                 0x400
13 MSG_CONFIRM             0x800
14 MSG_RST                 0x1000
15 MSG_ERRQUEUE            0x2000
16 MSG_NOSIGNAL            0x4000
17 MSG_MORE                0x8000
18 MSG_WAITFORONE          0x10000
19 MSG_SENDPAGE_NOTLAST    0x20000 /* sendpage() internal */
20 MSG_BATCH               0x40000
21 MSG_NO_SHARED_FRAGS     0x80000 /* sendpage() internal */
22 MSG_ZEROCOPY            0x4000000
23 /* MSG_EOF MSG_FIN */
24 MSG_FASTOPEN            0x20000000
25 MSG_CMSG_CLOEXEC        0x40000000
26 #ifndef STRACE_WORKAROUND_FOR_MSG_CMSG_COMPAT
27 # define STRACE_WORKAROUND_FOR_MSG_CMSG_COMPAT
28 /*
29  * In Linux, the value of MSG_CMSG_COMPAT depends on CONFIG_COMPAT,
30  * and libc might want to replicate that behaviour.
31  */
32 # undef MSG_CMSG_COMPAT
33 #endif
34 MSG_CMSG_COMPAT         0x80000000