Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. samples/tcp-echo/tcp-echo-ipv4.yaml

    apiVersion: v1
    kind: Service
    metadata:
      name: tcp-echo
      labels:
        app: tcp-echo
        service: tcp-echo
    spec:
      ipFamilyPolicy: SingleStack
      ipFamilies:
      - IPv4
      ports:
      - name: tcp
        port: 9000
      - name: tcp-other
        port: 9001
      # Port 9002 is omitted intentionally for testing the pass through filter chain.
      selector:
        app: tcp-echo
    ---
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 17:35:19 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. tools/istio-iptables/pkg/capture/testdata/host-ipv4-loopback-cidr.golden

    Ben Leggett <******@****.***> 1710179183 -0400
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 17:46:23 UTC 2024
    - 1K bytes
    - Viewed (0)
  3. pkg/kubelet/sysctl/safe_sysctls_test.go

    			},
    			want: []string{
    				"kernel.shm_rmid_forced",
    				"net.ipv4.ip_local_port_range",
    				"net.ipv4.tcp_syncookies",
    				"net.ipv4.ping_group_range",
    				"net.ipv4.ip_unprivileged_port_start",
    				"net.ipv4.ip_local_reserved_ports",
    				"net.ipv4.tcp_keepalive_time",
    				"net.ipv4.tcp_fin_timeout",
    				"net.ipv4.tcp_keepalive_intvl",
    				"net.ipv4.tcp_keepalive_probes",
    			},
    		},
    	}
    	for _, tt := range tests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 15 15:05:40 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  4. pkg/util/net/ip_test.go

    		{
    			name: "empty ip address",
    			ips:  []string{},
    			ipv4: []string{},
    			ipv6: []string{},
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			ipv4, ipv6 := IPsSplitV4V6(tt.ips)
    			if ipv4 == nil {
    				ipv4 = []string{}
    			}
    			if ipv6 == nil {
    				ipv6 = []string{}
    			}
    			if !reflect.DeepEqual(ipv4, tt.ipv4) || !reflect.DeepEqual(ipv6, tt.ipv6) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 14:41:40 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/cel/library/ip_test.go

    			expr:         `isIP("192.168.0.1")`,
    			expectResult: trueVal,
    		},
    		{
    			name:         "isIP invalid ipv4",
    			expr:         `isIP("192.168.0.1.0")`,
    			expectResult: falseVal,
    		},
    		{
    			name:         "ip.isCanonical valid ipv4",
    			expr:         `ip.isCanonical("127.0.0.1")`,
    			expectResult: trueVal,
    		},
    		{
    			name:             "ip.isCanonical invalid ipv4",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 12:03:07 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  6. src/net/ip_test.go

    	in   IP
    	mask IPMask
    	out  IP
    }{
    	{IPv4(192, 168, 1, 127), IPv4Mask(255, 255, 255, 128), IPv4(192, 168, 1, 0)},
    	{IPv4(192, 168, 1, 127), IPMask(ParseIP("255.255.255.192")), IPv4(192, 168, 1, 64)},
    	{IPv4(192, 168, 1, 127), IPMask(ParseIP("ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffe0")), IPv4(192, 168, 1, 96)},
    	{IPv4(192, 168, 1, 127), IPv4Mask(255, 0, 255, 0), IPv4(192, 0, 1, 0)},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 01:17:29 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  7. pkg/util/net/ip.go

    			continue
    		}
    		if ip.Is4() {
    			ipv4 = append(ipv4, ip.String())
    		} else if ip.Is6() {
    			ipv6 = append(ipv6, ip.String())
    		} else {
    			log.Debugf("ignoring un-parsable IP address: %v", ip)
    		}
    	}
    	return
    }
    
    // ParseIPsSplitToV4V6 returns two slice of ipv4 and ipv6 netip.Addr.
    func ParseIPsSplitToV4V6(ips []string) (ipv4 []netip.Addr, ipv6 []netip.Addr) {
    	for _, i := range ips {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 14:41:40 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. pkg/api/service/warnings_test.go

    			},
    		},
    		{
    			name:    "Dual Stack IPv4-IPv6 and IPv4 with leading zeros",
    			service: service([]string{"192.012.2.2", "2001:db8::2"}),
    			want: []string{
    				`spec.clusterIPs[0]: IP address was accepted, but will be invalid in a future Kubernetes release: ParseAddr("192.012.2.2"): IPv4 field has octet with leading zero`,
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 26 22:57:57 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  9. 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)
  10. src/net/ipsock_posix.go

    	"syscall"
    	_ "unsafe" // for linkname
    )
    
    // probe probes IPv4, IPv6 and IPv4-mapped IPv6 communication
    // capabilities which are controlled by the IPV6_V6ONLY socket option
    // and kernel configuration.
    //
    // Should we try to use the IPv4 socket interface if we're only
    // dealing with IPv4 sockets? As long as the host system understands
    // IPv4-mapped IPv6, it's okay to pass IPv4-mapped IPv6 addresses to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top