.TH "iscsi_session_persistent_port_get" 3 "iscsi_session_persistent_port_get" "June 2023" "API Manual" LINUX .SH NAME iscsi_session_persistent_port_get \- Retrieve iSCSI target persistent port of specified session .SH SYNOPSIS .B "int32_t" iscsi_session_persistent_port_get .BI "(struct iscsi_session *" se ");" .SH ARGUMENTS .IP "se" 12 Pointer of 'struct iscsi_session'. If this pointer is NULL, your program will be terminated by assert. .SH "DESCRIPTION" 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 `\fBiscsi_session_port_get\fP` for target network address of iSCSI transaction. .SH "RETURN" int32_t. -1 if not supported.