1iscsi_session_tpgt_get(3)         API Manual         iscsi_session_tpgt_get(3)
2
3
4

NAME

6       iscsi_session_tpgt_get  - Retrieve target portal group tag of specified
7       session
8

SYNOPSIS

10       int32_t iscsi_session_tpgt_get (struct iscsi_session *se);
11

ARGUMENTS

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

DESCRIPTION

17       Retrieve the target portal group tag of specified iSCSI session.
18
19       The  target portal group tag is a value that uniquely identifies a por‐
20       tal group within an iSCSI target node. This key carries  the  value  of
21       the  tag  of  the portal group that is servicing the Login request. The
22       iSCSI target returns this key to the initiator in  the  Login  Response
23       PDU  to  the  first  Login Request PDU that has the C bit set to 0 when
24       TargetName is given by the initiator.
25

RETURN

27       int32_t. -1 if not supported.
28
29
30
31July 2023                   iscsi_session_tpgt_get   iscsi_session_tpgt_get(3)
Impressum