iscsi_tcp_task_xmit(9)
π¦ iscsi_tcp_task_xmit(9) β the Kernel API Manual β¨
okay so bestie, welcome to the section 9 glow-up of iscsi_tcp_task_xmit π
this one lives in the Kernel API Manual and it's all about shipping a normal PDU task out the door. short page, but she's iconic in her own lowkey way π
πΈ NAME πΈ
iscsi_tcp_task_xmit β xmit normal PDU task π
β¨ SYNOPSIS β¨
int iscsi_tcp_task_xmit (struct iscsi_task *task );
like, that's the whole vibe. one function, one argument, one int coming back at you π«Ά
π§ ARGUMENTS π§
taskβ the iscsi command task. that's her. that's the one you're transmitting. main character energy fr fr π
π DESCRIPTION π
so here's the tea β β the caller is expecting certain things back from you, and ngl you have to deliver:
- return
0when everything was transmitted successfully β slay, we love a clean finish - return
-EAGAINif there's still data sitting in the queue π like, not done yet bestie, come back later - return
!= 0for any other kind of error π that's the catch-all "something went sideways" bucket
no cap, those return values are the whole contract β don't get cute with them π
π₯ SEE ALSO π₯
the kernel file is ./drivers/scsi/libiscsi_tcp.c and honestly the whole friend group shows up here, so let's give them their moment π:
iscsi_tcp_segment_init_sg(9)iscsi_tcp_segment_map(9)iscsi_tcp_segment_done(9)iscsi_tcp_segment_recv(9)iscsi_tcp_hdr_recv_prep(9)iscsi_tcp_cleanup_task(9)iscsi_tcp_data_in(9)iscsi_tcp_r2t_rsp(9)iscsi_tcp_hdr_dissect(9)iscsi_tcp_hdr_recv_done(9)iscsi_tcp_recv_segment_is_hdr(9)iscsi_tcp_recv_skb(9)iscsi_tcp_task_init(9)
and that's the page, bestie π«Ά she comes to you from ./drivers/scsi in the October 2026 era of the Kernel API Manual β go forth and transmit responsibly πβ¨
π¦ 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