.TH "iscsi_iface_port_speed_get" 3 "iscsi_iface_port_speed_get" "June 2023" "API Manual" LINUX .SH NAME iscsi_iface_port_speed_get \- Retrieve network port speed of specified iSCSI interface .SH SYNOPSIS .B "const char *" iscsi_iface_port_speed_get .BI "(struct iscsi_iface *" iface ");" .SH ARGUMENTS .IP "iface" 12 Pointer of 'struct iscsi_iface'. If this pointer is NULL, your program will be terminated by assert. .SH "DESCRIPTION" Retrieve the network port speed of specified iSCSI interface. Returned string format is '[0-9]+ [MGT]bps', example: '10 Mbps' or '10 Gbps'. .SH "RETURN" const char *. Set to "unknown" if unknown. No need to free this memory, the resources will get freed by \fBiscsi_session_free\fP or \fBiscsi_sessions_free\fP.