aboutsummaryrefslogtreecommitdiff
path: root/src/network/recvmmsg.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* recvmmsg: add time64 syscall support, decouple 32-bit time_t•••the time64 syscall is used only if the timeout does not fit in 32 bits. after preprocessing, the code is unchanged on 64-bit archs. for 32-bit archs, the timeout now goes through an intermediate copy, meaning that the caller does not get back the updated timeout. this is based on my reading of the documentation, which does not document the updating as a contract you can rely on, and mentions that the whole recvmmsg timeout mechanism is buggy and unlikely to be useful. if it turns out that there's interest in making the remaining time officially available to callers, such functionality could be added back later. Rich Felker2019-07-291-0/+18
* implement sendmmsg and recvmmsg•••these are not pure syscall wrappers because they have to work around kernel API bugs on 64-bit archs. the workarounds could probably be made somewhat more efficient, but at the cost of more complexity. this may be revisited later. Rich Felker2014-06-191-0/+15