- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 91 for onetmp (0.17 sec)
-
src/net/netip/netip.go
// Package netip defines an IP address type that's a small value type. // Building on that [Addr] type, the package also defines [AddrPort] (an // IP address and a port) and [Prefix] (an IP address and a bit length // prefix). // // Compared to the [net.IP] type, [Addr] type takes less memory, is immutable, // and is comparable (supports == and being a map key). package netip import ( "cmp" "errors"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 17:10:01 UTC 2024 - 43.2K bytes - Viewed (0) -
pkg/dns/client/dns_test.go
}, { name: "success: k8s host - name.namespace", host: "productpage.ns1.", expected: a("productpage.ns1.", []netip.Addr{netip.MustParseAddr("9.9.9.9")}), }, { name: "success: k8s host - shortname", host: "productpage.", expected: a("productpage.", []netip.Addr{netip.MustParseAddr("9.9.9.9")}), },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 29 16:17:34 UTC 2024 - 20.4K bytes - Viewed (0) -
tools/istio-iptables/pkg/config/config_test.go
return tesrLocalIPAddrs([]netip.Addr{ netip.MustParseAddr("127.0.0.1"), netip.MustParseAddr("1.2.3.5"), }) }, isDS: false, expected: false, }, { name: "ipv6 only local ip addresses", lipas: func() ([]net.Addr, error) { return tesrLocalIPAddrs([]netip.Addr{ netip.MustParseAddr("::1"), netip.MustParseAddr("2222:3333::1"), }) },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 22:24:38 UTC 2024 - 2.6K bytes - Viewed (0) -
callbacks/query.go
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Jun 12 09:51:44 UTC 2024 - 10.1K bytes - Viewed (0) -
cni/pkg/nodeagent/net_test.go
fakeIPSetDeps.On("addIP", "foo-v4", netip.MustParseAddr("99.9.9.9"), ipProto, podUID, false, ).Return(nil) fakeIPSetDeps.On("addIP", "foo-v4", netip.MustParseAddr("2.2.2.2"), ipProto, podUID, false, ).Return(nil) podIPs := []netip.Addr{netip.MustParseAddr("99.9.9.9"), netip.MustParseAddr("2.2.2.2")} _, err := addPodToHostNSIpset(pod, podIPs, &set)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 05:10:23 UTC 2024 - 17.8K bytes - Viewed (0) -
pkg/util/net/ip.go
} 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 { ip, err := netip.ParseAddr(i) if err != nil { log.Debugf("ignoring un-parsable IP address: %v", err) continue } if ip.Is4() { ipv4 = append(ipv4, ip)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 01 14:41:40 UTC 2024 - 2.4K bytes - Viewed (0) -
src/net/addrselect.go
// IPv4-compatible, etc. Prefix: netip.PrefixFrom(netip.AddrFrom16([16]byte{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0xff, 0xff}), 96), Precedence: 35, Label: 4, }, { // "::/96" Prefix: netip.PrefixFrom(netip.AddrFrom16([16]byte{}), 96), Precedence: 1, Label: 3, }, { // "2001::/32" // Teredo Prefix: netip.PrefixFrom(netip.AddrFrom16([16]byte{0x20, 0x01}), 32),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 09 00:24:06 UTC 2024 - 9.7K bytes - Viewed (0) -
pkg/util/net/ip_test.go
ipv4: func() []netip.Addr { ip, _ := netip.ParseAddr("1.0.0.0") ip2, _ := netip.ParseAddr("255.255.255.255") return []netip.Addr{ip, ip2} }, ipv6: func() []netip.Addr { return []netip.Addr{} }, }, { name: "one ipv6", ips: []string{"::1"}, ipv4: func() []netip.Addr { return []netip.Addr{} }, ipv6: func() []netip.Addr { ip, _ := netip.ParseAddr("::1")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 01 14:41:40 UTC 2024 - 8.7K bytes - Viewed (0) -
cni/pkg/ipset/ipset.go
flush(name string) error clearEntriesWithComment(name string, comment string) error clearEntriesWithIP(name string, ip netip.Addr) error listEntriesByIP(name string) ([]netip.Addr, error) } // TODO this should actually create v6 and v6 subsets of type `hash:ip`, add them both to a // superset of type `list:set` - we can then query the superset directly in iptables (with the same rule),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 22:24:38 UTC 2024 - 3.9K bytes - Viewed (0) -
cni/pkg/ipset/nldeps_unspecified.go
return errors.New("not implemented on this platform") } func (m *realDeps) clearEntriesWithIP(name string, ip netip.Addr) error { return errors.New("not implemented on this platform") } func (m *realDeps) listEntriesByIP(name string) ([]netip.Addr, error) { return []netip.Addr{}, errors.New("not implemented on this platform")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 22:24:38 UTC 2024 - 1.8K bytes - Viewed (0)