pub fn set_xdp_umem_reg<Fd>(fd: Fd, value: XdpUmemReg) -> Result<(), Errno> ⓘwhere Fd: AsFd,
dep_rustix
setsockopt(fd, SOL_XDP, XDP_UMEM_REG, value)
On kernel versions only supporting v1, the flags are ignored.