STRUCT FC_RPORT_LIBFC_PRIV(9)
β¨ 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'sREADYfor I/O, orDELETEwhen it's blocked πflagsβ theRECandRETRYsupported 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:
enum fc_lport_state(9)enum fc_rport_state(9)struct fc_disc_port(9)enum fc_rport_event(9)struct fc_rport_operations(9)struct fc_rport_priv(9)struct fc_stats(9)struct fc_seq_els_data(9)struct fc_fcp_pkt(9)struct fc_seq(9)struct fc_exch(9)struct fc_disc(9)struct fc_lport(9)struct fc4_prov(9)fc_lport_test_ready(9)fc_set_wwnn(9)fc_set_wwpn(9)fc_lport_state_enter(9)fc_lport_init_stats(9)fc_lport_free_stats(9)lport_priv(9)libfc_host_alloc(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms