Expand description
Value formatting utilities for network addresses.
Provides formatting functions for displaying network addresses in human-readable form:
- IPv4 addresses (UInt32 -> dotted-decimal string)
- IPv6 addresses (16 bytes -> RFC 5952 string)
- MAC addresses (6 bytes -> colon-separated hex)
These functions are used by the CLI output formatter to automatically format address columns for display while keeping the underlying binary storage for efficient filtering and range queries.
Enums§
- Address
Kind - The kind of network address a column represents.
Functions§
- detect_
address_ column - Detect if a column represents a network address based on its type and name.
- format_
ipv4 - Format a UInt32 as an IPv4 address string in dotted-decimal notation.
- format_
ipv6 - Format 16 bytes as an IPv6 address string.
- format_
mac - Format 6 bytes as a MAC address string in colon-separated hex format.