iscsi_iface_transport_name_get - Man Page

Retrieve transport name of specified iSCSI interface

Synopsis

const char * iscsi_iface_transport_name_get (struct iscsi_iface *iface);

Arguments

iface

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

Description

Retrieve the transport name of specified iSCSI interface.

Examples

* "tcp" (Software iSCSI over TCP/IP) * "iser" (Software iSCSI over infinniband * "qla4xxx" (Qlogic QLA4XXX HBAs) * "bnx2i" (Broadcom bnx iSCSI HBAs); * "cxgb3i" (Chelsio cxgb S3 iSCSI HBAs);

Return

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

Info

July 2024 API Manual