mptcp_token_accept(9)
π 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 chatmskβ 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 π
mptcp_token_new_request(9)mptcp_token_new_connect(9)mptcp_token_get_sock(9)mptcp_token_iter_next(9)mptcp_token_destroy_request(9)mptcp_token_destroy(9)
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
- 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