Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for EOPNOTSUPP (0.12 sec)

  1. src/net/mptcpsock_linux.go

    //
    // Kernel >= 5.16 returns EOPNOTSUPP/ENOPROTOOPT in case of fallback.
    // Older kernels will always return them even if MPTCP is used: not usable.
    func hasFallenBack(fd *netFD) bool {
    	_, err := fd.pfd.GetsockoptInt(_SOL_MPTCP, _MPTCP_INFO)
    
    	// 2 expected errors in case of fallback depending on the address family
    	//   - AF_INET:  EOPNOTSUPP
    	//   - AF_INET6: ENOPROTOOPT
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 18:48:34 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. src/net/error_unix_test.go

    // license that can be found in the LICENSE file.
    
    //go:build !plan9 && !windows
    
    package net
    
    import (
    	"errors"
    	"os"
    	"syscall"
    )
    
    var (
    	errOpNotSupported = syscall.EOPNOTSUPP
    
    	abortedConnRequestErrors = []error{syscall.ECONNABORTED} // see accept in fd_unix.go
    )
    
    func isPlatformError(err error) bool {
    	_, ok := err.(syscall.Errno)
    	return ok
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 16:59:22 UTC 2023
    - 723 bytes
    - Viewed (0)
  3. src/net/error_windows_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package net
    
    import (
    	"errors"
    	"syscall"
    )
    
    var (
    	errOpNotSupported = syscall.EOPNOTSUPP
    
    	abortedConnRequestErrors = []error{syscall.ERROR_NETNAME_DELETED, syscall.WSAECONNRESET} // see accept in fd_windows.go
    )
    
    func isPlatformError(err error) bool {
    	_, ok := err.(syscall.Errno)
    	return ok
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 16:59:22 UTC 2023
    - 757 bytes
    - Viewed (0)
  4. src/internal/poll/copy_file_range_linux.go

    			// any data, so we can tell the caller that we
    			// couldn't handle the transfer and let them fall
    			// back to more generic code.
    			return 0, false, nil
    		case syscall.EXDEV, syscall.EINVAL, syscall.EIO, syscall.EOPNOTSUPP, syscall.EPERM:
    			// Prior to Linux 5.3, it was not possible to
    			// copy_file_range across file systems. Similarly to
    			// the ENOSYS case above, if we see EXDEV, we have
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 17:40:10 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. src/syscall/tables_js.go

    	"EDESTADDRREQ":    EDESTADDRREQ,
    	"EMSGSIZE":        EMSGSIZE,
    	"EPROTOTYPE":      EPROTOTYPE,
    	"ENOPROTOOPT":     ENOPROTOOPT,
    	"EPROTONOSUPPORT": EPROTONOSUPPORT,
    	"ESOCKTNOSUPPORT": ESOCKTNOSUPPORT,
    	"EOPNOTSUPP":      EOPNOTSUPP,
    	"EPFNOSUPPORT":    EPFNOSUPPORT,
    	"EAFNOSUPPORT":    EAFNOSUPPORT,
    	"EADDRINUSE":      EADDRINUSE,
    	"EADDRNOTAVAIL":   EADDRNOTAVAIL,
    	"ENETDOWN":        ENETDOWN,
    	"ENETUNREACH":     ENETUNREACH,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 19.2K bytes
    - Viewed (0)
  6. src/net/file_wasip1.go

    }
    
    func fileListenNet(filetype syscall.Filetype) (string, error) {
    	switch filetype {
    	case syscall.FILETYPE_SOCKET_STREAM:
    		return "tcp", nil
    	case syscall.FILETYPE_SOCKET_DGRAM:
    		return "", syscall.EOPNOTSUPP
    	default:
    		return "", syscall.ENOTSOCK
    	}
    }
    
    func fileConnNet(filetype syscall.Filetype) (string, error) {
    	switch filetype {
    	case syscall.FILETYPE_SOCKET_STREAM:
    		return "tcp", nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 12 23:11:39 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  7. src/syscall/zerrors_windows.go

    	ENONET
    	ENOPKG
    	ENOPROTOOPT
    	ENOSPC
    	ENOSR
    	ENOSTR
    	ENOSYS
    	ENOTBLK
    	ENOTCONN
    	ENOTEMPTY
    	ENOTNAM
    	ENOTRECOVERABLE
    	ENOTSOCK
    	ENOTSUP
    	ENOTTY
    	ENOTUNIQ
    	ENXIO
    	EOPNOTSUPP
    	EOVERFLOW
    	EOWNERDEAD
    	EPERM
    	EPFNOSUPPORT
    	EPIPE
    	EPROTO
    	EPROTONOSUPPORT
    	EPROTOTYPE
    	ERANGE
    	EREMCHG
    	EREMOTE
    	EREMOTEIO
    	ERESTART
    	EROFS
    	ESHUTDOWN
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 14 13:21:46 UTC 2018
    - 10K bytes
    - Viewed (0)
  8. src/net/file_wasip1_test.go

    	tests := []struct {
    		filetype syscall.Filetype
    		network  string
    		error    error
    	}{
    		{syscall.FILETYPE_SOCKET_STREAM, "tcp", nil},
    		{syscall.FILETYPE_SOCKET_DGRAM, "", syscall.EOPNOTSUPP},
    		{syscall.FILETYPE_BLOCK_DEVICE, "", syscall.ENOTSOCK},
    		{syscall.FILETYPE_CHARACTER_DEVICE, "", syscall.ENOTSOCK},
    		{syscall.FILETYPE_DIRECTORY, "", syscall.ENOTSOCK},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 13 21:06:56 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  9. src/syscall/tables_wasip1.go

    	ESRCH           Errno = 71
    	ESTALE          Errno = 72
    	ETIMEDOUT       Errno = 73
    	ETXTBSY         Errno = 74
    	EXDEV           Errno = 75
    	ENOTCAPABLE     Errno = 76
    	// needed by src/net/error_unix_test.go
    	EOPNOTSUPP = ENOTSUP
    )
    
    // TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
    var errorstr = [...]string{
    	E2BIG:           "Argument list too long",
    	EACCES:          "Permission denied",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 20:58:35 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  10. src/syscall/syscall_js.go

    	case oserror.ErrExist:
    		return e == EEXIST || e == ENOTEMPTY
    	case oserror.ErrNotExist:
    		return e == ENOENT
    	case errorspkg.ErrUnsupported:
    		return e == ENOSYS || e == ENOTSUP || e == EOPNOTSUPP
    	}
    	return false
    }
    
    func (e Errno) Temporary() bool {
    	return e == EINTR || e == EMFILE || e.Timeout()
    }
    
    func (e Errno) Timeout() bool {
    	return e == EAGAIN || e == EWOULDBLOCK || e == ETIMEDOUT
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top