⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module arp

Module arp 

Source
Expand description

ARP (Address Resolution Protocol) implementation

Provides ARP cache management and request/reply processing for resolving IPv4 addresses to MAC addresses on the local network.

Functions§

flush_cache
Clear all ARP cache entries.
get_cache_entries
Get a snapshot of the ARP cache for display purposes.
process_arp_packet
Process an incoming ARP packet.
resolve
Resolve an IPv4 address to a MAC address from the cache.
send_arp_request
Send an ARP request for the given target IP.
tick
Advance the ARP tick counter (called periodically)
update_cache
Insert or update an ARP cache entry.