batadv_purge...ding_packets(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 everything
  • hard_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