iscsi_iface_transport_name_get3
Retrieve transport name of specified iscsi interface
Usage
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.
Overview
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.
Releases
4 releases since Debian 11 (Bullseye); the text changed 3 times.