batadv_forw_packet_free(9)
π NAME
batadv_forw_packet_free β okay so this is the function that frees a forwarding packet, bestie, that's literally the whole vibe β¨
π SYNOPSIS
void batadv_forw_packet_free (struct batadv_forw_packet *forw_packet ,
bool dropped );
So yeah, it returns void β nothing comes back out, no return value era, she just does her thing and dips π
The two things you gotta hand her are forw_packet and dropped, and yes there's a comma situation between them, don't come for me, that's just how it's written π«Ά
π¦ ARGUMENTS
forw_packetβ the packet you're freeing, queen. This is the one getting the goodbye hug π Like, the actual packet to free.droppedβ aboolthat tells everyone why we're freeing it β specifically, whether the packet is freed because it is dropped. So it's the receipts for the reason, iykyk π
πΈ DESCRIPTION
This frees a forwarding packet and releases any resources it might have claimed. That's it, that's the whole job β clean up, hand back whatever that packet was holding onto, no loose ends left behind, no cap π
Like, she takes the packet, frees it, and makes sure every resource it might have claimed gets let go too. Tidy queen behavior, honestly π
β SEE ALSO
The whole friend group π«Ά β all of these live in the kernel file ./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_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_forw_packet_is_rebroadcast(9)batadv_send_outstanding_bcast_packet(9)batadv_purge_outstanding_packets(9)
β¨ and that's the page, bestie β¨ This whole little masterpiece is from ./net/batman-adv, dated October 2026, and it's part of the Kernel API Manual π§ Go off, kernel docs, you ate π
π₯
π¦ 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