mod.rs 1.0 KB

12345678910111213141516171819202122232425262728
  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 = "proto-sixlowpan")]
  6. mod fragmentation;
  7. mod interface;
  8. #[cfg(any(feature = "medium-ethernet", feature = "medium-ieee802154"))]
  9. mod neighbor;
  10. mod route;
  11. mod socket_meta;
  12. mod socket_set;
  13. #[cfg(any(feature = "medium-ethernet", feature = "medium-ieee802154"))]
  14. pub(crate) use self::neighbor::Answer as NeighborAnswer;
  15. #[cfg(any(feature = "medium-ethernet", feature = "medium-ieee802154"))]
  16. pub use self::neighbor::Cache as NeighborCache;
  17. #[cfg(any(feature = "medium-ethernet", feature = "medium-ieee802154"))]
  18. pub use self::neighbor::Neighbor;
  19. pub use self::route::{Route, Routes};
  20. pub use socket_set::{SocketHandle, SocketSet, SocketStorage};
  21. #[cfg(feature = "proto-sixlowpan")]
  22. pub use self::fragmentation::{PacketAssembler, PacketAssemblerSet as FragmentsCache};
  23. pub use self::interface::{Interface, InterfaceBuilder};