STRUCT FC4_PROV(9)
π struct fc4_prov(9) π
okay so this is a page from the Kernel API Manual β yes, the kernel docs, we're going there, and honestly? iconic of us. sit down bestie, this one's short and sweet π
β¨ NAME β¨
struct fc4_prov β FC-4 provider registration π¦
like, it's the little struct that lets an FC-4 provider slide into the registry. that's the whole vibe check.
β¨ SYNOPSIS β¨
struct fc4_prov {
int (*prli)(struct fc_rport_priv *, u32 spp_len, const struct
fc_els_spp *spp_in, struct fc_els_spp *spp_out);
void (*prlo)(struct fc_rport_priv *);
void (*recv)(struct fc_lport *, struct fc_frame *);
struct module *module;
};
four members. four. that's it. it's giving minimalism, it's giving "i don't need 40 fields to serve cunt" π
β¨ Members β¨
the squad π«Ά
prliβ the handler for an incoming PRLI. yes bestie, PRLI. it gets called when one shows up and it's like "okay, i got this" π₯prloβ the handler for session reset. things got messy, the session needs a reset, and this function is the one who handles it πrecvβ the handler for an incoming request. incoming request hits the door and this is who answers it πmoduleβ pointer to module. may beNULL. not required. it's optional. it's giving low-maintenance king energy π
ngl,<red>may be NULL</red>is a real caveat here β don't just assumemoduleis always set, because it fr fr is not π
β¨ SEE ALSO β¨
the extended universe, and it is large π first up, the kernel file itself:
./include/scsi/libfc.h
and now the whole friend group, all of them, no skipping:
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_libfc_priv(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)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)
like, go read them. all of them. i'll wait π
and that's the whole page, bestie β you ate that π mwah π
source: ./include/scsi β dated October 2026, so it's from the future and still slaying βπ
π¦ 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