batadv_check_known_mac_addr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– batadv_check_known_mac_addr(9) πŸ’–

okay bestie, this page is from the Kernel API Manual, and we’re about to get into it. no cap, it’s all about batadv_check_known_mac_addr(9) ✨

🌸 NAME 🌸

batadv_check_known_mac_addr β€” warn about duplicate hard interface MAC addresses. that’s the whole vibe, and honestly it’s a useful one 🫢

πŸŽ€ SYNOPSIS πŸŽ€

void batadv_check_known_mac_addr (const struct batadv_hard_iface
       *hard_iface );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • hard_iface β€” the hard interface that was just added or had its MAC changed. yes bestie, that’s the one we’re checking πŸ’…

πŸ’œ DESCRIPTION πŸ’œ

okay so the function iterates over all hard interfaces of the same mesh interface. for each one, it looks for another in-use interface that shares the same MAC address as hard_iface. if it finds one, it emits a warning. that’s it! πŸ’–

hard_iface is the hard interface that was just added or had its MAC changed, so this is the β€œbestie, why are there two of the same MAC?” check 😭πŸ”₯

πŸ’… SEE ALSO πŸ’…

the kernel file is ./net/batman-adv/hard-interface.c, and you can go peek at all these (9) pages too:


okay that’s the whole page bestie 🫢 source/version: ./net/batman-adv, date: October 2026, page: batadv_check_known_mac_addr(9). mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from