Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit a7df07c

Browse files
Merge pull request #2301 from ivanroubicek/patch-1
Flags for send and recv on socket fd.
2 parents a2b4c64 + 2337846 commit a7df07c

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

src/core/sys/linux/sys/socket.d

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,3 +156,21 @@ enum
156156
SO_PEERGROUPS = 59,
157157
SO_ZEROCOPY = 60,
158158
}
159+
160+
enum : uint
161+
{
162+
MSG_TRYHARD = 0x04,
163+
MSG_PROXY = 0x10,
164+
MSG_DONTWAIT = 0x40,
165+
MSG_FIN = 0x200,
166+
MSG_SYN = 0x400,
167+
MSG_CONFIRM = 0x800,
168+
MSG_RST = 0x1000,
169+
MSG_ERRQUEUE = 0x2000,
170+
MSG_MORE = 0x8000,
171+
MSG_WAITFORONE = 0x10000,
172+
MSG_BATCH = 0x40000,
173+
MSG_ZEROCOPY = 0x4000000,
174+
MSG_FASTOPEN = 0x20000000,
175+
MSG_CMSG_CLOEXEC = 0x40000000
176+
}

0 commit comments

Comments
 (0)