url_canon.h | 334 CanonHostInfo() : family(NEUTRAL), num_ipv4_components(0), out_host() {} 336 // Convenience function to test if family is an IP address. 337 bool IsIPAddress() const { return family == IPV4 || family == IPV6; } 340 enum Family { 352 Family family; member in struct:url_canon::CanonHostInfo 354 // If |family| is IPV4, then this is the number of nonempty dot-separated 355 // components in the input text, from 1 to 4. If |family| is not IPV4, 360 // CanonicalizeIPAddress() only sets this field if |family| is IPV4 or IPV6 [all...] |