logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

iscsi_session_tpgt_get - Retrieve target portal group tag of specified session

Arguments

se Pointer of 'struct iscsi_session'. If this pointer is NULL, your program will be terminated by assert.

Description

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.

Name

iscsi_session_tpgt_get - Retrieve target portal group tag of specified session

Return

int32_t. -1 if not supported. July 2025 iscsi_session_tpgt_get iscsi_session_tpgt_get(3)

Synopsis

int32_tiscsi_session_tpgt_get(structiscsi_session*se);

See Also