Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 52 for ifmat6 (0.24 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go

    	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
    	Physical   uint8
    	Addrlen    uint8
    	Hdrlen     uint8
    	Link_state uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go

    	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
    	Physical   uint8
    	Addrlen    uint8
    	Hdrlen     uint8
    	Link_state uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/ztypes_freebsd_riscv64.go

    	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
    	Physical   uint8
    	Addrlen    uint8
    	Hdrlen     uint8
    	Link_state 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)
  4. src/cmd/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go

    	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
    	Physical   uint8
    	Addrlen    uint8
    	Hdrlen     uint8
    	Link_state uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  5. src/net/interface_windows.go

    				}
    				switch sa := sa.(type) {
    				case *syscall.SockaddrInet4:
    					ifat = append(ifat, &IPAddr{IP: IPv4(sa.Addr[0], sa.Addr[1], sa.Addr[2], sa.Addr[3])})
    				case *syscall.SockaddrInet6:
    					ifa := &IPAddr{IP: make(IP, IPv6len)}
    					copy(ifa.IP, sa.Addr[:])
    					ifat = append(ifat, ifa)
    				}
    			}
    		}
    	}
    	return ifat, nil
    }
    
    // interfaceMulticastAddrTable returns addresses for a specific
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 10:25:02 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go

    	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
    	Physical   uint8
    	Addrlen    uint8
    	Hdrlen     uint8
    	Link_state 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)
  7. src/net/sockopt_posix.go

    	if b {
    		return 1
    	}
    	return 0
    }
    
    func interfaceToIPv4Addr(ifi *Interface) (IP, error) {
    	if ifi == nil {
    		return IPv4zero, nil
    	}
    	ifat, err := ifi.Addrs()
    	if err != nil {
    		return nil, err
    	}
    	for _, ifa := range ifat {
    		switch v := ifa.(type) {
    		case *IPAddr:
    			if v.IP.To4() != nil {
    				return v.IP, nil
    			}
    		case *IPNet:
    			if v.IP.To4() != nil {
    				return v.IP, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 15:06:47 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/net/interface_test.go

    	var ifat []net.Addr
    	ifat = []net.Addr{addrStruct{val: "169.254.162.166/16"}, addrStruct{val: "fe80::200/10"}}
    	if intf.Name == LoopbackInterfaceName {
    		ifat = []net.Addr{addrStruct{val: "::1/128"}, addrStruct{val: "127.0.0.1/8"},
    			// global addresses on loopback interface
    			addrStruct{val: "10.1.1.1/32"}, addrStruct{val: "fd00:1:1::1/128"}}
    	}
    	return ifat, nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 10 07:29:34 UTC 2023
    - 33.2K bytes
    - Viewed (0)
  9. src/net/interface_solaris.go

    		return nil, err
    	}
    	var ifat []Addr
    	for _, a := range as {
    		var ip IP
    		var mask IPMask
    		switch a := a.(type) {
    		case *lif.Inet4Addr:
    			ip = IPv4(a.IP[0], a.IP[1], a.IP[2], a.IP[3])
    			mask = CIDRMask(a.PrefixLen, 8*IPv4len)
    		case *lif.Inet6Addr:
    			ip = make(IP, IPv6len)
    			copy(ip, a.IP[:])
    			mask = CIDRMask(a.PrefixLen, 8*IPv6len)
    		}
    		ifat = append(ifat, &IPNet{IP: ip, Mask: mask})
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 27 05:42:03 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  10. src/net/interface_bsd.go

    			case *route.Inet6Addr:
    				ip = make(IP, IPv6len)
    				copy(ip, sa.IP[:])
    			}
    			if ip != nil && mask != nil { // NetBSD may contain route.LinkAddr
    				ifat = append(ifat, &IPNet{IP: ip, Mask: mask})
    			}
    		}
    	}
    	return ifat, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 27 05:42:03 UTC 2022
    - 2.8K bytes
    - Viewed (0)
Back to top