lsm_target_port_network_address_get - Man Page

Retrieve the network address for the target_port

Synopsis

const char  * lsm_target_port_network_address_get (lsm_target_port *tp);

Arguments

tp

Pointer of lsm_target_port to retrieve network address for.

Version

1.0

Description

Retrieve the network address for the target_port. Network address is lower case string which is used by network layer like FC and TCP/IP:
   * FC/FCoE:
       WWPN (split with : every two digits)
   * iSCSI:
       <ipv4_address>:<tcp_port>
       [<ipv6_address>]:<tcp_port>

Note

Address returned is valid until lsm_target_port gets freed, copy return value if you need longer scope. Do not free returned string.

Return

string. NULL if argument 'tp' is NULL or not a valid lsm_target_port pointer.

Info

December 2020 Libstoragemgmt C API Manual