ISCSITGT_SPT_SESSION_START structure

[The following structure is available for use in Windows Server 2012 R2. It may be altered or unavailable in subsequent versions.]

Used with the IOCTL_SCSI_MINIPORT IOCTL and the CTLCODE_ISCSITGT_SPT_SESSION_START (0x100) control code to start a session.

Syntax

typedef struct _ISCSITGT_SPT_SESSION_START {
  SRB_IO_CONTROL Header;
  BOOL           IsReinstated;
  SESSION_COOKIE ITNexusHandle;
  WCHAR          PeerAddress[SCSI_PASS_THROUGH_MAX_IPADDR_STRING_LENGTH];
  WCHAR          ITNexus[SCSI_PASS_THROUGH_MAX_ITNEXUS_STRING_LENGTH];
  WCHAR          ChapUserName[SCSI_PASS_THROUGH_MAX_CHAP_USERNAME_LENGTH];
} ISCSITGT_SPT_SESSION_START, *PISCSITGT_SPT_SESSION_START;

Members

Header

Mandatory header.

IsReinstated

Whether this is a reinstated session.

ITNexusHandle

An opaque handle representing a session.

PeerAddress

The peer IP address.

SCSI_PASS_THROUGH_MAX_IPADDR_STRING_LENGTH is defined as 64.

ITNexus

A NULL-terminated I_T nexus identifier.

SCSI_PASS_THROUGH_MAX_ITNEXUS_STRING_LENGTH is defined as 512.

ChapUserName

Optional. Challenge Handshake Authentication Protocol (CHAP) user name if CHAP is used for this session.

SCSI_PASS_THROUGH_MAX_CHAP_USERNAME_LENGTH is defined as 256.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012 R2 [desktop apps only]
End of client support
None supported
End of server support
Windows Server 2012 R2

See also

iSCSI Target Pass-Through

SRB_IO_CONTROL