ENUM FC_LPORT_STATE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum fc_lport_state(9) πŸ’…

okay so bestie, this is from the Kernel API Manual and it's literally the vibe check for a local port's states in libfc. no cap, it's giving main character energy for Fibre Channel. let's get into it 🧚✨


🌸 NAME 🌸

enum fc_lport_state β€” Local port states. periodt.


πŸ¦‹ SYNOPSIS πŸ¦‹

enum fc_lport_state {
    LPORT_ST_DISABLED ,
    LPORT_ST_FLOGI ,
    LPORT_ST_DNS ,
    LPORT_ST_RNN_ID ,
    LPORT_ST_RSNN_NN ,
    LPORT_ST_RSPN_ID ,
    LPORT_ST_RFT_ID ,
    LPORT_ST_RFF_ID ,
    LPORT_ST_FDMI ,
    LPORT_ST_RHBA ,
    LPORT_ST_RPA ,
    LPORT_ST_DHBA ,
    LPORT_ST_DPRT ,
    LPORT_ST_SCR ,
    LPORT_ST_READY ,
    LPORT_ST_LOGO ,
    LPORT_ST_RESET

};

πŸ’– CONSTANTS πŸ’–

each one is a little era the local port goes through, iykyk πŸ’…

  • LPORT_ST_DISABLED β€” Disabled. literally off, bestie.
  • LPORT_ST_FLOGI β€” Fabric login (FLOGI) sent. that FLOGI went out, periodt.
  • LPORT_ST_DNS β€” Waiting for name server remote port to become ready. highkey just chilling until the name server rport is good to go.
  • LPORT_ST_RNN_ID β€” Register port name by ID (RNN_ID) sent. the RNN_ID got sent, no cap.
  • LPORT_ST_RSNN_NN β€” Waiting for host symbolic node name. lowkey waiting on that symbolic node name from the host.
  • LPORT_ST_RSPN_ID β€” Waiting for host symbolic port name. same vibe but for the port name, fr fr.
  • LPORT_ST_RFT_ID β€” Register Fibre Channel types by ID (RFT_ID) sent. RFT_ID is out there, slay.
  • LPORT_ST_RFF_ID β€” Register FC-4 Features by ID (RFF_ID) sent. RFF_ID sent, iconic.
  • LPORT_ST_FDMI β€” Waiting for mgmt server rport to become ready. waiting on the mgmt server rport to be ready, ngl.
  • LPORT_ST_RHBA β€” Register HBA. registering the HBA, ate.
  • LPORT_ST_RPA β€” Register Port Attributes. port attributes getting registered, periodt.
  • LPORT_ST_DHBA β€” Deregister HBA. bye-bye HBA registration πŸ‘‹
  • LPORT_ST_DPRT β€” Deregister Port. port deregistration era.
  • LPORT_ST_SCR β€” State Change Register (SCR) sent. SCR sent, no cap.
  • LPORT_ST_READY β€” Ready for use. the moment we've all been waiting for πŸ’–
  • LPORT_ST_LOGO β€” Local port logout (LOGO) sent. LOGO sent, it's giving goodbye.
  • LPORT_ST_RESET β€” Local port reset. resetting the local port, main character energy.

πŸŽ€ SEE ALSO πŸŽ€

like all the related besties, linked together:


bestie if you're digging into libfc port states, you're already iconic. just remember: every state matters, even the reset one πŸ’€βœ¨

xoxo, your Unix bestie 🫢 β€” source straight from ./include/scsi, dated October 2026. catch you in the next manpage, mwah πŸ’‹πŸŒΈ

πŸ“¦ where this page comes from