package
1.0.1
Repository: https://github.com/containers/common.git
Documentation: pkg.go.dev

# Functions

Cmp compares two IPs, returning the usual ordering: a < b : -1 a == b : 0 a > b : 1.
FirstIPInSubnet gets the first IP in a subnet.
No description provided by the author
No description provided by the author
IsIPv4 returns true if netIP is IPv4.
IsIPv6 returns true if netIP is IPv6.
LastIPInSubnet gets the last IP in a subnet.
NextIP returns IP incremented by 1.
NormalizeIP will transform the given ip to the 4 byte len ipv4 if possible.
PrevIP returns IP decremented by 1.