Prefix
- typePrefix
An IP address prefix: the combination of an IP address and a prefix length.
A prefix can be constructed with the
/operator or with thePrefix.newfunction. This operator takes anIpAddrand au8as operands.Rotolet a = 1.1.1.0 / 8; let b = 192.0.0.0 / 24;
- functionmin_addr(self: Prefix) IpAddr
Returns the smallest address of the prefix.
This is the same as
Prefix.addr.