ISCSI_TARGET_MAPPING structure

The ISCSI_TARGET_MAPPING structure contains information about a target and the Host-Bus Adapters (HBAs) and buses through which the target is reached.

Syntax


typedef struct _ISCSI_TARGET_MAPPING {
  TCHAR                   InitiatorName[MAX_ISCSI_HBANAME_LEN];
  TCHAR                   TargetName[MAX_ISCSI_NAME_LEN];
  TCHAR                   OSDeviceName[MAX_PATH];
  ISCSI_UNIQUE_SESSION_ID SessionId;
  ULONG                   OSBusNumber;
  ULONG                   OSTargetNumber;
  ULONG                   LUNCount;
  PSCSI_LUN_LIST          LUNList;
} ISCSI_TARGET_MAPPING, *PISCSI_TARGET_MAPPING;

Members

InitiatorName

A string representing the name of the HBA initiator through which the target is accessed.

TargetName

A string representing the target name.

OSDeviceName

A string representing the device name of the HBA initiator; for example '\device\ScsiPort3'.

SessionId

A ISCSI_UNIQUE_SESSION_ID structure containing information that uniquely identifies the session..

OSBusNumber

The bus number used by the initiator as the local SCSI address of the target.

OSTargetNumber

The target number used by the initiator as the local SCSI address of the target.

LUNCount

The number of logical units (LUN) on the target.

LUNList

A list of SCSI_LUN_LIST structures that contain information about the LUNs associated with the target.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Iscsidsc.h

Unicode and ANSI names

ISCSI_TARGET_MAPPINGW (Unicode) and ISCSI_TARGET_MAPPINGA (ANSI)

See also

ISCSI_UNIQUE_SESSION_ID

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.