Expand description
Neighbor resolution system for automatic MAC address lookup.
which automatically resolves destination MAC addresses based on the network layer protocol being used.
For example:
- ARP requests should use broadcast MAC (ff:ff:ff:ff:ff:ff)
- IP packets need ARP resolution to find the destination MAC
- Multicast IPs map to specific multicast MACs
Structs§
- ArpCache
- ARP cache for storing resolved MAC addresses.
- Cache
Entry - Neighbor cache entry with expiration.
- NdpCache
- IPv6 neighbor cache.
- Neighbor
Cache - Registry for neighbor resolvers.
Traits§
- Neighbor
Resolver - Trait for neighbor resolution.
Functions§
- ipv4_
multicast_ mac - Get multicast MAC for IPv4 multicast address.
- ipv6_
multicast_ mac - Get multicast MAC for IPv6 multicast address.
- is_
ipv4_ multicast - Check if an IPv4 address is multicast.
- is_
ipv6_ multicast - Check if an IPv6 address is multicast.
- solicited_
node_ multicast - Solicited-node multicast address for IPv6.
Type Aliases§
- Resolver
Fn - A resolver function type for determining destination MAC addresses.