FD.io VPP  v17.01-9-ge7dcee4
Vector Packet Processing
unix_error.def
Go to the documentation of this file.
1 /*
2  Copyright (c) 2001, 2002, 2003 Eliot Dresselhaus
3 
4  Permission is hereby granted, free of charge, to any person obtaining
5  a copy of this software and associated documentation files (the
6  "Software"), to deal in the Software without restriction, including
7  without limitation the rights to use, copy, modify, merge, publish,
8  distribute, sublicense, and/or sell copies of the Software, and to
9  permit persons to whom the Software is furnished to do so, subject to
10  the following conditions:
11 
12  The above copyright notice and this permission notice shall be
13  included in all copies or substantial portions of the Software.
14 
15  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
19  LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
20  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
21  WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 */
23 
24 _ (EPERM, "Operation not permitted")
25 _ (ENOENT, "No such file or directory")
26 _ (ESRCH, "No such process")
27 _ (EINTR, "Interrupted system call")
28 _ (EIO, "I/O error")
29 _ (ENXIO, "No such device or address")
30 _ (E2BIG, "Arg list too long")
31 _ (ENOEXEC, "Exec format error")
32 _ (EBADF, "Bad file number")
33 _ (ECHILD, "No child processes")
34 _ (ENOMEM, "Out of memory")
35 _ (EACCES, "Permission denied")
36 _ (EFAULT, "Bad address")
37 _ (ENOTBLK, "Block device required")
38 _ (EBUSY, "Device or resource busy")
39 _ (EEXIST, "File exists")
40 _ (EXDEV, "Cross-device link")
41 _ (ENODEV, "No such device")
42 _ (ENOTDIR, "Not a directory")
43 _ (EISDIR, "Is a directory")
44 _ (EINVAL, "Invalid argument")
45 _ (ENFILE, "File table overflow")
46 _ (EMFILE, "Too many open files")
47 _ (ENOTTY, "Not a typewriter")
48 _ (ETXTBSY, "Text file busy")
49 _ (EFBIG, "File too large")
50 _ (ENOSPC, "No space left on device")
51 _ (ESPIPE, "Illegal seek")
52 _ (EROFS, "Read-only file system")
53 _ (EMLINK, "Too many links")
54 _ (EPIPE, "Broken pipe")
55 _ (EDOM, "Math argument out of domain of func")
56 _ (ERANGE, "Math result not representable")
57 _ (EDEADLK, "Resource deadlock would occur")
58 _ (ENAMETOOLONG, "File name too long")
59 _ (ENOLCK, "No record locks available")
60 _ (ENOSYS, "Function not implemented")
61 _ (ENOTEMPTY, "Directory not empty")
62 _ (ELOOP, "Too many symbolic links encountered")
63 _ (EWOULDBLOCK, "Operation would block")
64 _ (ENOMSG, "No message of desired type")
65 _ (EIDRM, "Identifier removed")
66 _ (ECHRNG, "Channel number out of range")
67 _ (EL2NSYNC, "Level 2 not synchronized")
68 _ (EL3HLT, "Level 3 halted")
69 _ (EL3RST, "Level 3 reset")
70 _ (ELNRNG, "Link number out of range")
71 _ (EUNATCH, "Protocol driver not attached")
72 _ (ENOCSI, "No CSI structure available")
73 _ (EL2HLT, "Level 2 halted")
74 _ (EBADE, "Invalid exchange")
75 _ (EBADR, "Invalid request descriptor")
76 _ (EXFULL, "Exchange full")
77 _ (ENOANO, "No anode")
78 _ (EBADRQC, "Invalid request code")
79 _ (EBADSLT, "Invalid slot")
80 _ (EBFONT, "Bad font file format")
81 _ (ENOSTR, "Device not a stream")
82 _ (ENODATA, "No data available")
83 _ (ETIME, "Timer expired")
84 _ (ENOSR, "Out of streams resources")
85 _ (ENONET, "Machine is not on the network")
86 _ (ENOPKG, "Package not installed")
87 _ (EREMOTE, "Object is remote")
88 _ (ENOLINK, "Link has been severed")
89 _ (EADV, "Advertise error")
90 _ (ESRMNT, "Srmount error")
91 _ (ECOMM, "Communication error on send")
92 _ (EPROTO, "Protocol error")
93 _ (EMULTIHOP, "Multihop attempted")
94 _ (EDOTDOT, "RFS specific error")
95 _ (EBADMSG, "Not a data message")
96 _ (EOVERFLOW, "Value too large for defined data type")
97 _ (ENOTUNIQ, "Name not unique on network")
98 _ (EBADFD, "File descriptor in bad state")
99 _ (EREMCHG, "Remote address changed")
100 _ (ELIBACC, "Can not access a needed shared library")
101 _ (ELIBBAD, "Accessing a corrupted shared library")
102 _ (ELIBSCN, "lib section in a.out corrupted")
103 _ (ELIBMAX, "Attempting to link in too many shared libraries")
104 _ (ELIBEXEC, "Cannot exec a shared library directly")
105 _ (EILSEQ, "Illegal byte sequence")
106 _ (ERESTART, "Interrupted system call should be restarted")
107 _ (ESTRPIPE, "Streams pipe error")
108 _ (EUSERS, "Too many users")
109 _ (ENOTSOCK, "Socket operation on non-socket")
110 _ (EDESTADDRREQ, "Destination address required")
111 _ (EMSGSIZE, "Message too long")
112 _ (EPROTOTYPE, "Protocol wrong type for socket")
113 _ (ENOPROTOOPT, "Protocol not available")
114 _ (EPROTONOSUPPORT, "Protocol not supported")
115 _ (ESOCKTNOSUPPORT, "Socket type not supported")
116 _ (EOPNOTSUPP, "Operation not supported on transport endpoint")
117 _ (EPFNOSUPPORT, "Protocol family not supported")
118 _ (EAFNOSUPPORT, "Address family not supported by protocol")
119 _ (EADDRINUSE, "Address already in use")
120 _ (EADDRNOTAVAIL, "Cannot assign requested address")
121 _ (ENETDOWN, "Network is down")
122 _ (ENETUNREACH, "Network is unreachable")
123 _ (ENETRESET, "Network dropped connection because of reset")
124 _ (ECONNABORTED, "Software caused connection abort")
125 _ (ECONNRESET, "Connection reset by peer")
126 _ (ENOBUFS, "No buffer space available")
127 _ (EISCONN, "Transport endpoint is already connected")
128 _ (ENOTCONN, "Transport endpoint is not connected")
129 _ (ESHUTDOWN, "Cannot send after transport endpoint shutdown")
130 _ (ETOOMANYREFS, "Too many references: cannot splice")
131 _ (ETIMEDOUT, "Connection timed out")
132 _ (ECONNREFUSED, "Connection refused")
133 _ (EHOSTDOWN, "Host is down")
134 _ (EHOSTUNREACH, "No route to host")
135 _ (EALREADY, "Operation already in progress")
136 _ (EINPROGRESS, "Operation now in progress")
137 _ (ESTALE, "Stale NFS file handle")
138 _ (EUCLEAN, "Structure needs cleaning")
139 _ (ENOTNAM, "Not a XENIX named type file")
140 _ (ENAVAIL, "No XENIX semaphores available")
141 _ (EISNAM, "Is a named type file")
142 _ (EREMOTEIO, "Remote I/O error")
143 _ (EDQUOT, "Quota exceeded")
144 _ (ENOMEDIUM, "No medium found")
145 _ (EMEDIUMTYPE, "Wrong medium type")
a
Definition: bitmap.h:516
bad routing header type(not 4)") sr_error (NO_MORE_SEGMENTS
vhost_user_memory_t memory
Definition: vhost-user.h:82
#define CSI
ANSI Control Sequence Introducer.
Definition: cli.c:65
vhost_vring_state_t state
Definition: vhost-user.h:80
#define I(b, c, d)
Definition: md5.c:47
left
vhost_user_req_t request
Definition: vhost-user.h:74
u8 * format(u8 *s, const char *fmt,...)
Definition: format.c:418