fc_seq_send(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’Œ fc_seq_send(9) β€” the send-a-frame one πŸ’Œ

okay bestie, welcome to the Kernel API Manual ✨ this one is short and sweet and honestly kind of a baddie. it's fc_seq_send, and no cap, its whole personality is: take a frame, yeet it out on a sequence/exchange pair you already have. that's it. that's the whole vibe πŸŽ€


🌸 NAME 🌸

fc_seq_send β€” send a frame using an existing sequence/exchange pair πŸ’… (emphasis on existing, she does not make new ones, she just uses what you hand her, iykyk)


πŸ¦‹ SYNOPSIS πŸ¦‹

int fc_seq_send (struct fc_lport *lport , struct fc_seq *sp , struct
fc_frame *fp );

it returns an int, bestie. that's the tea β˜•


✨ ARGUMENTS ✨

  • lport β€” the local port that the exchange is gonna be sent on 🫢 like, where the whole thing lives.
  • sp β€” the sequence to be sent 🧚 this is the sequence, she's already got her act together, you're just sending her.
  • fp β€” the frame to be sent on the exchange πŸ’Œ the actual frame, the main character, the payload carrier.

⭐ NOTE ⭐

okay so this is important so listen up πŸ“’ the frame will be freed. yes, freed. gone. and it happens one of two ways:

  • by a direct call to fc_frame_free(fp), or
  • indirectly by calling libfc_function_template.frame_send

either way, do not be out here touching that frame afterwards, that's giving use-after-free energy and we do NOT stan πŸ’€


πŸ’œ SEE ALSO πŸ’œ

the whole friend group, fr fr β€” you can find all of these in the kernel file ./drivers/scsi/libfc/fc_exch.c:


and that's the whole page, bestie 🫢 go send some frames responsibly πŸ’–

mwah πŸ’‹ this one comes to you from ./drivers/scsi/libfc, dated October 2026 β€” see you in the next manpage, love u, bye πŸ‘‘

πŸ“¦ where this page comes from