Function rustix::net::sendto_xdp
source · pub fn sendto_xdp<Fd: AsFd>(
fd: Fd,
buf: &[u8],
flags: SendFlags,
addr: &SocketAddrXdp
) -> Result<usize>
Expand description
sendto(fd, buf, flags, addr, sizeof(struct sockaddr_xdp))
—Writes data
to a socket to a specific XDP address.