aboutsummaryrefslogtreecommitdiff
path: root/src/include/errno.h
AgeCommit message (Collapse)AuthorFilesLines
2008-03-26[libc] Whitespace cleanup in errno.hMichael Brown1-1/+1
2008-03-26[PXEXT] Change the PXE return code for EWOULDBLOCKH. Peter Anvin1-2/+2
Change the PXE return code for EWOULDBLOCK from PXENV_STATUS_FAILURE to PXENV_STATUS_TFTP_OPEN. This code is only used by the FILE_READ PXEXT call, and is necessary to distinguish "error" from "no data" in that call. (The only other nonblocking call is UDP_READ, where the caller doesn't care about the distinction, however, gPXE doesn't use EWOULDBLOCK internally to represent this condition in that code.)
2007-07-24Add per-file error identifiersMichael Brown1-107/+174
2007-07-05Remap EBADF to PXENV_STATUS_TFTP_FILE_NOT_FOUND; the only user isMichael Brown1-1/+1
posix_io.c and this PXE error makes more sense in this context.
2007-05-18Allow construction of PXE status code from internal error number.Michael Brown1-0/+3
2007-01-19Introduce structured error codes.Michael Brown1-157/+418
2007-01-15A working DNS resolver (not yet tied in to anything)Michael Brown1-0/+1
2007-01-15Gave asynchronous operations approximate POSIX signal semantics. ThisMichael Brown1-2/+3
will enable us to cascade async operations, which is necessary in order to properly support DNS. (For example, an HTTP request may have to redirect to a new location and will have to perform a new DNS lookup, so we can't just rely on doing the name lookup at the time of parsing the initial URL). Anything other than HTTP is probably broken right now; I'll fix the others up asap.
2007-01-11Distinguish between ENOMEM (as representing a lack of internal memoryMichael Brown1-18/+18
as allocated by malloc()) versus all other errors, in particular ENOBUFS (representing a lack of external buffer space, e.g. in a device's TX queue or a user buffer).
2006-12-20Split error-message table portions of errno.h out to gpxe/errortab.hMichael Brown1-11/+0
2006-12-20Move strerror() prototype to string.h, where it belongsMichael Brown1-2/+0
2006-12-20Differentiate between ENOSPC and ENOMEMMichael Brown1-13/+13
2006-07-17Add sketch code to reassemble a DHCP packet from our internal "everythingMichael Brown1-0/+1
is a DHCP option" data structures. We need this code in order to be able to return a DHCP packet to a PXE NBP which reflects options from our multiple sources (e.g. NVS and DHCP server). This is expensive, but necessary. Having paid this cost, we may as well try to use the same code to generate our DHCP request packets, since the process is similar.
2006-05-19Add EOVERFLOW==ERANGEMichael Brown1-4/+6
2006-04-28Gave up on adding POSIX errno's as required, and just added (almost) allMichael Brown1-12/+52
of them in one go. EBADIMG has been replaced by ENOEXEC, and EIMGRET by ECANCELED.
2006-04-24Header rearrangement.Michael Brown1-1/+2
I want to get to the point where any header in include/ reflects a standard user-level header (e.g. a POSIX header), while everything that's specific to gPXE lives in include/gpxe/. Headers that reflect a Linux header (e.g. if_ether.h) should also be in include/gpxe/, with the same name as the Linux header and, preferably, the same names used for the definitions.
2006-04-19First sketch of a new net device API.Michael Brown1-0/+1
2006-04-19Added ENOENT and EAFNOSUPPORTMichael Brown1-0/+2
2005-05-18More doxygen docsMichael Brown1-5/+3
2005-05-18Add EBADIMG, EIMGRET, ETIMEDOUT and EINVALMichael Brown1-1/+6
2005-05-17Added errno, strerror and the "%m" printf metacharacter. These will allowMichael Brown1-0/+138
us to return proper PXE status codes, while simultaneously allowing for more consistent error reporting (complete with verbose error messages as a build-time option).