diff options
Diffstat (limited to 'src/xlat/msg_flags.in')
-rw-r--r-- | src/xlat/msg_flags.in | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/xlat/msg_flags.in b/src/xlat/msg_flags.in new file mode 100644 index 000000000..946b1326e --- /dev/null +++ b/src/xlat/msg_flags.in @@ -0,0 +1,34 @@ +MSG_OOB 0x1 +MSG_PEEK 0x2 +MSG_DONTROUTE 0x4 +/* MSG_TRYHARD 0x4 - synonym for MSG_DONTROUTE for DECnet */ +MSG_CTRUNC 0x8 +MSG_PROBE 0x10 +MSG_TRUNC 0x20 +MSG_DONTWAIT 0x40 +MSG_EOR 0x80 +MSG_WAITALL 0x100 +MSG_FIN 0x200 +MSG_SYN 0x400 +MSG_CONFIRM 0x800 +MSG_RST 0x1000 +MSG_ERRQUEUE 0x2000 +MSG_NOSIGNAL 0x4000 +MSG_MORE 0x8000 +MSG_WAITFORONE 0x10000 +MSG_SENDPAGE_NOTLAST 0x20000 /* sendpage() internal */ +MSG_BATCH 0x40000 +MSG_NO_SHARED_FRAGS 0x80000 /* sendpage() internal */ +MSG_ZEROCOPY 0x4000000 +/* MSG_EOF MSG_FIN */ +MSG_FASTOPEN 0x20000000 +MSG_CMSG_CLOEXEC 0x40000000 +#ifndef STRACE_WORKAROUND_FOR_MSG_CMSG_COMPAT +# define STRACE_WORKAROUND_FOR_MSG_CMSG_COMPAT +/* + * In Linux, the value of MSG_CMSG_COMPAT depends on CONFIG_COMPAT, + * and libc might want to replicate that behaviour. + */ +# undef MSG_CMSG_COMPAT +#endif +MSG_CMSG_COMPAT 0x80000000 |