summaryrefslogtreecommitdiffstats
path: root/src/include/errno.h
diff options
context:
space:
mode:
authorMichael Brown2006-07-17 14:47:22 +0200
committerMichael Brown2006-07-17 14:47:22 +0200
commitb24947f0c0f73978f274a604c224279de6daefd5 (patch)
tree3e590c70427b22229f9a3627910a78d6da8a5616 /src/include/errno.h
parentAdd (untested) code for parsing a received DHCP packet and constructing a (diff)
downloadipxe-b24947f0c0f73978f274a604c224279de6daefd5.tar.gz
ipxe-b24947f0c0f73978f274a604c224279de6daefd5.tar.xz
ipxe-b24947f0c0f73978f274a604c224279de6daefd5.zip
Add sketch code to reassemble a DHCP packet from our internal "everything
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.
Diffstat (limited to 'src/include/errno.h')
-rw-r--r--src/include/errno.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/errno.h b/src/include/errno.h
index 8c9f515e..d59880bc 100644
--- a/src/include/errno.h
+++ b/src/include/errno.h
@@ -151,6 +151,7 @@
#define ENOENT 0xe8 /**< No such file or directory */
#define ENOEXEC 0xe9 /**< Exec format error */
#define ENOMSG ENODATA /**< No message of the desired type */
+#define ENOSPC ENOMEM /**< No space left on device */
#define ENOSR 0xea /**< No stream resources */
#define ENOSTR 0xeb /**< Not a stream */
#define ENOSYS 0xec /**< Function not implemented */