net_gen: Avoid clashing names in imports

Remove use of glob imports to fix an issue detected by clippy.

Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
This commit is contained in:
Rob Bradford 2023-04-22 08:06:58 +01:00 committed by Rob Bradford
parent 83d57d3cce
commit 990362e314

View File

@ -28,10 +28,12 @@ pub mod inn;
// generated with bindgen /usr/include/linux/sockios.h --no-unstable-rust // generated with bindgen /usr/include/linux/sockios.h --no-unstable-rust
// --constified-enum '*' --with-derive-default // --constified-enum '*' --with-derive-default
pub mod sockios; pub mod sockios;
pub use if_tun::*; pub use if_tun::{
pub use iff::*; sock_fprog, IFF_MULTI_QUEUE, IFF_NO_PI, IFF_TAP, IFF_VNET_HDR, TUN_F_CSUM, TUN_F_TSO4,
pub use inn::*; TUN_F_TSO6, TUN_F_TSO_ECN, TUN_F_UFO,
pub use sockios::*; };
pub use iff::{ifreq, net_device_flags_IFF_UP, setsockopt, sockaddr, AF_INET};
pub use inn::sockaddr_in;
pub const TUNTAP: ::std::os::raw::c_uint = 84; pub const TUNTAP: ::std::os::raw::c_uint = 84;