iscsi\_iface\_netdev\_get(3) API Manual iscsi\_iface\_netdev\_get(3)

# [NAME](#NAME)

iscsi\_iface\_netdev\_get - Retrieve network device name of specified iSCSI interface

# [SYNOPSIS](#SYNOPSIS)

**const char * iscsi\_iface\_netdev\_get** **(struct iscsi\_iface \*iface);**

# [ARGUMENTS](#ARGUMENTS)

[iface](#iface)

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

# [DESCRIPTION](#DESCRIPTION)

Retrieve the network device name of specified iSCSI interface.

# [RETURN](#RETURN)

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

iscsi\_iface\_netdev\_get October 2026

---

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