diff options
| author | Michael Brown | 2006-11-28 03:14:20 +0100 |
|---|---|---|
| committer | Michael Brown | 2006-11-28 03:14:20 +0100 |
| commit | 74c41fac068f3c2680b77973ef21b6ee52d1b4cd (patch) | |
| tree | d601ef3656f5e08385011b66ee324a4f6e483914 /src/include/gpxe | |
| parent | Updated to use asynchronous operation model for iSCSI requests (diff) | |
| download | ipxe-74c41fac068f3c2680b77973ef21b6ee52d1b4cd.tar.gz ipxe-74c41fac068f3c2680b77973ef21b6ee52d1b4cd.tar.xz ipxe-74c41fac068f3c2680b77973ef21b6ee52d1b4cd.zip | |
Create "username" and "password" DHCP options, ready for placing this
information in NVS.
Diffstat (limited to 'src/include/gpxe')
| -rw-r--r-- | src/include/gpxe/dhcp.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/include/gpxe/dhcp.h b/src/include/gpxe/dhcp.h index 79df5fc7c..5b01c9ad8 100644 --- a/src/include/gpxe/dhcp.h +++ b/src/include/gpxe/dhcp.h @@ -167,6 +167,24 @@ */ #define DHCP_EB_BIOS_DRIVE DHCP_ENCAP_OPT ( DHCP_EB_ENCAP, 0xbd ) +/** Username + * + * This will be used as the username for any required authentication. + * It is expected that this option's value will be held in + * non-volatile storage, rather than transmitted as part of a DHCP + * packet. + */ +#define DHCP_EB_USERNAME DHCP_ENCAP_OPT ( DHCP_EB_ENCAP, 0xbe ) + +/** Password + * + * This will be used as the password for any required authentication. + * It is expected that this option's value will be held in + * non-volatile storage, rather than transmitted as part of a DHCP + * packet. + */ +#define DHCP_EB_PASSWORD DHCP_ENCAP_OPT ( DHCP_EB_ENCAP, 0xbf ) + /** Maximum normal DHCP option */ #define DHCP_MAX_OPTION 254 |
