batadv_tp_start(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_tp_start(9) β€” from the Kernel API Manual, bestie

okay so picture this: you're deep in the kernel, section 9, and the manual is called the Kernel API Manual β€” and today's main character is batadv_tp_start(9). she starts a whole new tp meter session. that's it, that's the gig. πŸŽ€


✨ NAME ✨

batadv_tp_start β€” start a new tp meter session πŸš€


πŸ¦‹ SYNOPSIS πŸ¦‹

void batadv_tp_start (struct batadv_priv *bat_priv , const u8 *dst , u32
     test_length , u32 *cookie );

like, look at her. void return, four arguments, zero drama. periodt. πŸ’…


🌸 ARGUMENTS 🌸

  • bat_priv β€” the bat priv that's holding, like, all the mesh interface information. your whole vibe in one struct. 🫢
  • dst β€” the receiver MAC address. yes, the actual MAC. no cap, that's who's getting the tp meter session. πŸ’Œ
  • test_length β€” test length in milliseconds. so keep an eye on your units, bestie, ms not seconds, i'm literally begging 😭
  • cookie β€” session cookie. that's the session cookie. iconic little pointer. πŸͺ

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./net/batman-adv/tp_meter.c β€” and the whole friend group, fr fr: BATADV_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_session_cookie(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_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 group chat, everyone showed up. πŸ”₯


ngl that's a lot of siblings but you're gonna want to know them. sender side, receiver side, timers, windows, the whole family tree. iykyk 🧚

and that's the page!! mwah πŸ’– so this whole thing lives in ./net/batman-adv and the version/date situation is October 2026 β€” putting that here as my little sign-off so nothing gets lost, you're welcome, slay β­πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from