iscsi_session_tpgt_get(3) | iSCSI Userspace API - libopeniscsiusr Manual | iscsi_session_tpgt_get(3) |
iscsi_session_tpgt_get - Retrieve target portal group tag of specified session
int32_t iscsi_session_tpgt_get (struct iscsi_session *se);
Retrieve the target portal group tag of specified iSCSI session.
The target portal group tag is a value that uniquely identifies a portal group within an iSCSI target node. This key carries the value of the tag of the portal group that is servicing the Login request. The iSCSI target returns this key to the initiator in the Login Response PDU to the first Login Request PDU that has the C bit set to 0 when TargetName is given by the initiator.
int32_t. -1 if not supported.
iscsi_session_tpgt_get | May 2021 |