From 5d4839b577e6b6836bd4828ab3ab5d7d2f5ae779 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 11 Aug 2008 03:12:38 +0100 Subject: [iSCSI] Add support for mutual CHAP Allow initiator to verify target authentication using CHAP. --- src/include/gpxe/dhcp.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/include/gpxe/dhcp.h') diff --git a/src/include/gpxe/dhcp.h b/src/include/gpxe/dhcp.h index 1c9c49faa..7ce653991 100644 --- a/src/include/gpxe/dhcp.h +++ b/src/include/gpxe/dhcp.h @@ -241,6 +241,24 @@ struct dhcp_packet; */ #define DHCP_EB_PASSWORD DHCP_ENCAP_OPT ( DHCP_EB_ENCAP, 0xbf ) +/** Reverse username + * + * This will be used as the reverse username (i.e. the username + * provided by the server) 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_REVERSE_USERNAME DHCP_ENCAP_OPT ( DHCP_EB_ENCAP, 0xc0 ) + +/** Reverse password + * + * This will be used as the reverse password (i.e. the password + * provided by the server) 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_REVERSE_PASSWORD DHCP_ENCAP_OPT ( DHCP_EB_ENCAP, 0xc1 ) + /** iSCSI primary target IQN */ #define DHCP_ISCSI_PRIMARY_TARGET_IQN 201 -- cgit v1.2.3-55-g7522