batadv_tvlv..._packet_buff(9)
π batadv_tvlv..._packet_buff(9) π
okay so bestie, welcome to the Kernel API Manual β this is the page for batadv_tvlv..._packet_buff(9) and honestly it's giving "small function, big responsibilities" energy. Let's get into it π«Ά
β¨ NAME β¨
batadv_tvlv_realloc_packet_buff β reallocate packet buffer to accommodate requested packet size
like, it resizes the buffer so the packet you want to shove in there actually fits. lowkey iconic of it π
πΈ SYNOPSIS πΈ
bool batadv_tvlv_realloc_packet_buff (struct batadv_ogm_buf *ogm_buff ,
size_t additional_packet_len );
π¦ ARGUMENTS π¦
ogm_buffβ ogm packet buffer. that's the buffer we're out here reallocating, no cap πadditional_packet_lenβ requested additional packet size on top of minimum size. so it's not the total size bestie, it's extra size stacked on top of the minimum, iykyk β¨
π RETURN π
returns true if the packet buffer could be changed to the requested size, and false otherwise. so likeβ¦ vibe check on whether the realloc popped off or not π
π SEE ALSO π
Kernel file ./net/batman-adv/tvlv.c β and the whole friend group:
batadv_tvlv_handler_release(9)batadv_tvlv_handler_put(9)batadv_tvlv_handler_get(9)batadv_tvlv_container_release(9)batadv_tvlv_container_put(9)batadv_tvlv_container_get(9)batadv_tvlv_container_list_size(9)batadv_tvlv_container_remove(9)batadv_tvlv_container_unregister(9)batadv_tvlv_container_register(9)batadv_tvlv_container_ogm_append(9)batadv_tvlv_call_handler(9)batadv_tvlv_hdr_next(9)batadv_tvlv_containers_contain(9)batadv_tvlv_containers_process(9)batadv_tvlv_ogm_receive(9)batadv_tvlv_handler_register(9)batadv_tvlv_handler_unregister(9)batadv_tvlv_unicast_send(9)
main character energy only in ./net/batman-adv β that's the source, bestie. and this page is stamped October 2026 π
that's the whole page, periodt π go forth and realloc responsibly, mwah πβ¨
π¦ 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