ENUM SRP_RPORT_STATE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 enum srp_rport_state(9) β€” SRP transport layer state πŸ’…

okay so bestie, welcome to the Kernel API Manual ✨ this one is short and sweet and it's literally just the vibe check states of the SRP transport layer πŸ¦‹


✨ NAME ✨

enum srp_rport_state β€” the SRP transport layer state, i.e. what mood your port is in rn πŸŽ€


🧚 SYNOPSIS 🧚

enum srp_rport_state {
    SRP_RPORT_RUNNING ,
    SRP_RPORT_BLOCKED ,
    SRP_RPORT_FAIL_FAST ,
    SRP_RPORT_LOST

};

no cap, that's the whole enum πŸ’– four states, four moods, one port.


πŸ‘‘ Constants πŸ‘‘

  • SRP_RPORT_RUNNING β€” transport layer operational. she's up, she's working, main character energy only 🌈
  • SRP_RPORT_BLOCKED β€” transport layer is not operational; the fast I/O fail timer is running and I/O has been blocked 🫢 so like, stuff's on hold while the timer does its thing.
  • SRP_RPORT_FAIL_FAST β€” the fast I/O fail timer has expired; fail I/O fast πŸ”₯ clock's up, we're bailing immediately.
  • SRP_RPORT_LOST β€” port is being removed πŸ’€ iconic exit, honestly.
ngl these are states not suggestions β€” if you see SRP_RPORT_BLOCKED or worse, your I/O is not having a good time 😭

πŸ¦‹ SEE ALSO πŸ¦‹

kernel file ./include/scsi/scsi_transport_srp.h πŸ‘€ plus struct srp_rport(9), struct srp_function_template(9), and srp_chkready(9) β€” go read those next, iykyk πŸ“šβœ¨


alright bestie that's the page!! this one came from ./include/scsi in the Kernel API Manual, dated October 2026, and it's filed under enum srp_rport_state(9) πŸŽ€ slay, go read the source, periodt πŸ’œ

πŸ“¦ where this page comes from