mirror of
https://github.com/ipxe/ipxe
synced 2025-12-20 20:10:18 +03:00
Split login into security negotation and operational parameter
negotiation phases, to allow inclusion of CHAP authentication.
This commit is contained in:
@@ -167,6 +167,13 @@ struct iscsi_bhs_login_request {
|
||||
#define ISCSI_LOGIN_NSG_OPERATIONAL_NEGOTIATION 0x01
|
||||
#define ISCSI_LOGIN_NSG_FULL_FEATURE_PHASE 0x03
|
||||
|
||||
/* Combined stage values and mask */
|
||||
#define ISCSI_LOGIN_STAGE_MASK ( ISCSI_LOGIN_CSG_MASK | ISCSI_LOGIN_NSG_MASK )
|
||||
#define ISCSI_LOGIN_STAGE_SEC ( ISCSI_LOGIN_CSG_SECURITY_NEGOTIATION | \
|
||||
ISCSI_LOGIN_NSG_OPERATIONAL_NEGOTIATION )
|
||||
#define ISCSI_LOGIN_STAGE_OP ( ISCSI_LOGIN_CSG_OPERATIONAL_NEGOTIATION | \
|
||||
ISCSI_LOGIN_NSG_FULL_FEATURE_PHASE )
|
||||
|
||||
/** ISID IANA format marker */
|
||||
#define ISCSI_ISID_IANA 0x40000000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user