batadv_tp_session_cookie(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the Kernel API Manual β€” yes we're in kernel land today, and honestly? it's giving main character energy. this little function's whole job is making a session cookie based on session ids, and she does it flawlessly. no notes. πŸŽ€


🌸 NAME 🌸

batadv_tp_session_cookie β€” generate session cookie based on session ids πŸͺ


✨ SYNOPSIS ✨

u32 batadv_tp_session_cookie (const u8 session[2] , u8 icmp_uid );

like, that's the whole signature. short, sweet, iconic. πŸ‘‘


πŸ’– ARGUMENTS πŸ’–

  • session β€” the TP session identifier, it's a const u8 session[2] bestie, two whole bytes of identity 🫢
  • icmp_uid β€” the icmp pseudo uid of the tp session, a u8, do not lose her πŸ’…

πŸ”₯ RETURN πŸ”₯

a 32 bit tp_meter session cookie. that's a u32 babe, a whole snack of a return value 🌈

no cap, that's literally all she gives back β€” one cookie, 32 bits, periodt.

πŸ¦‹ SEE ALSO πŸ¦‹

the whole friend group, fr fr β€” and yes, we're listing every single one because nobody gets left behind πŸ’œ

that's the entire squad, go say hi to all of them 🧚


okay that's the page!! she lives in ./net/batman-adv and this edition is dated October 2026 β€” mwah, love u, go read tp_meter.c πŸ’–πŸŽ€βœ¨

πŸ“¦ where this page comes from