unix: respect MSG_DONTWAIT on sendmsg()

fix bug #18539

Change-Id: Id21362028287d1cbdac469226e6b52f4547a276f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6796
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
Jérôme Duval
2023-08-07 13:24:45 +00:00
parent 13e2db9609
commit 3487453788
10 changed files with 74 additions and 20 deletions
+2 -1
View File
@@ -108,7 +108,8 @@ struct net_protocol_module_info {
ssize_t (*send_data_no_buffer)(net_protocol* self, const iovec* vecs,
size_t vecCount, ancillary_data_container* ancillaryData,
const struct sockaddr* address, socklen_t addressLength);
const struct sockaddr* address, socklen_t addressLength,
int flags);
ssize_t (*read_data_no_buffer)(net_protocol* self, const iovec* vecs,
size_t vecCount, ancillary_data_container** _ancillaryData,
struct sockaddr* _address, socklen_t* _addressLength);