rustix::net::sockopt

Function set_xdp_umem_reg

source
pub fn set_xdp_umem_reg<Fd: AsFd>(fd: Fd, value: XdpUmemReg) -> Result<()>
Expand description

setsockopt(fd, SOL_XDP, XDP_UMEM_REG, value)

On kernel versions only supporting v1, the flags are ignored.

ยงReferences