diff options
author | ps <ps@FreeBSD.org> | 2000-08-11 08:36:17 +0000 |
---|---|---|
committer | ps <ps@FreeBSD.org> | 2000-08-11 08:36:17 +0000 |
commit | 1dd134848fb77eeb60abfde6ac6c912a97a40a92 (patch) | |
tree | 6b4cf526523ea9ea5b7c7279e1adbc3a6c25784c /lib/libstand/bootp.h | |
parent | bf1837571fcf12844f15bc71088fee668425d7b1 (diff) | |
download | FreeBSD-src-1dd134848fb77eeb60abfde6ac6c912a97a40a92.zip FreeBSD-src-1dd134848fb77eeb60abfde6ac6c912a97a40a92.tar.gz |
Add support to send the string 'PXEClient' as the Vendor class
identifier to the DHCP server. Now you can check for this string
in your dhcp configuration to decide whether you will hand out a
lease to the client or not.
Diffstat (limited to 'lib/libstand/bootp.h')
-rw-r--r-- | lib/libstand/bootp.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/libstand/bootp.h b/lib/libstand/bootp.h index 7435e3c..ed9101f 100644 --- a/lib/libstand/bootp.h +++ b/lib/libstand/bootp.h @@ -18,6 +18,8 @@ * University. Carnegie Mellon makes no representations about the * suitability of this software for any purpose. It is provided "as is" * without express or implied warranty. + * + * $FreeBSD$ */ @@ -118,6 +120,12 @@ struct bootp { #endif /* + * bootp flags + */ +#define BOOTP_NONE 0x0000 /* No flags */ +#define BOOTP_PXE 0x0001 /* Booting from PXE. */ + +/* * "vendor" data permitted for CMU bootp clients. */ |