macro_rules! ioctl_ior_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 reads data.
const TUNTAP: ::std::os::raw::c_uint = 0x54;
ioctl_ior_nr!(TUNGETFEATURES, TUNTAP, 0xcf, ::std::os::raw::c_uint);