---
name: "iscsi_session_persistent_address_get"
section: "3"
platform: "linux"
package: "open-iscsi"
version: "2.1.13-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/iscsi_session_persistent_address_get"
---

# iscsi\_session\_persistent\_address\_get(3)

Retrieve iSCSI target persistent address of specified session

## NAME

iscsi\_session\_persistent\_address\_get - Retrieve iSCSI target persistent address of specified session

## SYNOPSIS

**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.

## DESCRIPTION

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**.
