pub mod address;
pub mod link;
pub mod neighbour;
pub mod neighbour_table;
pub mod nsid;
pub mod prefix;
pub mod route;
pub mod rule;
pub mod tc;
mod message;
#[cfg(test)]
mod tests;
pub(crate) mod ip;
#[cfg(any(target_os = "linux", target_os = "fuchsia"))]
mod address_family_linux;
#[cfg(any(target_os = "linux", target_os = "fuchsia"))]
pub use self::address_family_linux::AddressFamily;
#[cfg(target_os = "freebsd")]
mod address_family_freebsd;
#[cfg(target_os = "freebsd")]
pub use self::address_family_freebsd::AddressFamily;
#[cfg(not(any(
target_os = "linux",
target_os = "fuchsia",
target_os = "freebsd",
)))]
mod address_family_fallback;
#[cfg(not(any(
target_os = "linux",
target_os = "fuchsia",
target_os = "freebsd",
)))]
pub use self::address_family_fallback::AddressFamily;
pub use self::ip::IpProtocol;
pub use self::message::{RouteNetlinkMessage, RouteNetlinkMessageBuffer};
#[macro_use]
extern crate netlink_packet_utils;
#[cfg(test)]
#[macro_use]
extern crate pretty_assertions;
#[macro_use]
extern crate bitflags;