We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The kernel should provide system calls corresponding to sendmsg(3p) and recvmsg(3p), which are basic operations of the POSIX socket interface.
These functions are usually used with UDP sockets. They are prominently used in QUIC.
If I understand correctly, we should be able to implement send(3p) on top of sendto(3p) on top of sendmsg(3p) and recv(3p) on top of recvfrom(3p) on top of recvmsg(3p).
For struct msghdr, see <sys/socket.h>.
struct msghdr
Our newlib has stubbed these functions for the mean time:
recvmsg
socket2::Socket::sendmsg
socket2::Socket::recvmsg
nix::sys::socket::sendmsg
nix::sys::socket::recvmsg
tokio_uring::net::UdpSocket::sendmsg
tokio_uring::net::UdpSocket::recvmsg
quinn_udp::UdpSocketState::send
quinn_udp::UdpSocketState::recv
The text was updated successfully, but these errors were encountered:
sendmsg()
recvmsg()
stlankes
No branches or pull requests
The kernel should provide system calls corresponding to sendmsg(3p) and recvmsg(3p), which are basic operations of the POSIX socket interface.
These functions are usually used with UDP sockets. They are prominently used in QUIC.
If I understand correctly, we should be able to implement send(3p) on top of sendto(3p) on top of sendmsg(3p) and recv(3p) on top of recvfrom(3p) on top of recvmsg(3p).
For
struct msghdr
, see <sys/socket.h>.Our newlib has stubbed these functions for the mean time:
recvmsg
andrecvmsg
newlib#83IETF RFCs that list these functions as basic operations
Respective functions in the Rust ecosystem
socket2::Socket::sendmsg
socket2::Socket::recvmsg
nix::sys::socket::sendmsg
nix::sys::socket::recvmsg
tokio_uring::net::UdpSocket::sendmsg
tokio_uring::net::UdpSocket::recvmsg
quinn_udp::UdpSocketState::send
quinn_udp::UdpSocketState::recv
The text was updated successfully, but these errors were encountered: