ethox/layer/arp/mod.rs
1//! Receiving and sending ARP messages.
2//!
3//! Restricted to simple use of answering and sending arp based on the required addresses of the
4//! ip/ipv4 layer. You might not need to use this directly as it is embedded into the IP layer for
5//! its use in IPv4 addressing.
6//!
7//! Its code could be more generic and might in the future be reused for other protocols.
8mod endpoint;
9mod neighbor;
10mod packet;
11#[cfg(test)]
12mod tests;
13
14pub use endpoint::{Endpoint, Receiver, Sender};
15
16pub use neighbor::{
17 Neighbor,
18 Answer as NeighborAnswer,
19 Mapping as NeighborMapping,
20 Cache as NeighborCache,
21 Table as NeighborTable,
22};
23
24pub use packet::{Controller, In as InPacket, Init, Out as OutPacket, Raw as RawPacket};