batadv_purge...ding_packets(9)
π batadv_purge_outstanding_packets(9) β the Kernel API Manual glow-up β¨
okay so bestie, welcome to the Kernel API Manual entry for batadv_purge_outstanding_packets(9) and trust me, this one's giving "cleanup crew but make it mesh networking" πΈ she's not flashy, she's necessary.
β¨ NAME β¨
batadv_purge_outstanding_packets β stop and purge the scheduled bcast/OGMv1 packets, periodt π
π SYNOPSIS π
void batadv_purge_outstanding_packets (struct batadv_priv *bat_priv ,
const struct batadv_hard_iface *hard_iface );
π¦ ARGUMENTS π¦
bat_privβ the bat priv that's holding all the mesh interface information π«Ά like, this is the main character of the struct world, she knows everythinghard_ifaceβ the hard interface you're cancelling and purging the bcast/ogm packets on, iykyk π₯
π DESCRIPTION π
okay so what she does: this method cancels and purges any broadcast and OGMv1 packet on the given hard_iface. no leftovers, no stragglers, we're cleaning house π§Ήβ¨
and here's the slay part β if hard_iface is NULL, then broadcast and OGMv1 packets on all hard interfaces will be canceled and purged. one NULL, every interface, she ate π₯π
β οΈ and ngl bestie, this function might sleep. so likeβ¦ don't be weird about it π
π SEE ALSO π
Kernel file ./net/batman-adv/send.c, plus the whole friend group β go say hi π:
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_forw_packet_is_rebroadcast(9), batadv_send_outstanding_bcast_packet(9)
and that's the whole vibe check, bestie π«Ά this page lives in ./net/batman-adv, dated October 2026, and it's literally titled batadv_purge...ding_packets(9) β mwah, iconic, no cap πβ¨
π¦ 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