1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 18:20:43 +09:00

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
parent 1f16250de9
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
};
};