Modules§
- messages 🔒
Structs§
- Ancillary
Drain - An iterator that drains messages from a
RecvAncillaryBuffer
. - Ancillary
Iter - An iterator over data in an ancillary buffer.
- MMsgHdr
- An ABI-compatible wrapper for
mmsghdr
, for sending multiple messages with sendmmsg. - Recv
Ancillary Buffer - Buffer for receiving ancillary messages with
recvmsg
. - RecvMsg
- The result of a successful
recvmsg
call. - Send
Ancillary Buffer - Buffer for sending ancillary messages with
sendmsg
andsendmsg_addr
.
Enums§
- Recv
Ancillary Message - Ancillary message for
recvmsg
. - Send
Ancillary Message - Ancillary message for
sendmsg
andsendmsg_addr
.
Functions§
- align_
for_ 🔒cmsghdr - Return a slice of
buffer
starting at the firstcmsghdr
alignment boundary. - recvmsg
recvmsg(msghdr)
—Receives a message from a socket.- sendmmsg
sendmmsg(msghdr)
—Sends multiple messages on a socket.- sendmsg
sendmsg(msghdr)
—Sends a message on a socket.- sendmsg_
addr sendmsg(msghdr)
—Sends a message on a socket to a specific address.