batadv_tp_h...out_of_order(9)
π batadv_tp_handle_out_of_order β the Kernel API Manual page, bestie edition π
okay so you found the batadv_tp_h...out_of_order(9) page in the Kernel API Manual β proud of you, slay π. Sit down, hydrate, and let me tell you about the little function that holds onto your chaotic late-arriving packets like a responsible friend holding your bag π«Ά.
β¨ NAME β¨
batadv_tp_handle_out_of_order β store an out of order packet π¦
πΈ SYNOPSIS πΈ
bool batadv_tp_handle_out_of_order (struct batadv_tp_receiver *tp_vars ,
u32 seqno , u32 payload_len );
literally the whole vibe right there π:
- returns a
bool(iconic, yes/no energy) - takes
struct batadv_tp_receiver *tp_vars, au32 seqno, and au32 payload_len
π ARGUMENTS π
tp_varsβ the private data of the current TP meter session. it's giving "her personal group chat", iykyk πseqnoβ sequence number of new received packet βpayload_lenβ length of the received packet. yes bestie, we measure π
π§ DESCRIPTION π§
Store the out of order packet in the unacked list for late processing π₯. Not me β putting it in a list so it doesn't get lost in the void π.
These packets are kept in this list so that they can be ACKed at once as soon as all the previous packets have been received. like, the second the missing ones show up, everybody gets ACKed in one go β main character energy, no cap β¨πΈ.
π RETURN π
true if the packed has been successfully processed, false otherwise π.
bestie the original page literally says "packed" and I'm not about to fix it, that's β¨canonβ¨ β I'm just the messenger π
π₯ SEE ALSO π₯
Kernel file ./net/batman-adv/tp_meter.c β go read her, she's long but she ate π:
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_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_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 whole page bestie, every flag, every (9), every crumb preserved β nothing dropped, periodt π
β¨
and that's a wrap π this cutie lives in ./net/batman-adv and the page is dated October 2026 β see you in the future, icon πβπ
π¦ 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