lsm_target_port_service_address_get man page
lsm_target_port_service_address_get — Retrieve the service address for the target_port
const char * lsm_target_port_service_address_get (lsm_target_port *tp);
Pointer of lsm_target_port to retrieve service address for.
Retrieve the service address for the target_port. Service address is lower case string which is used by upper layer like FC and iSCSI:
WWPN (split with : every two digits)
Address returned is valid until lsm_target_port gets freed, copy return value if you need longer scope. Do not free returned string.
string. NULL if argument 'tp' is NULL or not a valid lsm_target_port pointer.