batadv_tp_session_cookie(9)
π batadv_tp_session_cookie(9) β¨
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 aconst u8 session[2]bestie, two whole bytes of identity π«Άicmp_uidβ the icmp pseudo uid of the tp session, au8, 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 π
Kernel file ./net/batman-adv/tp_meter.cBATADV_TP_DEF_TEST_LENGTH(9)BATADV_TP_AWND(9)BATADV_TP_RECV_TIMEOUT(9)BATADV_TP_MAX_RTO(9)BATADV_TP_FIRST_SEQ(9)BATADV_TP_PLEN(9)BATADV_TP_MAX_UNACKED(9)batadv_tp_cwnd(9)batadv_tp_update_cwnd(9)batadv_tp_update_rto(9)batadv_tp_batctl_notify(9)batadv_tp_batctl_error_notify(9)batadv_tp_list_find_sender(9)batadv_tp_list_active(9)batadv_tp_list_find_sender_session(9)batadv_tp_sender_release(9)batadv_tp_sender_put(9)batadv_tp_list_detach(9)batadv_tp_sender_cleanup(9)batadv_tp_sender_end(9)batadv_tp_sender_shutdown(9)batadv_tp_sender_stopped(9)batadv_tp_sender_finish(9)batadv_tp_reset_sender_timer(9)batadv_tp_sender_timeout(9)batadv_tp_fill_prerandom(9)batadv_tp_send_msg(9)enum batadv_tp_ack_reaction(9)batadv_tp_handle_ack(9)batadv_tp_recv_ack(9)batadv_tp_avail(9)batadv_tp_wait_available(9)batadv_tp_send(9)batadv_tp_start_kthread(9)batadv_tp_start(9)batadv_tp_stop(9)batadv_tp_list_find_receiver_session(9)batadv_tp_receiver_release(9)batadv_tp_receiver_put(9)batadv_tp_reset_receiver_timer(9)batadv_tp_receiver_shutdown(9)batadv_tp_send_ack(9)batadv_tp_handle_out_of_order(9)batadv_tp_ack_unordered(9)batadv_tp_init_recv(9)batadv_tp_recv_msg(9)batadv_tp_meter_recv(9)batadv_tp_stop_all(9)batadv_tp_meter_init(9)
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
- 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