batadv_forw_..._bcast_queue(9)
π batadv_forw_..._bcast_queue(9) π
okay so bestie, welcome to the Kernel API Manual β yes that's the manual name, we're literally in the kernel docs rn and this page is all about one tiny queen of a function π
β¨ NAME β¨
batadv_forw_packet_bcast_queue β try to queue a broadcast packet π¦
πΈ SYNOPSIS πΈ
void batadv_forw_packet_bcast_queue (struct batadv_priv *bat_priv ,
struct batadv_forw_packet *forw_packet , unsigned long send_time );
like, three args, one void return, no notes π
π ARGUMENTS π
bat_privβ the bat priv, aka the thing holding all the mesh interface information. she's giving main character energy, she knows everything πforw_packetβ the forwarding packet we're gonna queue. this is the passenger, bestie πsend_timeβ timestamp injiffiesfor when the packet is to be sent. yes,jiffies, that's the unit, no cap β°
π DESCRIPTION π
This function tries to (re)queue a broadcast packet. the "re" is doing a lot of work there and we love that for her β¨
π«Ά important vibe check: the caller needs to ensure that forw_packet->delayed_work was initialized. that's on you, not on the function. she's not gonna do it for you, bestie π
π₯ SEE ALSO π₯
Kernel file ./net/batman-adv/send.c β and literally the whole send.c friend group, they all ate:
batadv_send_skb_packet(9)batadv_send_broadcast_skb(9)batadv_send_unicast_skb(9)batadv_send_skb_to_orig(9)batadv_send_skb_push_fill_unicast(9)batadv_send_skb_prepare_unicast(9)batadv_send_skb_prepare_unicast_4addr(9)batadv_send_skb_unicast(9)batadv_send_skb_via_tt_generic(9)batadv_send_skb_via_gw(9)batadv_forw_packet_free(9)batadv_forw_packet_alloc(9)batadv_forw_packet_was_stolen(9)batadv_forw_packet_steal(9)batadv_forw_packet_list_steal(9)batadv_forw_packet_list_free(9)batadv_forw_packet_queue(9)batadv_forw_packet_ogmv1_queue(9)batadv_forw_bcast_packet_to_list(9)batadv_forw_bcast_packet_if(9)batadv_send_no_broadcast(9)__batadv_forw_bcast_packet(9)batadv_forw_bcast_packet(9)batadv_send_bcast_packet(9)batadv_forw_packet_bcasts_left(9)batadv_forw_packet_bcasts_dec(9)batadv_forw_packet_is_rebroadcast(9)batadv_send_outstanding_bcast_packet(9)batadv_purge_outstanding_packets(9)
like that's the whole group chat, iykyk π
and that's the page!! this lil beauty lives in ./net/batman-adv, dated October 2026, and she's filed under batadv_forw_..._bcast_queue(9) β go off, queen πππ
π¦ 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