mod.rs 733 B

12345678910111213141516171819202122
  1. /*! Network interface logic.
  2. The `iface` module deals with the *network interfaces*. It filters incoming frames,
  3. provides lookup and caching of hardware addresses, and handles management packets.
  4. */
  5. #[cfg(feature = "ethernet")]
  6. mod neighbor;
  7. mod route;
  8. #[cfg(feature = "ethernet")]
  9. mod ethernet;
  10. #[cfg(feature = "ethernet")]
  11. pub use self::neighbor::Neighbor as Neighbor;
  12. #[cfg(feature = "ethernet")]
  13. pub(crate) use self::neighbor::Answer as NeighborAnswer;
  14. #[cfg(feature = "ethernet")]
  15. pub use self::neighbor::Cache as NeighborCache;
  16. pub use self::route::{Route, Routes};
  17. #[cfg(feature = "ethernet")]
  18. pub use self::ethernet::{Interface as EthernetInterface,
  19. InterfaceBuilder as EthernetInterfaceBuilder};