fc_fcp_pkt_send(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ fc_fcp_pkt_send (9) β€” Kernel API Manual, bestie edition ✨


Okay so picture this: you're deep in the kernel, you've got yourself a Fibre Channel port, and you've got a packet that needs to go out. That's literally this function. It's fc_fcp_pkt_send, and it's here to make that happen. Welcome to the Kernel API Manual, no cap. πŸ¦‹


πŸŽ€ NAME πŸŽ€

fc_fcp_pkt_send β€” Send a fcp_pkt

Like, just… send it. Slay. πŸ’…


🌸 SYNOPSIS 🌸

int fc_fcp_pkt_send (struct fc_lport *lport , struct fc_fcp_pkt *fsp );

πŸ’– ARGUMENTS πŸ’–

  • lport β€” The local port to send the FCP packet on. Think of it as the vibe check location for your packet. πŸ“
  • fsp β€” The FCP packet to send. This is the actual main character packet. πŸ‘‘

πŸ”₯ RETURN πŸ”₯

Returns zero for success and -1 for failure. The way this return value is either "we ate" or "we flopped" and there is no in-between. 😭

Locks: Called without locks held. So like… don't be holding any locks when you call this, bestie. That's important. No cap. πŸ”’πŸ™…β€β™€οΈ

🌈 SEE ALSO 🌈

Okay so this function rolls DEEP with its friends. Here's the whole squad, all from the kernel file ./drivers/scsi/libfc/fc_fcp.c:

Like I said β€” the whole squad. iykyk. 🫢


And that's the tea! This icon of a manpage lives in ./drivers/scsi/libfc and it's dated October 2026. Periodt. πŸ‘‘βœ¨

πŸ“¦ where this page comes from