iscsi_session_persistent_port_get3
Retrieve iscsi target persistent port of specified session
Usage
int32_t iscsi_session_persistent_port_get (struct iscsi_session *se);
Arguments
- se
-
Pointer of 'struct iscsi_session'. If this pointer is NULL, your program will be terminated by assert.
Overview
Retrieve the iSCSI target persistent port of specified iSCSI session. The 'persistent port' is the network port where iSCSI initiator send initial request. When iSCSI redirection in use, this port might not be the network port used for actual iSCSI transaction. Please use `iscsi_session_port_get` for target network address of iSCSI transaction.
Return
int32_t. -1 if not supported.
Releases
4 releases since Debian 11 (Bullseye); the text changed 3 times.