Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for IPV4 (0.05 sec)

  1. pkg/proxy/util/utils_test.go

    		},
    		{
    			desc:            "want IPv4 and receive IPv4 and IPv6",
    			ipString:        []string{"192.168.200.2", "192.1.34.23", "fd00:20::1", "2001:db9::3"},
    			wantIPv6:        false,
    			expectCorrect:   []string{"192.168.200.2", "192.1.34.23"},
    			expectIncorrect: []string{"fd00:20::1", "2001:db9::3"},
    		},
    		{
    			desc:            "want IPv4 and receive IPv4 only",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 11:57:43 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/InetAddresses.java

        }
    
        return true;
      }
    
      /**
       * Returns the IPv4 address embedded in an IPv4 compatible address.
       *
       * @param ip {@link Inet6Address} to be examined for an embedded IPv4 address
       * @return {@link Inet4Address} of the embedded IPv4 address
       * @throws IllegalArgumentException if the argument is not a valid IPv4 compatible address
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/net/InetAddresses.java

        }
    
        return true;
      }
    
      /**
       * Returns the IPv4 address embedded in an IPv4 compatible address.
       *
       * @param ip {@link Inet6Address} to be examined for an embedded IPv4 address
       * @return {@link Inet4Address} of the embedded IPv4 address
       * @throws IllegalArgumentException if the argument is not a valid IPv4 compatible address
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  4. src/net/ip.go

    			n -= 8
    			continue
    		}
    		m[i] = ^byte(0xff >> n)
    		n = 0
    	}
    	return m
    }
    
    // Well-known IPv4 addresses
    var (
    	IPv4bcast     = IPv4(255, 255, 255, 255) // limited broadcast
    	IPv4allsys    = IPv4(224, 0, 0, 1)       // all systems
    	IPv4allrouter = IPv4(224, 0, 0, 2)       // all routers
    	IPv4zero      = IPv4(0, 0, 0, 0)         // all zeros
    )
    
    // Well-known IPv6 addresses
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/RouteFailureTest.kt

        val request = Request(server1.url("/"))
    
        server1.enqueue(refusedStream)
        server2.enqueue(bodyResponse)
    
        dns[server1.hostName] = listOf(ipv6, ipv4)
        socketFactory[ipv6] = server1.inetSocketAddress
        socketFactory[ipv4] = server2.inetSocketAddress
    
        client =
          client.newBuilder()
            .fastFallback(false)
            .apply {
              retryOnConnectionFailure = false
            }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue May 14 17:48:07 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  6. src/net/netip/netip.go

    // Is6 reports whether ip is an IPv6 address, including IPv4-mapped
    // IPv6 addresses.
    func (ip Addr) Is6() bool {
    	return ip.z != z0 && ip.z != z4
    }
    
    // Unmap returns ip with any IPv4-mapped IPv6 address prefix removed.
    //
    // That is, if ip is an IPv6 address wrapping an IPv4 address, it
    // returns the wrapped IPv4 address. Otherwise it returns ip unmodified.
    func (ip Addr) Unmap() Addr {
    	if ip.Is4In6() {
    		ip.z = z4
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/constants/constants_test.go

    			expected:      "192.168.10.0/24",
    			expectedError: false,
    			name:          "valid: valid <IPv4,IPv6> ranges from dual-stack",
    		},
    		{
    			svcSubnetList: "fd03::/112,192.168.10.0/24",
    			expected:      "fd03::/112",
    			expectedError: false,
    			name:          "valid: valid <IPv6,IPv4> ranges from dual-stack",
    		},
    		{
    			svcSubnetList: "192.168.10.0/24,fd03:x::/112",
    			expected:      "",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 03:26:36 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/net/InetAddressesTest.java

        InetAddress ipv4 = InetAddresses.forString("1.2.3.4");
        assertEquals(ipv4, InetAddresses.getEmbeddedIPv4ClientAddress(testIp));
    
        // Test 6to4 address.
        testIp = (Inet6Address) InetAddresses.forString("2002:0102:0304::1");
        assertTrue(InetAddresses.hasEmbeddedIPv4ClientAddress(testIp));
        ipv4 = InetAddresses.forString("1.2.3.4");
        assertEquals(ipv4, InetAddresses.getEmbeddedIPv4ClientAddress(testIp));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  9. src/net/lookup_test.go

    		{"udp6", "golang.org"},
    		{"udp", "golang.org"},
    		{"udp", "golang.org"},
    	}
    	results := map[[2]string][]IPAddr{
    		{"udp", "golang.org"}: {
    			{IP: IPv4(127, 0, 0, 1)},
    			{IP: IPv6loopback},
    		},
    		{"udp4", "golang.org"}: {
    			{IP: IPv4(127, 0, 0, 1)},
    		},
    		{"udp6", "golang.org"}: {
    			{IP: IPv6loopback},
    		},
    	}
    	calls := int32(0)
    	waitCh := make(chan struct{})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/preflight/checks_test.go

    			serviceCidr: "10.96.0.0/16,fda9:d324:354d:1::/112",
    			expStr:      []string{"FileContent--proc-sys-net-ipv4-ip_forward", "FileContent--proc-sys-net-ipv6-conf-default-forwarding"},
    		},
    		{
    			testName:    "single stack ipv4",
    			PodSubnet:   "10.244.0.0/16",
    			serviceCidr: "10.96.0.0/16",
    			expStr:      []string{"FileContent--proc-sys-net-ipv4-ip_forward"},
    		},
    		{
    			testName:    "single stack ipv6",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 33.5K bytes
    - Viewed (0)
Back to top