#![forbid(unsafe_op_in_unsafe_fn)]
#[cfg(all(target_os = "linux", feature = "tokio"))]
pub mod async_channel;
#[cfg(target_os = "linux")]
#[doc(hidden)]
pub mod bench_support;
pub mod block;
#[cfg(target_os = "linux")]
pub mod channel;
#[cfg(target_os = "linux")]
pub mod dummy;
pub mod error;
pub mod interface;
pub mod sys;
#[cfg(all(target_os = "linux", feature = "tokio"))]
pub use async_channel::{AsyncReceiver, AsyncSender};
pub use block::{Block, Frame, FrameMeta, Frames, PacketType, VlanTag};
#[cfg(target_os = "linux")]
pub use channel::{Channel, ChannelBuilder, FanoutMode, Receiver, RingConfig, Sender};
pub use error::{Error, Result};
pub use interface::{IfAddr, IfIndex, Interface, MacAddr, interfaces};
pub use sys::Stats;
#[cfg(all(target_os = "linux", feature = "xdp"))]
pub use sys::linux::xdp::{XdpConfig, XdpSocket};