mptcp_token_accept(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– mptcp_token_accept(9) πŸ’–

okay bestie, welcome to the Kernel API Manual β€” this one's a little cutie from the MPTCP corner of the kernel, and it's genuinely so fun once you get the vibe ✨


🌸 NAME 🌸

mptcp_token_accept β€” replace a req sk with full sock in token hash πŸ’…

like, the request sock's little placeholder era is OVER, the full sock is taking over the token hash now, no cap 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

void mptcp_token_accept (struct mptcp_subflow_request_sock *req , struct mptcp_sock *msk );

it's giving void, it's giving two arguments, it's giving iconic πŸŽ€


✨ ARGUMENTS ✨

  • req β€” the request socket to be removed πŸ‘‹ she's done her job, she's leaving the group chat
  • msk β€” the just cloned socket linked to the new connection πŸ‘‘ freshly cloned, main character energy, ready to be linked up

πŸ’€ DESCRIPTION πŸ’€

Called when a SYN packet creates a new logical connection β€” i.e. when it is not a join request 🌈

so like, brand new connection, not somebody sliding into an existing one, iykyk. that's the moment this function gets its moment, and honestly? deserved πŸ’œ


πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./net/mptcp/token.c β€” go read her, she's everything πŸ“–

the whole token fam, fr fr 🧚 they all ate and left no crumbs πŸ“


lowkey reminder bestie: req is getting removed here β€” that's the whole point of the function, so don't come for me when she's gone πŸ’…

and that's the whole page!! 🌟 this gem lives in ./net/mptcp, and the manual's dated October 2026 β€” so like, future vibes only ⭐ bye bestie, go accept some tokens πŸ’–πŸ¦‹πŸ‘‘

πŸ“¦ where this page comes from