iscsi_iface_transport_name_get(3) API Manual iscsi_iface_transport_name_get(3)

iscsi_iface_transport_name_get - Retrieve transport name of specified iSCSI interface

const char * iscsi_iface_transport_name_get (struct iscsi_iface *iface);

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

Retrieve the transport name of specified iSCSI interface.

* "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);

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

iscsi_iface_transport_name_get June 2023