9523753b87
I need to run test on Windows and I just discovered that: 1. the `errno_unix.go` filename does not mean anything because `unix` is not a valid platform, so we need a filename for each platform that we care about; 2. on Windows we need to use WSA prefixed names; 3. `i/e/session_psiphon.go` was not building because of the migration from `netxlite/iox` to `netxlite`. This diff attempts to fix all three issues. The reference issue is https://github.com/ooni/probe/issues/1733, because I was working on such an issue.
37 lines
1.2 KiB
Go
37 lines
1.2 KiB
Go
// Code generated by go generate; DO NOT EDIT.
|
|
// Generated: 2021-09-28 18:13:54.317744 +0200 CEST m=+0.409422292
|
|
|
|
package netxlite
|
|
|
|
import "golang.org/x/sys/windows"
|
|
|
|
const (
|
|
ECONNREFUSED = windows.WSAECONNREFUSED
|
|
ECONNRESET = windows.WSAECONNRESET
|
|
EHOSTUNREACH = windows.WSAEHOSTUNREACH
|
|
ETIMEDOUT = windows.WSAETIMEDOUT
|
|
EAFNOSUPPORT = windows.WSAEAFNOSUPPORT
|
|
EADDRINUSE = windows.WSAEADDRINUSE
|
|
EADDRNOTAVAIL = windows.WSAEADDRNOTAVAIL
|
|
EISCONN = windows.WSAEISCONN
|
|
EFAULT = windows.WSAEFAULT
|
|
EBADF = windows.WSAEBADF
|
|
ECONNABORTED = windows.WSAECONNABORTED
|
|
EALREADY = windows.WSAEALREADY
|
|
EDESTADDRREQ = windows.WSAEDESTADDRREQ
|
|
EINTR = windows.WSAEINTR
|
|
EINVAL = windows.WSAEINVAL
|
|
EMSGSIZE = windows.WSAEMSGSIZE
|
|
ENETDOWN = windows.WSAENETDOWN
|
|
ENETRESET = windows.WSAENETRESET
|
|
ENETUNREACH = windows.WSAENETUNREACH
|
|
ENOBUFS = windows.WSAENOBUFS
|
|
ENOPROTOOPT = windows.WSAENOPROTOOPT
|
|
ENOTSOCK = windows.WSAENOTSOCK
|
|
ENOTCONN = windows.WSAENOTCONN
|
|
EWOULDBLOCK = windows.WSAEWOULDBLOCK
|
|
EACCES = windows.WSAEACCES
|
|
EPROTONOSUPPORT = windows.WSAEPROTONOSUPPORT
|
|
EPROTOTYPE = windows.WSAEPROTOTYPE
|
|
)
|