iscsi_iface_port_state_get3
Retrieve network port state of specified iscsi interface
Usage
const char * iscsi_iface_port_state_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 state of specified iSCSI interface.
Return
const char *. Possible values are :
* "LINK_UP"
* "LINK_DOWN"
* "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.