Expand description
ARP (Address Resolution Protocol)
This module provides ARP implementation for resolving IP addresses to MAC addresses. It implements the NetworkLayer trait and manages an ARP cache.
Modules§
- operation
- ARP operation types
Structs§
- ArpCache
Entry - ARP cache entry
- ArpLayer
- ARP layer
- ArpPacket
- ARP packet header (28 bytes)
- ArpPending
Entry 🔒 - ARP cache entry with packet queue
Enums§
- ArpEntry
State - ARP entry state
Constants§
- HLEN_
ETHERNET - Hardware address length for Ethernet (6 bytes)
- HTYPE_
ETHERNET - Hardware type (Ethernet)
- PLEN_
IPV4 - Protocol address length for IPv4 (4 bytes)
- PTYPE_
IPV4 - Protocol type (IPv4)
Type Aliases§
- ArpCache
Key 🔒 - ARP cache key: (interface_name, IP as u32)
- ArpPending
Key 🔒 - ARP pending key: (interface_name, IP as u32)