STRUCT FC_RPORT_LIBFC_PRIV(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct fc_rport_libfc_priv(9) ✨

okay so this is a page from the Kernel API Manual, and it's all about struct fc_rport_libfc_priv β€” which is literally the libfc internal info about a remote port πŸ’« bestie, this is the behind-the-scenes lore, the private stash of deets the kernel keeps about a remote port. not the public-facing stuff, the internal internal. iykyk 🫢


🌸 NAME 🌸

struct fc_rport_libfc_priv β€” libfc internal information about a remote port πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

like, here's the whole shape of it, no cap, copy it exactly:

struct fc_rport_libfc_priv {
    struct fc_lport            *local_port;
    enum fc_rport_state        rp_state;
    u16 flags;
  #define FC_RP_FLAGS_REC_SUPPORTED       (1 << 0);
  #define FC_RP_FLAGS_RETRY               (1 << 1);
  #define FC_RP_STARTED                   (1 << 2);
  #define FC_RP_FLAGS_CONF_REQ            (1 << 3);
    unsigned int               e_d_tov;
    unsigned int               r_a_tov;
 };

look at those four #defines living right up in the middle of the struct, iconic behavior honestly πŸ‘‘


πŸ¦‹ Members πŸ¦‹

  • local_port β€” the local port that's associated with this one, like its little buddy 🀝
  • rp_state β€” tells you it's READY for I/O, or DELETE when it's blocked πŸ™ˆ
  • flags β€” the REC and RETRY supported flags, the little boolean vibes 🚩
  • e_d_tov β€” error detect timeout value, measured in msec ⏱️
  • r_a_tov β€” resource allocation timeout value, also in msec ⏱️

🌈 SEE ALSO 🌈

the kernel file ./include/scsi/libfc.h and all its friends, fr fr β€” go read these next, they're all linked up in the group chat:


and that's the whole page, bestie, you ate that πŸ’– ok so the cute little sign-off: this came out of ./include/scsi and it's dated October 2026 β€” yeah, the future, main character energy ⭐ β€” and it's filed under struct fc_rport_libfc_priv(9). slay πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from