- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 184 for sigaddr (0.29 sec)
-
src/net/lookup_test.go
return strings.HasSuffix(strings.ToLower(s), strings.ToLower(suffix)) } func lookupLocalhost(ctx context.Context, fn func(context.Context, string, string) ([]IPAddr, error), network, host string) ([]IPAddr, error) { switch host { case "localhost": return []IPAddr{ {IP: IPv4(127, 0, 0, 1)}, {IP: IPv6loopback}, }, nil default: return fn(ctx, network, host) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 41.4K bytes - Viewed (0) -
src/runtime/defs_darwin_arm64.go
sa_mask uint32 sa_flags int32 } type siginfo struct { si_signo int32 si_errno int32 si_code int32 si_pid int32 si_uid uint32 si_status int32 si_addr *byte si_value [8]byte si_band int64 __pad [7]uint64 } type timeval struct { tv_sec int64 tv_usec int32 pad_cgo_0 [4]byte } func (tv *timeval) set_usec(x int32) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 21:17:22 UTC 2024 - 4.3K bytes - Viewed (0) -
pkg/proxy/util/nodeport_addresses.go
addresses := make(map[string]net.IP) for _, cidr := range npa.cidrs { for _, addr := range addrs { var ip net.IP // nw.InterfaceAddrs may return net.IPAddr or net.IPNet on windows, and it will return net.IPNet on linux. switch v := addr.(type) { case *net.IPAddr: ip = v.IP case *net.IPNet: ip = v.IP default: continue } if cidr.Contains(ip) { addresses[ip.String()] = ip
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 13:25:06 UTC 2024 - 3.6K bytes - Viewed (0) -
pilot/pkg/util/network/ip.go
var ip net.IP switch v := addr.(type) { case *net.IPNet: ip = v.IP case *net.IPAddr: ip = v.IP default: continue } ipAddr, okay := netip.AddrFromSlice(ip) if !okay { continue } // unwrap the IPv4-mapped IPv6 address unwrapAddr := ipAddr.Unmap()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Dec 21 21:27:21 UTC 2023 - 6.3K bytes - Viewed (0) -
src/net/lookup.go
if shared { clone := make([]IPAddr, len(addrs)) copy(clone, addrs) addrs = clone } return addrs, nil } // ipAddrsEface returns an empty interface slice of addrs. func ipAddrsEface(addrs []IPAddr) []any { s := make([]any, len(addrs)) for i, v := range addrs { s[i] = v } return s } // LookupPort looks up the port for the given network and service. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:23:45 UTC 2024 - 28.6K bytes - Viewed (0) -
pkg/proxy/nftables/helpers_test.go
var destPortDispatchRegexp = regexp.MustCompile(`^meta l4proto \. th dport vmap @(\S+)$`) var sourceAddrRegexp = regexp.MustCompile(`^ip6* saddr (!= )?(\S+)`) var sourceAddrLookupRegexp = regexp.MustCompile(`^ip6* saddr (!= )?\{([^}]*)\}`) var sourceAddrLocalRegexp = regexp.MustCompile(`^fib saddr type local`) var endpointVMAPRegexp = regexp.MustCompile(`^numgen random mod \d+ vmap \{(.*)\}$`)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 02 09:57:47 UTC 2024 - 48.5K bytes - Viewed (0) -
src/runtime/defs_freebsd_amd64.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 21:17:22 UTC 2024 - 4.9K bytes - Viewed (1) -
pkg/volume/csi/csi_client_test.go
} for _, tc := range testCases { t.Logf("test case: %s", tc.name) fakeCloser := fake.NewCloser(t) client := &csiDriverClient{ driverName: "Fake Driver Name", nodeV1ClientCreator: func(addr csiAddr, m *MetricsManager) (csipbv1.NodeClient, io.Closer, error) { nodeClient := fake.NewNodeClient(false /* stagingCapable */) nodeClient.SetNextError(tc.err) nodeClient.SetNodeGetInfoResp(&csipbv1.NodeGetInfoResponse{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 33.9K bytes - Viewed (0) -
src/net/addrselect.go
// Minimal RFC 6724 address selection. package net import ( "net/netip" "sort" ) func sortByRFC6724(addrs []IPAddr) { if len(addrs) < 2 { return } sortByRFC6724withSrcs(addrs, srcAddrs(addrs)) } func sortByRFC6724withSrcs(addrs []IPAddr, srcs []netip.Addr) { if len(addrs) != len(srcs) { panic("internal error") } addrAttr := make([]ipAttr, len(addrs))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 09 00:24:06 UTC 2024 - 9.7K bytes - Viewed (0) -
src/net/cgo_unix_cgo.go
) func _C_malloc(n uintptr) unsafe.Pointer { return C.malloc(C.size_t(n)) } func _C_free(p unsafe.Pointer) { C.free(p) } func _C_ai_addr(ai *_C_struct_addrinfo) **_C_struct_sockaddr { return &ai.ai_addr } func _C_ai_family(ai *_C_struct_addrinfo) *_C_int { return &ai.ai_family } func _C_ai_flags(ai *_C_struct_addrinfo) *_C_int { return &ai.ai_flags }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 17:49:28 UTC 2024 - 2.2K bytes - Viewed (0)