Function rustix::backend::net::msghdr::with_xdp_msghdr

source ยท
pub(crate) fn with_xdp_msghdr<R>(
    addr: &SocketAddrXdp,
    iov: &[IoSlice<'_>],
    control: &mut SendAncillaryBuffer<'_, '_, '_>,
    f: impl FnOnce(msghdr) -> R,
) -> R
Expand description

Create a message header intended to send with an XDP address.