fc_elsct_send(9)
π fc_elsct_send π
Ok so bestie, welcome to the fc_elsct_send page β that's fc_elsct_send(9) if we're being formal, and it lives in the Kernel API Manual. This is the whole vibe: send an ELS or CT frame. That's it, that's the function, and honestly? Iconic. No cap. β¨
β¨ NAME β¨
fc_elsct_send β literally just sends an ELS or CT frame π
πΈ SYNOPSIS πΈ
struct fc_seq * fc_elsct_send (struct fc_lport *lport , u32 did , struct
fc_frame *fp , unsigned int op , void (*resp)(struct fc_seq *, struct
fc_frame *, void *) , void *arg , u32 timer_msec );
Look at her. Seven arguments. Main character energy fr fr. π«Ά
π¦ ARGUMENTS π¦
lportβ the local port you're sending the frame on, like, your home base πdidβ the destination ID for the frame, aka where it's going πfpβ the frame to be sent, the actual precious cargo πopβ the operational coderespβ the callback routine when the response is received, so you're not just sitting there refreshing, iykyk πargβ the argument to pass to the response callback routinetimer_msecβ the timeout period for the frame (in msecs), because we do NOT wait forever in this house β°
π₯ SEE ALSO π₯
Kernel file ./drivers/scsi/libfc/fc_elsct.c
Also go read fc_elsct_init(9) and fc_els_resp_type(9) β they're in the same friend group, you'll love them π
π Go forth and send those frames bestie, and remember: pass your arg to the callback or the callback will simply not know what you meant. No notes. π
And that's the tea π β brought to you from ./drivers/scsi/libfc, stamped October 2026, page fc_elsct_send(9). Mwah π
π¦ 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