diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2009-03-11 19:46:35 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2009-03-11 19:46:35 -0700 |
commit | d16e5e8e8ea526326ed6f8880464399624bfe171 (patch) | |
tree | 9d1eb354f74532c219d31607e28840c4ebde3103 /gpxe/src/include/gpxe/iscsi.h | |
parent | 43224f02c231ed97a15d8300eaaf69ad8118d222 (diff) | |
download | syslinux-elf-syslinux-3.74-pre3.tar.gz syslinux-elf-syslinux-3.74-pre3.tar.xz syslinux-elf-syslinux-3.74-pre3.zip |
Update gPXE to version 0.9.7syslinux-3.74-pre3
Diffstat (limited to 'gpxe/src/include/gpxe/iscsi.h')
-rw-r--r-- | gpxe/src/include/gpxe/iscsi.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/gpxe/src/include/gpxe/iscsi.h b/gpxe/src/include/gpxe/iscsi.h index fd96fdfe..0510974e 100644 --- a/gpxe/src/include/gpxe/iscsi.h +++ b/gpxe/src/include/gpxe/iscsi.h @@ -530,8 +530,6 @@ struct iscsi_session { char *target_username; /** Target password (if any) */ char *target_password; - /** Target has authenticated acceptably */ - int target_auth_ok; /** CHAP challenge (for target auth only) * * This is a block of random data; the first byte is used as @@ -664,6 +662,15 @@ struct iscsi_session { /** Mask for all iSCSI "needs to send" flags */ #define ISCSI_STATUS_STRINGS_MASK 0xff00 +/** Target has requested forward (initiator) authentication */ +#define ISCSI_STATUS_AUTH_FORWARD_REQUIRED 0x00010000 + +/** Initiator requires target (reverse) authentication */ +#define ISCSI_STATUS_AUTH_REVERSE_REQUIRED 0x00020000 + +/** Target authenticated itself correctly */ +#define ISCSI_STATUS_AUTH_REVERSE_OK 0x00040000 + /** Maximum number of retries at connecting */ #define ISCSI_MAX_RETRIES 2 |