summaryrefslogtreecommitdiff
path: root/sys/i386/boot/netboot/netboot.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/boot/netboot/netboot.h')
-rw-r--r--sys/i386/boot/netboot/netboot.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/i386/boot/netboot/netboot.h b/sys/i386/boot/netboot/netboot.h
index e6d949dafc42..e60c8f791ed7 100644
--- a/sys/i386/boot/netboot/netboot.h
+++ b/sys/i386/boot/netboot/netboot.h
@@ -79,6 +79,14 @@ Author: Martin Renters
#define BOOTP_REQUEST 1
#define BOOTP_REPLY 2
+#define TAG_LEN(p) (*((p)+1))
+#define RFC1048_COOKIE { 99, 130, 83, 99 }
+#define RFC1048_PAD 0
+#define RFC1048_NETMASK 1
+#define RFC1048_HOSTNAME 12
+#define RFC1048_END 255
+#define BOOTP_VENDOR_LEN 64
+
#define TFTP_RRQ 1
#define TFTP_WRQ 2
#define TFTP_DATA 3