netlink-sys 0.3.0

netlink sockets, with optional integration with mio and tokio
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod protocols;
pub use self::protocols::*;

mod sys;
pub use self::sys::SocketAddr;

#[cfg(feature = "mio_socket")]
mod mio;

#[cfg(feature = "tokio_socket")]
mod tokio;

#[cfg(not(feature = "tokio_socket"))]
pub use self::sys::Socket;
#[cfg(feature = "tokio_socket")]
pub use self::tokio::Socket;

pub mod constants;