summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2007-11-21 04:29:53 +0100
committerMichael Brown2007-11-21 04:29:53 +0100
commit26f3a09ccf99244fffc4aad23b7bda78c3d9dd21 (patch)
tree5c41bfc37056a01a8ee0baf68ab9627dd263fb62 /src/include
parentAdded definition of a UUID and uuid_ntoa() (for debugging), and (diff)
downloadipxe-26f3a09ccf99244fffc4aad23b7bda78c3d9dd21.tar.gz
ipxe-26f3a09ccf99244fffc4aad23b7bda78c3d9dd21.tar.xz
ipxe-26f3a09ccf99244fffc4aad23b7bda78c3d9dd21.zip
Add UUID to DHCP request as option 97 (if available).
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gpxe/dhcp.h3
-rw-r--r--src/include/gpxe/uuid.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/include/gpxe/dhcp.h b/src/include/gpxe/dhcp.h
index 18baa86a..e126e5ff 100644
--- a/src/include/gpxe/dhcp.h
+++ b/src/include/gpxe/dhcp.h
@@ -135,6 +135,9 @@ struct job_interface;
*/
#define DHCP_BOOTFILE_NAME 67
+/** UUID client identifier */
+#define DHCP_CLIENT_UUID 97
+
/** Etherboot-specific encapsulated options
*
* This encapsulated options field is used to contain all options
diff --git a/src/include/gpxe/uuid.h b/src/include/gpxe/uuid.h
index 4f89be50..a62735c9 100644
--- a/src/include/gpxe/uuid.h
+++ b/src/include/gpxe/uuid.h
@@ -8,6 +8,9 @@
#include <stdint.h>
+union uuid;
+#include <bits/uuid.h>
+
/** A universally unique ID */
union uuid {
/** Canonical form (00000000-0000-0000-0000-000000000000) */