lsm_targe..._type_get(3)

πŸ“¦
version 1.10.3 Β· 3 versions
, in fedora 43, fedora 44

✨ NAME ✨

lsm_target_port_type_get β€” bestie, this one grabs the target port type for you πŸ’…


🌸 SYNOPSIS 🌸

lsm_target_port_type lsm_target_port_type_get (lsm_target_port *tp);

πŸŽ€ ARGUMENTS πŸŽ€

  • tp β€” the target port you want the type of, queen. Hand it over and it'll tell you what it is 🫢

πŸ’œ VERSION πŸ’œ

1.0 β€” yes, this is the version, no cap ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so basically: you pass in a target port, and this function retrieves its type β€” like FC, iSCSI, etc. That's it, that's the whole vibe 😌 It's giving "one job, does it well" energy πŸ”₯


πŸ‘‘ RETURN πŸ‘‘

It hands you back an lsm_target_port_type 🌈 and the valid values are literally:

  • LSM_TARGET_PORT_TYPE_FC β€” FC πŸ’–
  • LSM_TARGET_PORT_TYPE_FCOE β€” FCoE ⭐
  • LSM_TARGET_PORT_TYPE_ISCSI β€” iSCSI πŸ“
  • LSM_TARGET_PORT_TYPE_OTHER β€” vendor specific, iykyk πŸ™ˆ

That's the whole page, bestie, and yes it lives in the Libstoragemgmt C API Manual πŸ“– β€” this cutie dropped February 2026, and it's serving you the lsm_target_port_type_get page from lsm_targe..._type_get(3) in all its glory. Periodt πŸ’…βœ¨

πŸ“¦ where this page comes from