iscsi_iface_port_speed_get(3)

iscsi_iface_port_speed_get3

Retrieve network port speed of specified iscsi interface

Usage

const char * iscsi_iface_port_speed_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 network port speed of specified iSCSI interface. Returned string format is '[0-9]+ [MGT]bps', example: '10 Mbps' or '10 Gbps'.

Return

const char *. Set to "unknown" if unknown. 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.

  1. 11
  2. 12
  3. 13
  4. Arch

From open-iscsi 2.1.13-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.