iscsi_session_persistent_address_get(3)

iscsi_session_persistent_address_get3

Retrieve iscsi target persistent address of specified session

Usage

const char * iscsi_session_persistent_address_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 address of specified iSCSI session. The 'persistent address' is the network address where iSCSI initiator send initial request. When iSCSI redirection in use, this address might not be the network address used for actual iSCSI transaction. Please use `iscsi_session_address_get` for target network address of iSCSI transaction.

Return

const char *. Empty string if not supported. No need to free this memory, the resources will get freed by iscsi_session_free or iscsi_sessions_free.

Releases

4 releases since Debian 11 (Bullseye); the text changed 3 times.

  1. 11
  2. 12
  3. 13
  4. Arch

From open-iscsi 2.1.13-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.