STRUCT FC4_PROV(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 be NULL. 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 assume module is 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:

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