I'm writing a Ruby support library for IP network management, and I'm having trouble coming up with a commonly used construct, namely an IP address with prefix, where the distinction between host and network is implicit: if the prefix only masks bits in the address, then it's a network address.
Is there a generic term for an IP host or network address with prefix? The standards don't need to give it a name, because it's not a primitive construct. If I used standards terminology, I'd have to call it an address with prefix.
I'm fine with calling this an IP host:
And I'm fine with calling this an IP network:
But what's a decent name for both of these?
As it stands, I'm thinking of calling it an IP spec. Then my library will implement IP::Address and IP::Network as specializations of IP::Spec.