DOKK / manpages / debian 12 / libopeniscsiusr-dev / iscsi_node_tpgt_get.3.en
iscsi_node_tpgt_get(3) API Manual iscsi_node_tpgt_get(3)

iscsi_node_tpgt_get - Retrieve target portal group tag of specified iSCSI node.

int32_t iscsi_node_tpgt_get (struct iscsi_node *node);

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

Retrieve the target portal group tag of specified iSCSI node.

int32_t. -1 for unknown.

iscsi_node_tpgt_get October 2022