iscsi_iface_port_state_get
Retrieve network port state of specified iSCSI interface
- Provided by: libopeniscsiusr-dev (Version: 2.1.9-3ubuntu5.4)
- Source: open-iscsi
- Report a bug
Retrieve network port state of specified iSCSI interface
const char * iscsi_iface_port_state_get (struct iscsi_iface *iface);
Retrieve the network port state of specified iSCSI interface.
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.