pub(crate) fn with_v4_msghdr<R>(
addr: &SocketAddrV4,
iov: &[IoSlice<'_>],
control: &mut SendAncillaryBuffer<'_, '_, '_>,
f: impl FnOnce(msghdr) -> R,
) -> R
Expand description
Create a message header intended to send with an IPv4 address.