Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 82 for ifmat6 (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/syscall/ztypes_solaris_amd64.go

    )
    
    type IfMsghdr struct {
    	Msglen    uint16
    	Version   uint8
    	Type      uint8
    	Addrs     int32
    	Flags     int32
    	Index     uint16
    	Pad_cgo_0 [2]byte
    	Data      IfData
    }
    
    type IfData struct {
    	Type       uint8
    	Addrlen    uint8
    	Hdrlen     uint8
    	Pad_cgo_0  [1]byte
    	Mtu        uint32
    	Metric     uint32
    	Baudrate   uint32
    	Ipackets   uint32
    	Ierrors    uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  5. src/syscall/ztypes_netbsd_386.go

    )
    
    type IfMsghdr struct {
    	Msglen    uint16
    	Version   uint8
    	Type      uint8
    	Addrs     int32
    	Flags     int32
    	Index     uint16
    	Pad_cgo_0 [2]byte
    	Data      IfData
    	Pad_cgo_1 [4]byte
    }
    
    type IfData struct {
    	Type       uint8
    	Addrlen    uint8
    	Hdrlen     uint8
    	Pad_cgo_0  [1]byte
    	Link_state int32
    	Mtu        uint64
    	Metric     uint64
    	Baudrate   uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6K bytes
    - Viewed (0)
  6. src/syscall/ztypes_netbsd_amd64.go

    )
    
    type IfMsghdr struct {
    	Msglen    uint16
    	Version   uint8
    	Type      uint8
    	Addrs     int32
    	Flags     int32
    	Index     uint16
    	Pad_cgo_0 [2]byte
    	Data      IfData
    }
    
    type IfData struct {
    	Type       uint8
    	Addrlen    uint8
    	Hdrlen     uint8
    	Pad_cgo_0  [1]byte
    	Link_state int32
    	Mtu        uint64
    	Metric     uint64
    	Baudrate   uint64
    	Ipackets   uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6.2K 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/syscall/ztypes_openbsd_386.go

    	Version uint8
    	Type    uint8
    	Hdrlen  uint16
    	Index   uint16
    	Tableid uint16
    	Pad1    uint8
    	Pad2    uint8
    	Addrs   int32
    	Flags   int32
    	Xflags  int32
    	Data    IfData
    }
    
    type IfData struct {
    	Type         uint8
    	Addrlen      uint8
    	Hdrlen       uint8
    	Link_state   uint8
    	Mtu          uint32
    	Metric       uint32
    	Pad          uint32
    	Baudrate     uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6.7K bytes
    - Viewed (0)
  10. src/syscall/ztypes_openbsd_arm64.go

    	Version uint8
    	Type    uint8
    	Hdrlen  uint16
    	Index   uint16
    	Tableid uint16
    	Pad1    uint8
    	Pad2    uint8
    	Addrs   int32
    	Flags   int32
    	Xflags  int32
    	Data    IfData
    }
    
    type IfData struct {
    	Type         uint8
    	Addrlen      uint8
    	Hdrlen       uint8
    	Link_state   uint8
    	Mtu          uint32
    	Metric       uint32
    	Rdomain      uint32
    	Baudrate     uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 17:34:54 UTC 2019
    - 6.7K bytes
    - Viewed (0)
Back to top