Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for AllIPv6 (0.1 sec)

  1. pkg/model/proxy.go

    const (
    	IPv4 IPMode = iota + 1
    	IPv6
    	Dual
    )
    
    func DiscoverIPMode(addrs []string) IPMode {
    	if networkutil.AllIPv4(addrs) {
    		return IPv4
    	} else if networkutil.AllIPv6(addrs) {
    		return IPv6
    	}
    	return Dual
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 17:18:17 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  2. pkg/bootstrap/config.go

    		// IPv4 only
    		opts = append(opts,
    			option.Localhost(option.LocalhostIPv4),
    			option.Wildcard(option.WildcardIPv4),
    			option.DNSLookupFamily(option.DNSLookupFamilyIPv4))
    	} else if network.AllIPv6(cfg.Metadata.InstanceIPs) {
    		// IPv6 only
    		opts = append(opts,
    			option.Localhost(option.LocalhostIPv6),
    			option.Wildcard(option.WildcardIPv6),
    			option.DNSLookupFamily(option.DNSLookupFamilyIPv6))
    	} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:02:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/cluster_builder.go

    	case cluster.Cluster_STRICT_DNS, cluster.Cluster_LOGICAL_DNS:
    		if networkutil.AllIPv4(cb.proxyIPAddresses) {
    			// IPv4 only
    			c.DnsLookupFamily = cluster.Cluster_V4_ONLY
    		} else if networkutil.AllIPv6(cb.proxyIPAddresses) {
    			// IPv6 only
    			c.DnsLookupFamily = cluster.Cluster_V6_ONLY
    		} else {
    			// Dual Stack
    			if features.EnableDualStack {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 31.6K bytes
    - Viewed (0)
Back to top