Parse and resolve a specified subnet string into the appropriate internal representation.
a CSubNet object (that may or may not be valid).
| Name | Description |
|---|---|
| subnet_str [in] | A string representation of a subnet of the form network address [ "/", ( CIDR-style suffix | netmask ) ] e.g. "2001:db8::/32", "192.0.2.0/255.255.255.0" or "8.8.8.8". |