Macro vmm_sys_util::ioctl_iowr_nr[][src]

macro_rules! ioctl_iowr_nr {
    ($name:ident, $ty:expr, $nr:expr, $size:ty) => { ... };
    ($name:ident, $ty:expr, $nr:expr, $size:ty, $($v:ident),+) => { ... };
}

Declare an ioctl that reads and writes data.

const VHOST: ::std::os::raw::c_uint = 0xAF;
ioctl_iowr_nr!(VHOST_GET_VRING_BASE, VHOST, 0x12, ::std::os::raw::c_int);