lsm_target_port_physical_address_get man page
lsm_target_port_physical_address_get — Retrieve the physical address for the target_port
const char * lsm_target_port_physical_address_get (lsm_target_port *tp);
Pointer of lsm_target_port to retrieve physical address for.
Retrieve the physical address for the target_port. Physical address is lower case string which is used by physical layer like FC-0 and MAC:
WWPN (split with : every two digits)
MAC address (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.