// iscsimgt.h
typedef struct _ISCSI_PortalInfo {
ULONG Index;
UCHAR PortalType;
UCHAR Protocol;
UCHAR Reserved1;
UCHAR Reserved2;
ISCSI_IP_Address IPAddr;
ULONG Port;
USHORT PortalTag;
} ISCSI_PortalInfo, *PISCSI_PortalInfo;
View the official Windows Driver Kit DDI referenceNo description available.
The ISCSI_PortalInfo structure contains information about an iSCSI portal.
IndexThe unique port number associated with this portal.
PortalTypeThe type of portal. This member can have the following symbolic constant values, which are defined in Iscsimgt.h.
| Portal Type | Meaning |
|---|---|
| InitiatorPortals | The portal that the initiator uses to access the network. In an initiator, a portal is identified by its IP address. |
| TargetPortals | The portal that the target uses to access the network. In a target, a portal is identified by its IP address and its listening TCP port. |
ProtocolThe portal's transport protocol. Currently, this member must hold the value that is associated with the symbolic constant, TCP. TCP is defined in Iscsimgt.h.
Reserved1Reserved for Microsoft use only.
Reserved2Reserved for Microsoft use only.
IPAddrA ISCSI_IP_Address structure that indicates the portal's network IP address.
PortThe socket number for the portal.
PortalTagThe portal group tag to which the portal belongs.