Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 186 for IPV4 (0.09 sec)

  1. src/net/example_test.go

    	ipv4 := net.IPv4(10, 255, 0, 0)
    
    	fmt.Println(ipv6.String())
    	fmt.Println(ipv4.String())
    
    	// Output:
    	// fc00::
    	// 10.255.0.0
    }
    
    func ExampleIP_To16() {
    	ipv6 := net.IP{0xfc, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    	ipv4 := net.IPv4(10, 255, 0, 0)
    
    	fmt.Println(ipv6.To16())
    	fmt.Println(ipv4.To16())
    
    	// Output:
    	// fc00::
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 13 16:36:59 UTC 2021
    - 8.5K bytes
    - Viewed (0)
  2. pkg/kubelet/sysctl/safe_sysctls.go

    	{
    		name: "kernel.shm_rmid_forced",
    	}, {
    		name: "net.ipv4.ip_local_port_range",
    	}, {
    		name: "net.ipv4.tcp_syncookies",
    	}, {
    		name: "net.ipv4.ping_group_range",
    	}, {
    		name: "net.ipv4.ip_unprivileged_port_start",
    	}, {
    		name:   "net.ipv4.ip_local_reserved_ports",
    		kernel: utilkernel.IPLocalReservedPortsNamespacedKernelVersion,
    	}, {
    		name:   "net.ipv4.tcp_keepalive_time",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 19:24:34 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/cel/library/cidr_test.go

    		},
    		{
    			name:         "contains IP ipv4 (IP)",
    			expr:         `cidr("192.168.0.0/24").containsIP(ip("192.168.0.1"))`,
    			expectResult: trueVal,
    		},
    		{
    			name:         "does not contain IP ipv4 (IP)",
    			expr:         `cidr("192.168.0.0/24").containsIP(ip("192.168.1.1"))`,
    			expectResult: falseVal,
    		},
    		{
    			name:         "contains IP ipv4 (string)",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 12:03:09 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  4. pkg/util/kernel/constants.go

    // IPLocalReservedPortsNamespacedKernelVersion is the kernel version in which net.ipv4.ip_local_reserved_ports was namespaced(netns).
    // (ref: https://github.com/torvalds/linux/commit/122ff243f5f104194750ecbc76d5946dd1eec934)
    const IPLocalReservedPortsNamespacedKernelVersion = "3.16"
    
    // IPVSConnReuseModeMinSupportedKernelVersion is the minium kernel version supporting net.ipv4.vs.conn_reuse_mode.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. src/net/interface_test.go

    }
    
    func checkUnicastStats(ifStats *ifStats, uniStats *routeStats) error {
    	// Test the existence of connected unicast routes for IPv4.
    	if supportsIPv4() && ifStats.loop+ifStats.other > 0 && uniStats.ipv4 == 0 {
    		return fmt.Errorf("num IPv4 unicast routes = 0; want >0; summary: %+v, %+v", ifStats, uniStats)
    	}
    	// Test the existence of connected unicast routes for IPv6.
    	// We can assume the existence of ::1/128 when at least one
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  6. cmd/kube-apiserver/app/options/completion_test.go

    		// Dual stack IPv4/IPv6
    		{"192.0.2.1/24,2001:db2:1:3:4::1/112", "192.0.2.1", "192.0.2.0/24", "2001:db2:1:3:4::/112", false},
    		// Dual stack IPv6/IPv4
    		{"2001:db2:1:3:4::1/112,192.0.2.1/24", "2001:db2:1:3:4::1", "2001:db2:1:3:4::/112", "192.0.2.0/24", false},
    
    		{"192.0.2.1/30,192.168.128.0/17", "<nil>", "<nil>", "<nil>", true},
    		// Invalid ip range[0] IPv4 mask
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 26 13:20:40 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  7. src/net/netip/slow_test.go

    // varyingly accepted by some programs due to an under-specification
    // of the shapes of IPv4 addresses:
    //
    //   - IPv4 as a single 32-bit uint: 4660 (same as "1.2.3.4")
    //   - IPv4 with octal numbers: 0300.0250.0.01 (same as "192.168.0.1")
    //   - IPv4 with hex numbers: 0xc0.0xa8.0x0.0x1 (same as "192.168.0.1")
    //   - IPv4 in "class-B style": 1.2.52 (same as "1.2.3.4")
    //   - IPv4 in "class-A style": 1.564 (same as "1.2.3.4")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 19:54:31 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. pkg/test/framework/label/labels.go

    	CustomSetup Instance = "customsetup"
    
    	// IPv4 indicates a test is only compatible with IPv4 clusters.
    	// Any usage of this should have an associated GitHub issue to make it compatible with IPv6
    	IPv4 Instance = "ipv4"
    )
    
    var all = NewSet(
    	Postsubmit,
    	CustomSetup,
    	IPv4)
    
    // Find the label with the given name
    func Find(name string) (Instance, bool) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 18 17:08:05 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  9. src/net/main_test.go

    	// If external IPv4 connectivity exists, we can try dialing
    	// non-node/interface local scope IPv4 addresses.
    	// On Windows, Lookup APIs may not return IPv4-related
    	// resource records when a node has no external IPv4
    	// connectivity.
    	testIPv4 = flag.Bool("ipv4", true, "assume external IPv4 connectivity exists")
    
    	// If external IPv6 connectivity exists, we can try dialing
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. src/cmd/internal/test2json/testdata/framefuzz.test

    === NAME  TestAddrStringAllocs
    === RUN   TestAddrStringAllocs/ipv4
    === NAME  TestAddrStringAllocs
    === RUN   TestAddrStringAllocs/ipv6
    === NAME  TestAddrStringAllocs
    === RUN   TestAddrStringAllocs/ipv6+zone
    === NAME  TestAddrStringAllocs
    === RUN   TestAddrStringAllocs/ipv4-in-ipv6
    === NAME  TestAddrStringAllocs
    === RUN   TestAddrStringAllocs/ipv4-in-ipv6+zone
    === NAME  TestAddrStringAllocs
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 19:50:36 UTC 2022
    - 2.8K bytes
    - Viewed (0)
Back to top