Utilities for IPv4/IPv6 networking