Expand description
IPv4 protocol layer
This module provides IPv4 packet handling for the network stack. It implements the NetworkLayer trait for IPv4 encapsulation/decapsulation.
§Design
The Ipv4Layer manages:
- Multiple IPv4 addresses per interface (primary + secondary)
- Routing table for destination-based forwarding
- Source IP selection based on routing decisions
This design supports multiple network interfaces with multiple IP addresses each.
Modules§
- protocol
- IPv4 protocol numbers
Structs§
- Ipv4
Address - IPv4 address
- Ipv4
Address Info - IPv4 address information for an interface
- Ipv4
Header - IPv4 header (minimum 20 bytes)
- Ipv4
Layer - IPv4 layer
- Route
Entry - Routing table entry