iscsi_sw_tcp_xmit_segment(9)
β¨ iscsi_sw_tcp_xmit_segment β¨
okay so this is a page from the Kernel API Manual, bestie β it's iscsi_sw_tcp_xmit_segment(9) and it's genuinely iconic in a quiet, backend-driver way π
πΈ NAME πΈ
iscsi_sw_tcp_xmit_segment β transmit segment π
π¦ SYNOPSIS π¦
int iscsi_sw_tcp_xmit_segment (struct iscsi_tcp_conn *tcp_conn , struct
iscsi_segment *segment );
like, it returns an int, takes two structs, slay β¨
π ARGUMENTS π
tcp_connβ the iSCSI TCP connection π«Ά that's the whole vibesegmentβ the buffer to transmnit
ok so real talk, the original page literally spells it transmnit and I'm not about to lie to you β that's the word on the page π it means the buffer you're sending, no cap
π₯ DESCRIPTION π₯
So what this function does: it transmits as much of the buffer as the network layer will accept, and returns the number of bytes transmitted π§ that's it, that's the whole job, and it ate π
If CRC hashing is enabled, the function will compute the hash as it goes β like it's multitasking, main character energy tbh. And then β when the entire segment has been transmitted β it will retrieve the hash value and send it along as well π so the hash just hops on the ride at the end, obsessed π
π SEE ALSO π
Kernel file ./drivers/scsi/iscsi_tcp.c β and also these besties, go say hi π¦
iscsi_sw_tcp_recv(9)iscsi_sw_sk_state_check(9)iscsi_sw_tcp_write_space(9)iscsi_sw_tcp_xmit(9)iscsi_sw_tcp_xmit_qlen(9)
ok that's the whole page, no notes π stay hydrated, read your kernel source, mwah π
signing off from ./drivers/scsi β October 2026 β this has been your girl, iscsi_sw_tcp_xmit_segment(9) πβ¨
π¦ 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