Kernel: Add support for the MSG_DONTROUTE sys$sendmsg flag

This commit is contained in:
Idan Horowitz 2021-12-02 00:27:24 +02:00 committed by Andreas Kling
commit 5514d60d8d
Notes: sideshowbarker 2024-07-17 23:10:49 +09:00
5 changed files with 13 additions and 5 deletions

View file

@ -607,7 +607,7 @@ static void format_connect(FormattedSyscallBuilder& builder, int socket, const s
struct MsgOptions : BitflagBase {
static constexpr auto options = {
BITFLAG(MSG_TRUNC), BITFLAG(MSG_CTRUNC), BITFLAG(MSG_PEEK),
BITFLAG(MSG_OOB), BITFLAG(MSG_DONTWAIT)
BITFLAG(MSG_OOB), BITFLAG(MSG_DONTROUTE), BITFLAG(MSG_DONTWAIT)
// TODO: add MSG_WAITALL once its definition is added
};
};