batadv_bla_check_duplist(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_bla_check_duplist(9) πŸ’…

okay so bestie, this is the Kernel API Manual page for batadv_bla_check_duplist, and it is literally the vibe check for broadcast duplicates. no cap. 🫢


✨ NAME ✨

batadv_bla_check_duplist β€” Check if a frame is in the broadcast dup.


🌸 SYNOPSIS 🌸

bool batadv_bla_check_duplist (struct batadv_priv *bat_priv , struct
       sk_buff *skb , int payload_offset , const u8 *orig );

πŸŽ€ ARGUMENTS πŸŽ€

  • bat_priv β€” the bat priv with all the mesh interface information. it’s giving β€œmain character data structure” energy, fr fr.
  • skb β€” contains the multicast packet to be checked. yes bestie, this is the packet in question πŸ’Œ
  • payload_offset β€” offset in the skb, marking the start of the data to be CRC'ed. iconic little pointer into the payload ✨
  • orig β€” originator mac address, NULL if unknown. if we don’t know who sent it, it’s just NULL and we move on 🫑

πŸ¦‹ DESCRIPTION πŸ¦‹

Check if it is on our broadcast list. another gateway might have sent the same packet because it is connected to the same backbone, so we have to remove this duplicate. the way that mesh networking just does that 😭

This is performed by checking the CRC, which will tell us with a good chance that it is the same packet. If it is furthermore sent by another host, drop it. We allow equal packets from the same host however as this might be intended. periodt πŸ’…

lowkey important: same packet from another host gets dropped, but equal packets from the same host are allowed because that might be intended. no extra guesses, that’s just the rule πŸ”₯

πŸ‘‘ RETURN πŸ‘‘

true if a packet is in the duplicate list, false otherwise. simple as that, bestie. βœ…


🌈 SEE ALSO 🌈

Kernel file ./net/batman-adv/bridge_loop_avoidance.c β€” the source file, iykyk 🧚


and that’s the whole squad, bestie 🫢 signed off from ./net/batman-adv, dated October 2026, for the batadv_bla_check_duplist(9) page in the Kernel API Manual. slay πŸ’–βœ¨

πŸ“¦ where this page comes from