Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 72 for EOPNOTSUPP (0.2 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/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)
  6. 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)
  7. 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)
  8. 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)
  9. src/syscall/syscall_linux_test.go

    		t.Errorf("Fchmodat: failed to change mode: expected %v, got %v", 0444, fi.Mode())
    	}
    
    	err = syscall.Fchmodat(_AT_FDCWD, "symlink1", 0444, _AT_SYMLINK_NOFOLLOW)
    	if err != syscall.EOPNOTSUPP {
    		t.Fatalf("Fchmodat: unexpected error: %v, expected EOPNOTSUPP", err)
    	}
    }
    
    func TestMain(m *testing.M) {
    	if os.Getenv("GO_DEATHSIG_PARENT") == "1" {
    		deathSignalParent()
    	} else if os.Getenv("GO_DEATHSIG_CHILD") == "1" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zerrors_aix_ppc64.go

    	ENOTRUST        = syscall.Errno(0x72)
    	ENOTSOCK        = syscall.Errno(0x39)
    	ENOTSUP         = syscall.Errno(0x7c)
    	ENOTTY          = syscall.Errno(0x19)
    	ENXIO           = syscall.Errno(0x6)
    	EOPNOTSUPP      = syscall.Errno(0x40)
    	EOVERFLOW       = syscall.Errno(0x7f)
    	EOWNERDEAD      = syscall.Errno(0x5f)
    	EPERM           = syscall.Errno(0x1)
    	EPFNOSUPPORT    = syscall.Errno(0x41)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 52.7K bytes
    - Viewed (0)
Back to top