batadv_tp_li...nder_session(9)
π¦ batadv_tp_list_find_sender_session(9) π¦
okay bestie, welcome to the Kernel API Manual page for this lil lookup icon β no cap, itβs giving βfind the right sender session in the global listβ energy. Letβs get into it. β¨
πΈ NAME πΈ
batadv_tp_list_find_sender_session β find the tp_vars sender session object in the global list. literally thatβs the whole vibe. π
π SYNOPSIS π
struct batadv_tp_sender * batadv_tp_list_find_sender_session (struct
batadv_priv *bat_priv , const u8 *dst , const u8 *session );
π«Ά ARGUMENTS π«Ά
bat_privβ the bat priv with all the mesh interface information. yes, all of it. πdstβ the other endpoint MAC address to look for. itβs the βwho are we trying to match?β address. π¦sessionβ session identifier. the session-y little key for the lookup. πΈ
π DESCRIPTION π
okay so the function goes looking for a tp_vars object where dst matches as end_point and session matches as the tp meter session. when it finds that match, it returns it after having increment the refcounter β so the refcounter goes up before it hands the object over. π₯
if thereβs no match, it returns NULL. not found = NULL, bestie. thatβs the rule. π
reminder: the refcounter increment is part of the deal here β donβt forget it, iykyk. π«Ά
β RETURN β
matching tp_vars object, or NULL when no tp_vars was found. simple, iconic, periodt. π
π SEE ALSO π
Kernel file: ./net/batman-adv/tp_meter.c β thatβs the source file the page points at. π
the whole squad of references:
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_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 page, bestie! source/version line: ./net/batman-adv Β· date: October 2026 Β· footer title: batadv_tp_li...nder_session(9) β periodt. π
π¦ 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