iscsi_tcp_hdr_recv_done(9)
π iscsi_tcp_hdr_recv_done(9) π
okay bestie, this page is from the Kernel API Manual, and we're talking about iscsi_tcp_hdr_recv_done(9). It's giving kernel callback main character energy, and yes, we're gonna get through every single detail together. π«Ά
β¨ NAME β¨
iscsi_tcp_hdr_recv_done β process PDU header
π SYNOPSIS π
int iscsi_tcp_hdr_recv_done (struct iscsi_tcp_conn *tcp_conn , struct
iscsi_segment *segment );
π¦ ARGUMENTS π¦
tcp_connβ the iSCSI TCP connection, aka the connection bestie in question. πsegmentβ the buffer segment being processed, aka the chunk we're looking at. πΈ
π DESCRIPTION π
So this is the callback invoked when the PDU header has been received. That's the whole vibe. If the header is followed by additional header segments, we go back for more data. Literally: more header? go back, grab more data, repeat. No cap. β¨
ngl this is a very "callback does its little job and loops for more" situation. π
β SEE ALSO β
The kernel file is ./drivers/scsi/libiscsi_tcp.c, and the related crew is:
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_recv_segment_is_hdr(9)iscsi_tcp_recv_skb(9)iscsi_tcp_task_init(9)iscsi_tcp_task_xmit(9)
and that's the page, bestie! π sign-off time: the footer energy is source/version ./drivers/scsi, date October 2026, and title iscsi_tcp_hdr_recv_done(9). slay, go touch some kernel code, periodt. π
β¨
π¦ 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