Crate ipstuff

Source
Expand description

§ipstuff

Various utilities for working with IP addresses and subnet masks.

Structs§

InvalidIpv4Mask
Error when failing to parse an Ipv4Mask.
InvalidMaskedIpv4
Error when failing to parse a MaskedIpv4.
Ipv4Mask
A 4-byte type representing a subnet mask. This type can only be a valid subnet mask.
MaskedIpv4
An 8-byte type representing an IPv4 address and subnet mask pair. The IP may be any ip within the represented network, and the mask may be any valid subnet mask.

Traits§

IpBitwiseExt
An extension trait providing bitwise binary operations for Ipv4Addr and Ipv6Addr types.
IpBitwiseNotExt
An extention trait providing bitwise not operation for Ipv4Addr and Ipv6Addr types.