Home | History | Annotate | Download | only in url

Lines Matching refs:Family

313   CanonHostInfo() : family(NEUTRAL), num_ipv4_components(0), out_host() {}
315 // Convenience function to test if family is an IP address.
316 bool IsIPAddress() const { return family == IPV4 || family == IPV6; }
319 enum Family {
331 Family family;
333 // If |family| is IPV4, then this is the number of nonempty dot-separated
334 // components in the input text, from 1 to 4. If |family| is not IPV4,
339 // CanonicalizeIPAddress() only sets this field if |family| is IPV4 or IPV6.
349 // to the current IP version in |family|, if any. For use with |address|.
351 return family == IPV4 ? 4 : (family == IPV6 ? 16 : 0);
371 // A successful return is indicated by host_info->family != BROKEN. See the