1iscsi_iface_port_state_get(3)     API Manual     iscsi_iface_port_state_get(3)
2
3
4

NAME

6       iscsi_iface_port_state_get  -  Retrieve network port state of specified
7       iSCSI interface
8

SYNOPSIS

10       const char * iscsi_iface_port_state_get (struct iscsi_iface *iface);
11

ARGUMENTS

13       iface       Pointer of 'struct iscsi_iface'.  If this pointer is  NULL,
14                   your program will be terminated by assert.
15

DESCRIPTION

17       Retrieve the network port state of specified iSCSI interface.
18

RETURN

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)
Impressum