Re-exports§
pub use builder::DhcpBuilder;
Modules§
Structs§
- Dhcp
Layer - DHCP layer — a zero-copy view into a parsed DHCP packet.
Constants§
- DHCP_
CLIENT_ PORT - DHCP_
FIELD_ NAMES - Field names for Python field access.
- DHCP_
MIN_ HEADER_ LEN - Minimum DHCP packet size: 240 (BOOTP header) + 4 (magic cookie) + 3 (minimum option).
- DHCP_
SERVER_ PORT - DHCP uses UDP ports 67 (server) and 68 (client).
Functions§
- is_
dhcp_ payload - Check if a UDP payload looks like a DHCP packet.