Expand description
Utilities for dealing with message headers.
These take closures rather than returning a c::msghdr
directly because
the message headers may reference stack-local data.
Functionsยง
- msg_control_len ๐
- msg_iov_len ๐
- with_noaddr_msghdr ๐Create a message header intended to send without an address.
- with_recv_msghdr ๐Create a message header intended to receive a datagram.
- with_unix_msghdr ๐Create a message header intended to send with a Unix address.
- with_v4_msghdr ๐Create a message header intended to send with an IPv4 address.
- with_v6_msghdr ๐Create a message header intended to send with an IPv6 address.
- with_xdp_msghdr ๐Create a message header intended to send with an XDP address.
- zero_msghdr ๐Create a zero-initialized message header struct value.