History log of /freebsd-head/lib/libc/gen/recvmmsg.c
Revision Date Author Comments
65d7d82f3038a3391b085efe6a92384feed8d1b4 11-Oct-2016 kib <kib@FreeBSD.org> Correct indent.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days
3fa64907439c00965fb0cbb222a6bf073c452630 11-Oct-2016 kib <kib@FreeBSD.org> Fill msg_len for the initial element of msgvec.

Submitted by: Daniel Salzman <daniel.salzman@nic.cz>
MFC after: 3 days
00d578928eca75be320b36d37543a7e2a4f9fbdb 27-May-2016 grehan <grehan@FreeBSD.org> Create branch for bhyve graphics import.
6c0e620fdbcd382232aa0d3be852301f2a75876d 29-Jan-2016 kib <kib@FreeBSD.org> Add implementations of sendmmsg(3) and recvmmsg(3) functions which
wraps sendmsg(2) and recvmsg(2) into batch send and receive operation.
The goal of this implementation is only to provide API compatibility
with Linux.

The cancellation behaviour of the functions is not quite right, but
due to relative rare use of cancellation it is considered acceptable
comparing with the complexity of the correct implementation. If
functions are reimplemented as syscalls, the fix would come almost
trivial. The direct use of the syscall trampolines instead of libc
wrappers for sendmsg(2) and recvmsg(2) is to avoid data loss on
cancellation.

Submitted by: Boris Astardzhiev <boris.astardzhiev@gmail.com>
Discussed with: jilles (cancellation behaviour)
MFC after: 1 month