macro_rules! ioctl_iow_nr {
($name:ident, $ty:expr, $nr:expr, $size:ty) => { ... };
($name:ident, $ty:expr, $nr:expr, $size:ty, $($v:ident),+) => { ... };
}
Expand description
Declare an ioctl that writes data.
const TUNTAP: ::std::os::raw::c_uint = 0x54;
ioctl_iow_nr!(TUNSETQUEUE, TUNTAP, 0xd9, ::std::os::raw::c_int);