- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for IPv6zero (0.08 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/net/interface.go
if err != nil { return nil, err } gw, err := parseIP(fields[4], familyIPv6) if err != nil { return nil, err } if !dest.Equal(net.IPv6zero) { continue } if gw.Equal(net.IPv6zero) { continue // loopback } routes = append(routes, Route{ Interface: fields[9], Destination: dest, Gateway: gw, Family: familyIPv6, }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 27 07:07:03 UTC 2022 - 14.7K bytes - Viewed (0) -
cmd/kube-proxy/app/server_linux_test.go
Config: tt.config, Client: client, Hostname: "nodename", NodeIPs: map[v1.IPFamily]net.IP{ v1.IPv4Protocol: netutils.ParseIPSloppy("127.0.0.1"), v1.IPv6Protocol: net.IPv6zero, }, } err := s.platformSetup(ctx) if err != nil { t.Errorf("ProxyServer.createProxier() error = %v", err) return } if !reflect.DeepEqual(s.podCIDRs, tt.wantPodCIDRs) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Apr 28 15:51:23 UTC 2024 - 21.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/net/interface_test.go
} else if tc.count == 1 { if !tc.expected.Gateway.Equal(routes[0].Gateway) { t.Errorf("case[%s]: expected %v, got %v .err : %v", tc.tcase, tc.expected, routes, err) } if !routes[0].Destination.Equal(net.IPv6zero) { t.Errorf("case[%s}: destination is not for default route (not zero)", tc.tcase) } } } } } func TestParseIP(t *testing.T) { testCases := []struct { tcase string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 10 07:29:34 UTC 2023 - 33.2K bytes - Viewed (0) -
src/net/ip.go
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 ( IPv6zero = IP{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} IPv6unspecified = IP{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} IPv6loopback = IP{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 18 03:13:26 UTC 2024 - 13.9K bytes - Viewed (0)