irdma_handle_tcp_options(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… irdma_handle_tcp_options(9) β€” Kernel API Manual ✨

okay so bestie, welcome to irdma_handle_tcp_options, a little function from the Kernel API Manual that lives rent-free in the iRDMA connection-management corner of the kernel πŸ’– tl;dr: it sets up the TCP context info after the TCP options have been parsed. That's the whole vibe. That's the assignment. πŸŽ€


✨ NAME ✨

irdma_handle_tcp_options β€” setup TCP context info after parsing TCP options 🌸


πŸ¦‹ SYNOPSIS πŸ¦‹

int irdma_handle_tcp_options (struct irdma_cm_node *cm_node , struct
       tcphdr *tcph , int optionsize , int passive );

she returns an int, no cap. πŸ“Ž


πŸ‘‘ ARGUMENTS πŸ‘‘

  • cm_node β€” connection's node πŸ’« like, the actual node belonging to this connection
  • tcph β€” pointer tcp header 🧚 a pointer to the TCP header, bestie
  • optionsize β€” size of options rcvd πŸ“ literally the size of the options you received
  • passive β€” active or passive flag 🚦 it's giving "which side are we on" energy
ngl the whole function is one job: take these four things and go set up that TCP context. slay. πŸ’…

πŸ’€ SEE ALSO πŸ’€

Kernel file ./drivers/infiniband/hw/irdma/cm.c πŸ‘€ and honestly the entire extended friendship group, in order:

that's the whole group chat, every single member, invited to the function πŸ’œ


and that's the page 🫢 source lives in ./drivers/infiniband/hw/irdma, dated October 2026 β€” go off, kernel docs, you ate that. periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from