[#LookupSubNet] = LookupSubNet :mrdocs: Parse and resolve a specified subnet string into the appropriate internal representation. == Synopsis Declared in `<netbase.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:CSubNet.adoc[CSubNet] LookupSubNet(std::string const& subnet_str); ---- == Return Value a CSubNet object (that may or may not be valid). == Parameters [cols="1,4"] |=== | 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". |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#