1iscsi_iface_port_state_get(3) API Manual iscsi_iface_port_state_get(3)
2
3
4
6 iscsi_iface_port_state_get - Retrieve network port state of specified
7 iSCSI interface
8
10 const char * iscsi_iface_port_state_get (struct iscsi_iface *iface);
11
13 iface Pointer of 'struct iscsi_iface'. If this pointer is NULL,
14 your program will be terminated by assert.
15
17 Retrieve the network port state of specified iSCSI interface.
18
20 const char *. Possible values are :
21
22 * "LINK_UP"
23
24 * "LINK_DOWN"
25
26 * "unknown"
27
28 No need to free this memory, the resources will get freed by iscsi_ses‐
29 sion_free or iscsi_sessions_free.
30
31
32
33July 2023 iscsi_iface_port_state_giestcsi_iface_port_state_get(3)