Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,079 for addr1 (0.09 sec)

  1. src/net/cgo_unix.go

    			sa := (*syscall.RawSockaddrInet4)(unsafe.Pointer(*_C_ai_addr(r)))
    			addr := IPAddr{IP: copyIP(sa.Addr[:])}
    			addrs = append(addrs, addr)
    		case _C_AF_INET6:
    			sa := (*syscall.RawSockaddrInet6)(unsafe.Pointer(*_C_ai_addr(r)))
    			addr := IPAddr{IP: copyIP(sa.Addr[:]), Zone: zoneCache.name(int(sa.Scope_id))}
    			addrs = append(addrs, addr)
    		}
    	}
    	return addrs, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. src/net/interface_plan9.go

    				mask = CIDRMask(pfxlen, 8*IPv6len)
    			}
    
    			addrs = append(addrs, &IPNet{IP: ip, Mask: mask})
    		}
    	}
    
    	return addrs, nil
    }
    
    // interfaceMulticastAddrTable returns addresses for a specific
    // interface.
    func interfaceMulticastAddrTable(ifi *Interface) ([]Addr, error) {
    	return nil, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 14:00:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. pkg/proxy/ipvs/netlink_linux.go

    	if err != nil {
    		return nil, err
    	}
    	var addr []net.Addr
    	for _, iface := range ifaces {
    		if iface.Name == dev {
    			continue
    		}
    		ifadr, err := iface.Addrs()
    		if err != nil {
    			// This may happen if the interface was deleted. Ignore
    			// but log the error.
    			klog.ErrorS(err, "Reading addresses", "interface", iface.Name)
    			continue
    		}
    		addr = append(addr, ifadr...)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 30 16:18:49 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  4. src/net/iprawsock_test.go

    		addr, err := ResolveIPAddr(tt.network, tt.litAddrOrName)
    		if !reflect.DeepEqual(addr, tt.addr) || !reflect.DeepEqual(err, tt.err) {
    			t.Errorf("ResolveIPAddr(%q, %q) = %#v, %v, want %#v, %v", tt.network, tt.litAddrOrName, addr, err, tt.addr, tt.err)
    			continue
    		}
    		if err == nil {
    			addr2, err := ResolveIPAddr(addr.Network(), addr.String())
    			if !reflect.DeepEqual(addr2, tt.addr) || err != tt.err {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 6K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/ztypes_freebsd_riscv64.go

    	SizeofRtMetrics        = 0x70
    )
    
    type ifMsghdr struct {
    	Msglen  uint16
    	Version uint8
    	Type    uint8
    	Addrs   int32
    	Flags   int32
    	Index   uint16
    	_       uint16
    	Data    ifData
    }
    
    type IfMsghdr struct {
    	Msglen  uint16
    	Version uint8
    	Type    uint8
    	Addrs   int32
    	Flags   int32
    	Index   uint16
    	Data    IfData
    }
    
    type ifData struct {
    	Type       uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  6. src/vendor/golang.org/x/net/lif/address.go

    }
    
    // Family implements the Family method of Addr interface.
    func (a *Inet6Addr) Family() int { return syscall.AF_INET6 }
    
    // Addrs returns a list of interface addresses.
    //
    // The provided af must be an address family and name must be a data
    // link name. The zero value of af or name means a wildcard.
    func Addrs(af int, name string) ([]Addr, error) {
    	eps, err := newEndpoints(af)
    	if len(eps) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  7. src/syscall/ztypes_dragonfly_amd64.go

    	Lastchange Timeval
    }
    
    type IfaMsghdr struct {
    	Msglen    uint16
    	Version   uint8
    	Type      uint8
    	Addrs     int32
    	Flags     int32
    	Index     uint16
    	Pad_cgo_0 [2]byte
    	Metric    int32
    }
    
    type IfmaMsghdr struct {
    	Msglen    uint16
    	Version   uint8
    	Type      uint8
    	Addrs     int32
    	Flags     int32
    	Index     uint16
    	Pad_cgo_0 [2]byte
    }
    
    type IfAnnounceMsghdr struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6.7K bytes
    - Viewed (0)
  8. src/syscall/ztypes_freebsd_386.go

    )
    
    type ifMsghdr struct {
    	Msglen    uint16
    	Version   uint8
    	Type      uint8
    	Addrs     int32
    	Flags     int32
    	Index     uint16
    	Pad_cgo_0 [2]byte
    	Data      ifData
    }
    
    type IfMsghdr struct {
    	Msglen    uint16
    	Version   uint8
    	Type      uint8
    	Addrs     int32
    	Flags     int32
    	Index     uint16
    	Pad_cgo_0 [2]byte
    	Data      IfData
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 8K bytes
    - Viewed (0)
  9. src/syscall/ztypes_freebsd_riscv64.go

    )
    
    type ifMsghdr struct {
    	Msglen    uint16
    	Version   uint8
    	Type      uint8
    	Addrs     int32
    	Flags     int32
    	Index     uint16
    	Pad_cgo_0 [2]byte
    	Data      ifData
    }
    
    type IfMsghdr struct {
    	Msglen    uint16
    	Version   uint8
    	Type      uint8
    	Addrs     int32
    	Flags     int32
    	Index     uint16
    	Pad_cgo_0 [2]byte
    	Data      IfData
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 22:39:46 UTC 2022
    - 8K bytes
    - Viewed (0)
  10. pilot/pkg/xds/eds_sh_test.go

    }
    
    func getLbEndpointAddrs(eps []*endpoint.LbEndpoint) []string {
    	addrs := make([]string, 0)
    	for _, lbEp := range eps {
    		addrs = append(addrs, lbEp.GetEndpoint().Address.GetSocketAddress().Address)
    	}
    	sort.Strings(addrs)
    	return addrs
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 12 18:20:36 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top