Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
a6b95635
Commit
a6b95635
authored
Feb 23, 2007
by
Dennis van Amerongen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/network/error.c: added a few more Winsock and QoS error codes
parent
21871656
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
79 additions
and
33 deletions
+79
-33
src/network/error.c
src/network/error.c
+79
-33
No files found.
src/network/error.c
View file @
a6b95635
...
...
@@ -37,57 +37,103 @@ typedef struct
static
const
wsaerrmsg_t
wsaerrmsg
[]
=
{
{
WSAEINTR
,
"Interrupted by signal"
},
{
WSA_INVALID_HANDLE
,
"Specified event object handle is invalid"
},
{
WSA_NOT_ENOUGH_MEMORY
,
"Insufficient memory available"
},
{
WSA_INVALID_PARAMETER
,
"One or more parameters are invalid"
},
{
WSA_OPERATION_ABORTED
,
"Overlapped operation aborted"
},
{
WSA_IO_INCOMPLETE
,
"Overlapped I/O event object not in signaled state"
},
{
WSA_IO_PENDING
,
"Overlapped operations will complete later"
},
{
WSAEINTR
,
"Interrupted function call"
},
{
WSAEBADF
,
"File handle is not valid"
},
{
WSAEACCES
,
"Access denied"
},
{
WSAEFAULT
,
"Invalid memory address"
},
{
WSAEINVAL
,
"Invalid argument"
},
{
WSAEMFILE
,
"Too many open sockets"
},
{
WSAEWOULDBLOCK
,
"Would block"
},
//{ WSAEALREADY
{
WSAEWOULDBLOCK
,
"Resource temporarily unavailable"
},
{
WSAEINPROGRESS
,
"Operation now in progress"
},
{
WSAEALREADY
,
"Operation already in progress"
},
{
WSAENOTSOCK
,
"Non-socket handle specified"
},
{
WSAEDESTADDRREQ
,
"Missing destination address"
},
{
WSAEMSGSIZE
,
"Message too
bi
g"
},
//{ WSAEPROTOTYPE
{
WSAEMSGSIZE
,
"Message too
lon
g"
},
{
WSAEPROTOTYPE
,
"Protocol wrong type for socket"
,
},
{
WSAENOPROTOOPT
,
"Option not supported by protocol"
},
{
WSAEPROTONOSUPPORT
,
"Protocol not support"
},
//WSAESOCKTNOSUPPORT
{
WSAEPROTONOSUPPORT
,
"Protocol not support
ed
"
},
{
WSAESOCKTNOSUPPORT
,
"Socket type not supported"
},
{
WSAEOPNOTSUPP
,
"Operation not supported"
},
{
WSAEPFNOSUPPORT
,
"Protocol family not supported"
},
{
WSAEAFNOSUPPORT
,
"Address family not supported"
},
{
WSAEAFNOSUPPORT
,
"Address family not supported
by protocol family
"
},
{
WSAEADDRINUSE
,
"Address already in use"
},
{
WSAEADDRNOTAVAIL
,
"
Address not available
"
},
{
WSAENETDOWN
,
"Network down"
},
{
WSAEADDRNOTAVAIL
,
"
Cannot assign requested address
"
},
{
WSAENETDOWN
,
"Network
is
down"
},
{
WSAENETUNREACH
,
"Network unreachable"
},
//WSAENETRESET
{
WSAECONNABORTED
,
"
Connection aborted
"
},
{
WSAENETRESET
,
"Network dropped connection on reset"
},
{
WSAECONNABORTED
,
"
Software caused connection abort
"
},
{
WSAECONNRESET
,
"Connection reset by peer"
},
{
WSAENOBUFS
,
"No
t enough memory
"
},
{
WSAEISCONN
,
"Socket already connected"
},
{
WSAENOTCONN
,
"
Connection required first
"
},
{
WSAESHUTDOWN
,
"C
onnection
shutdown"
},
{
WSAENOBUFS
,
"No
buffer space available (not enough memory)
"
},
{
WSAEISCONN
,
"Socket
is
already connected"
},
{
WSAENOTCONN
,
"
Socket is not connected
"
},
{
WSAESHUTDOWN
,
"C
annot send after socket
shutdown"
},
{
WSAETOOMANYREFS
,
"Too many references"
},
{
WSAETIMEDOUT
,
"Connection timed out"
},
{
WSAECONNREFUSED
,
"Connection refused by peer"
},
//WSAELOOP
//WSAENAMETOOLONG
{
WSAEHOSTDOWN
,
"Remote host down"
},
{
WSAEHOSTUNREACH
,
"Remote host unreachable"
},
//WSAENOTEMPTY
//WSAEPROCLIM
//WSAEUSERS
//WSAEDQUOT
//WSAESTALE
//WSAEREMOTE
//WSAEDISCON
{
WSASYSNOTREADY
,
"Network stack not ready"
},
{
WSAVERNOTSUPPORTED
,
"Network stack version not supported"
},
{
WSAELOOP
,
"Cannot translate name"
},
{
WSAENAMETOOLONG
,
"Name too long"
},
{
WSAEHOSTDOWN
,
"Remote host is down"
},
{
WSAEHOSTUNREACH
,
"No route to host (unreachable)"
},
{
WSAENOTEMPTY
,
"Directory not empty"
},
{
WSAEPROCLIM
,
"Too many processes"
},
{
WSAEUSERS
,
"User quota exceeded"
},
{
WSAEDQUOT
,
"Disk quota exceeded"
},
{
WSAESTALE
,
"Stale file handle reference"
},
{
WSAEREMOTE
,
"Item is remote"
,
},
{
WSASYSNOTREADY
,
"Network subsystem is unavailable (network stack not ready)"
},
{
WSAVERNOTSUPPORTED
,
"Winsock.dll version out of range (network stack version not supported"
},
{
WSANOTINITIALISED
,
"Network not initialized"
},
{
WSAHOST_NOT_FOUND
,
"Hostname not found"
},
{
WSATRY_AGAIN
,
"Temporary hostname error"
},
{
WSAEDISCON
,
"Graceful shutdown in progress"
},
{
WSAENOMORE
,
"No more results"
},
{
WSAECANCELLED
,
"Call has been cancelled"
},
{
WSAEINVALIDPROCTABLE
,
"Procedure call table is invalid"
},
{
WSAEINVALIDPROVIDER
,
"Service provider is invalid"
},
{
WSAEPROVIDERFAILEDINIT
,
"Service provider failed to initialize"
},
{
WSASYSCALLFAILURE
,
"System call failure"
},
{
WSASERVICE_NOT_FOUND
,
"Service not found"
},
{
WSATYPE_NOT_FOUND
,
"Class type not found"
},
{
WSA_E_NO_MORE
,
"No more results"
},
{
WSA_E_CANCELLED
,
"Call was cancelled"
},
{
WSAEREFUSED
,
"Database query was refused"
},
{
WSAHOST_NOT_FOUND
,
"Host not found"
},
{
WSATRY_AGAIN
,
"Nonauthoritative host not found (temporary hostname error)"
},
{
WSANO_RECOVERY
,
"Non-recoverable hostname error"
},
/* Winsock2 and QoS error are codes missing,
I'm too bored, and they "never" occur. */
{
WSANO_DATA
,
"Valid name, no data record of requested type"
},
{
WSA_QOS_RECEIVERS
,
"QOS receivers"
},
{
WSA_QOS_SENDERS
,
"QOS senders"
},
{
WSA_QOS_NO_SENDERS
,
"No QOS senders"
},
{
WSA_QOS_NO_RECEIVERS
,
"QOS no receivers"
},
{
WSA_QOS_REQUEST_CONFIRMED
,
"QOS request confirmed"
},
{
WSA_QOS_ADMISSION_FAILURE
,
"QOS admission error"
},
{
WSA_QOS_POLICY_FAILURE
,
"QOS policy failure"
},
{
WSA_QOS_BAD_STYLE
,
"QOS bad style"
},
{
WSA_QOS_BAD_OBJECT
,
"QOS bad object"
},
{
WSA_QOS_TRAFFIC_CTRL_ERROR
,
"QOS traffic control error"
},
{
WSA_QOS_GENERIC_ERROR
,
"QOS generic error"
},
{
WSA_QOS_ESERVICETYPE
,
"QOS service type error"
},
{
WSA_QOS_EFLOWSPEC
,
"QOS flowspec error"
},
{
WSA_QOS_EPROVSPECBUF
,
"Invalid QOS provider buffer"
},
{
WSA_QOS_EFILTERSTYLE
,
"Invalid QOS filter style"
},
{
WSA_QOS_EFILTERTYPE
,
"Invalid QOS filter type"
},
{
WSA_QOS_EFILTERCOUNT
,
"Incorrect QOS filter count"
},
{
WSA_QOS_EOBJLENGTH
,
"Invalid QOS object length"
},
{
WSA_QOS_EFLOWCOUNT
,
"Incorrect QOS flow count"
},
{
WSA_QOS_EUNKNOWNPSOBJ
,
"Unrecognized QOS object"
},
{
WSA_QOS_EPOLICYOBJ
,
"Invalid QOS policy object"
},
{
WSA_QOS_EFLOWDESC
,
"Invalid QOS flow descriptor"
},
{
WSA_QOS_EPSFLOWSPEC
,
"Invalid QOS provider-specific flowspec"
},
{
WSA_QOS_EPSFILTERSPEC
,
"Invalid QOS provider-specific filterspec"
},
{
WSA_QOS_ESDMODEOBJ
,
"Invalid QOS shape discard mode object"
},
{
WSA_QOS_ESHAPERATEOBJ
,
"Invalid QOS shaping rate object"
},
{
WSA_QOS_RESERVED_PETYPE
,
"Reserved policy QOS element type"
},
{
0
,
NULL
}
/* Winsock2 error codes are missing, they "never" occur */
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment