Changeset 51583 in vbox for trunk/src/VBox/NetworkServices
- Timestamp:
- Jun 10, 2014 12:41:42 AM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 94288
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/NetworkServices/NAT/winutils.h
r51582 r51583 42 42 * "Windows Sockets Error Codes" obtained with WSAGetLastError(). 43 43 * http://msdn.microsoft.com/en-us/library/windows/desktop/ms740668(v=vs.85).aspx 44 * 45 * This block of error codes from <winsock2.h> conflicts with "POSIX 46 * supplement" error codes from <errno.h>, but we don't expect to ever 47 * encounter the latter in the proxy code, so redefine them to their 48 * unixy names. 44 49 */ 50 # undef EWOULDBLOCK 51 # define EWOULDBLOCK WSAEWOULDBLOCK 52 # undef EINPROGRESS 53 # define EINPROGRESS WSAEINPROGRESS 54 # undef EALREADY 55 # define EALREADY WSAEALREADY 56 # undef ENOTSOCK 57 # define ENOTSOCK WSAENOTSOCK 58 # undef EDESTADDRREQ 59 # define EDESTADDRREQ WSAEDESTADDRREQ 45 60 # undef EMSGSIZE 46 61 # define EMSGSIZE WSAEMSGSIZE 62 # undef EPROTOTYPE 63 # define EPROTOTYPE WSAEPROTOTYPE 64 # undef ENOPROTOOPT 65 # define ENOPROTOOPT WSAENOPROTOOPT 66 # undef EPROTONOSUPPORT 67 # define EPROTONOSUPPORT WSAEPROTONOSUPPORT 68 # undef ESOCKTNOSUPPORT 69 # define ESOCKTNOSUPPORT WSAESOCKTNOSUPPORT 70 # undef EOPNOTSUPP 71 # define EOPNOTSUPP WSAEOPNOTSUPP 72 # undef EPFNOSUPPORT 73 # define EPFNOSUPPORT WSAEPFNOSUPPORT 74 # undef EAFNOSUPPORT 75 # define EAFNOSUPPORT WSAEAFNOSUPPORT 76 # undef EADDRINUSE 77 # define EADDRINUSE WSAEADDRINUSE 78 # undef EADDRNOTAVAIL 79 # define EADDRNOTAVAIL WSAEADDRNOTAVAIL 47 80 # undef ENETDOWN 48 81 # define ENETDOWN WSAENETDOWN 49 82 # undef ENETUNREACH 50 83 # define ENETUNREACH WSAENETUNREACH 84 # undef ENETRESET 85 # define ENETRESET WSAENETRESET 86 # undef ECONNABORTED 87 # define ECONNABORTED WSAECONNABORTED 88 # undef ECONNRESET 89 # define ECONNRESET WSAECONNRESET 90 # undef ENOBUFS 91 # define ENOBUFS WSAENOBUFS 92 # undef EISCONN 93 # define EISCONN WSAEISCONN 94 # undef ENOTCONN 95 # define ENOTCONN WSAENOTCONN 96 # undef ESHUTDOWN 97 # define ESHUTDOWN WSAESHUTDOWN 98 # undef ETOOMANYREFS 99 # define ETOOMANYREFS WSAETOOMANYREFS 100 # undef ETIMEDOUT 101 # define ETIMEDOUT WSAETIMEDOUT 102 # undef ECONNREFUSED 103 # define ECONNREFUSED WSAECONNREFUSED 104 # undef ELOOP 105 # define ELOOP WSAELOOP 106 # undef ENAMETOOLONG 107 # define ENAMETOOLONG WSAENAMETOOLONG 51 108 # undef EHOSTDOWN 52 109 # define EHOSTDOWN WSAEHOSTDOWN
Note:
See TracChangeset
for help on using the changeset viewer.