batadv_forw..._rebroadcast(9)
π batadv_forw..._rebroadcast(9) β¨
okay so this is a page straight out of the Kernel API Manual (yes, the kernel has a manual, and yes it's iconic) β and bestie, we're talking about the function batadv_forw_packet_is_rebroadcast. the way that name is lowkey a mouthful but it does exactly what it says π«Ά
πΈ NAME πΈ
batadv_forw_packet_is_rebroadcast β check packet for previous transmissions π
like, it literally just peeks at a packet and is like "hmm⦠have you been sent before? be honest." no cap.
β¨ SYNOPSIS β¨
bool batadv_forw_packet_is_rebroadcast (struct batadv_forw_packet
*forw_packet );
it gives you back a bool, which is giving very "yes or no bestie, pick one" π
π ARGUMENTS π
forw_packetβ the packet to check π that's the one we're vibe-checking, fr fr.
β RETURN β
Trueif this packet was transmitted before π (been there, done that, already on the network)falseotherwise π¦ (fresh, untouched, main character energy)
periodt. that's the whole return value.
π SEE ALSO π
okay this is the part where the manpage just flexes its whole friend group π literally every function in ./net/batman-adv/send.c:
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_bcast_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_send_outstanding_bcast_packet(9)batadv_purge_outstanding_packets(9)
and the whole squad lives in the kernel file ./net/batman-adv/send.c π§ iykyk π
tiny heads-up bestie: this page is filed under ./net/batman-adv in the kernel tree, dated October 2026 β so if you're reading it in the future, hiii, hope the kernel is slaying ππ
laterz, go check those packets πππ¦
π¦ 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