---
name: "iscsi_session_iface_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_iface_get"
---

# iscsi\_session\_iface\_get(3)

Retrieve iSCSI interface information of specified session

## NAME

iscsi\_session\_iface\_get - Retrieve iSCSI interface information of specified session

## SYNOPSIS

**struct iscsi\_iface \* iscsi\_session\_iface\_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 interface information of specified iSCSI session. For the properties of 'struct iscsi\_iface', please refer to the functions defined in 'libopeniscsiusr\_iface.h' file.

## RETURN

Pointer of 'struct iscsi\_iface'. NULL if not supported. No need to free this memory, the resources will get freed by **iscsi\_session\_free** or **iscsi\_sessions\_free**.
