devela::_dep::rustix::net

Function sendmsg_xdp

pub fn sendmsg_xdp(
    socket: impl AsFd,
    addr: &SocketAddrXdp,
    iov: &[IoSlice<'_>],
    control: &mut SendAncillaryBuffer<'_, '_, '_>,
    flags: SendFlags,
) -> Result<usize, Errno> 
Available on crate feature dep_rustix only.
Expand description

sendmsg(msghdr)—Sends a message on a socket to a specific XDP address.

§References