iscsi\_node\_portal\_get(3) API Manual iscsi\_node\_portal\_get(3)

# [NAME](#NAME)

iscsi\_node\_portal\_get - Retrieve connection portal of specified iSCSI node.

# [SYNOPSIS](#SYNOPSIS)

**const char * iscsi\_node\_portal\_get** **(struct iscsi\_node \*node);**

# [ARGUMENTS](#ARGUMENTS)

[node](#node)

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

# [DESCRIPTION](#DESCRIPTION)

Retrieve the iscsi connection target portal of specified iSCSI node. Just a combination of **iscsi\_node\_conn\_address\_get** and **iscsi\_node\_conn\_port\_get**.

# [EXAMPLES](#EXAMPLES)

"192.168.1.1:3260" and "\[::1]:3260"

# [RETURN](#RETURN)

const char \*. No need to free this memory, the resources will get freed by **iscsi\_node\_free** or **iscsi\_nodes\_free**.

iscsi\_node\_portal\_get October 2026

---

Document: iscsi_node_portal_get(3) from open-iscsi 2.1.13-r4 (Chainguard OS)
Source: https://github.com/open-iscsi/open-iscsi
