Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for AllIPv4 (0.17 sec)

  1. pkg/model/proxy.go

    type IPMode int
    
    // IPMode constants starting with index 1.
    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

    	opts = append(opts, getNodeMetadataOptions(cfg.Node, cfg.CompliancePolicy)...)
    
    	// Check if nodeIP carries IPv4 or IPv6 and set up proxy accordingly
    	if network.AllIPv4(cfg.Metadata.InstanceIPs) {
    		// IPv4 only
    		opts = append(opts,
    			option.Localhost(option.LocalhostIPv4),
    			option.Wildcard(option.WildcardIPv4),
    			option.DNSLookupFamily(option.DNSLookupFamilyIPv4))
    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

    		CommonLbConfig:       &cluster.Cluster_CommonLbConfig{},
    	}
    	switch discoveryType {
    	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 {
    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