Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 37 for ifmat6 (0.22 sec)

  1. 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)
  2. src/syscall/ztypes_openbsd_ppc64.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: Tue Aug 22 03:24:15 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  3. src/syscall/ztypes_openbsd_riscv64.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: Wed Oct 04 02:55:38 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go

    	SizeofRtMetrics        = 0x70
    )
    
    type IfMsghdr struct {
    	Msglen  uint16
    	Version uint8
    	Type    uint8
    	Index   uint16
    	Flags   int32
    	Addrs   int32
    	Data    IfData
    }
    
    type IfData struct {
    	Type       uint8
    	Physical   uint8
    	Addrlen    uint8
    	Hdrlen     uint8
    	Recvquota  uint8
    	Xmitquota  uint8
    	Mtu        uint64
    	Metric     uint64
    	Link_state uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.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: Thu Oct 19 23:33:33 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/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 19 23:33:33 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/ztypes_openbsd_riscv64.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: Thu Oct 19 23:33:33 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  8. src/net/interface.go

    	if ifi == nil {
    		return nil, &OpError{Op: "route", Net: "ip+net", Source: nil, Addr: nil, Err: errInvalidInterface}
    	}
    	ifat, err := interfaceAddrTable(ifi)
    	if err != nil {
    		err = &OpError{Op: "route", Net: "ip+net", Source: nil, Addr: nil, Err: err}
    	}
    	return ifat, err
    }
    
    // MulticastAddrs returns a list of multicast, joined group addresses
    // for a specific interface.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go

    	SizeofRtMsghdr  = 0x4c
    	SizeofRtMetrics = 0x28
    )
    
    type IfMsghdr struct {
    	Msglen  uint16
    	Version uint8
    	Type    uint8
    	Addrs   int32
    	Flags   int32
    	Index   uint16
    	Data    IfData
    }
    
    type IfData struct {
    	Type       uint8
    	Addrlen    uint8
    	Hdrlen     uint8
    	Mtu        uint32
    	Metric     uint32
    	Baudrate   uint32
    	Ipackets   uint32
    	Ierrors    uint32
    	Opackets   uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/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
    	Rdomain      uint32
    	Baudrate     uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.2K bytes
    - Viewed (0)
Back to top