batadv_bla_c...cast_duplist(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_bla_c...cast_duplist(9) β€” the Kernel API Manual, bestie edition πŸŽ€

okay so real talk, this page lives in the Kernel API Manual (that's batadv_bla_c...cast_duplist(9), yes the name is literally truncated with dots, that's not me being lazy, that's just how it's printed πŸ’€) and it's all about the bridge loop avoidance broadcast duplicate list. iconic name, lowkey unpronounceable, but we move.


✨ NAME ✨

batadv_bla_check_bcast_duplist β€” check if a frame is in the broadcast dup. that's it. that's the whole job. πŸ¦‹


🌸 SYNOPSIS 🌸

bool batadv_bla_check_bcast_duplist (struct batadv_priv *bat_priv ,
       struct sk_buff *skb );

it returns a bool, it takes two pointers, and it's about to do a vibe check on your packet. periodt.


🫢 ARGUMENTS 🫢

  • bat_priv β€” the bat priv with all the mesh interface information. yes, all of it. this is the main character struct of the mesh, she's carrying everything πŸ’…
  • skb β€” contains the bcast_packet to be checked. this is the little packet in question, and we're about to find out if she's a duplicate or not πŸ™ˆ

πŸ‘‘ DESCRIPTION πŸ‘‘

okay so here's the tea β˜• β€” this function checks if the frame is on our broadcast list. that's the vibe check.

here's why that matters, and it's kind of a big deal: another gateway might have sent the same packet because it is connected to the same backbone. so we have to remove this duplicate. no cap. two gateways, same backbone, same packet showing up twice β€” we're not having it, the duplicate gets yeeted. πŸ—‘οΈβœ¨


πŸ”₯ RETURN πŸ”₯

  • true if a packet is in the duplicate list πŸ’€ (she's a dupe, bestie)
  • false otherwise ✨ (fresh packet, main character energy, let her through)

🌈 SEE ALSO 🌈

first up, the source file itself:

  • Kernel file ./net/batman-adv/bridge_loop_avoidance.c

and now the whole friend group, fr fr β€” here's literally every single one, no skips, we don't do skipping here:

like, that's the entire roster. iykyk 🧚


ngl, the title up top being batadv_bla_c...cast_duplist(9) with the literal ... in the middle is so real of it β€” truncated queen πŸ‘‘

and that's the page!! mwah πŸ’– this one came from ./net/batman-adv, dated October 2026, and the footer says batadv_bla_c...cast_duplist(9) one more time just to close the loop (avoidance loop, get it 😭) β€” slay, go read the source, and remember: duplicates get removed, you get to stay πŸ“βœ¨

πŸ“¦ where this page comes from