batadv_check_known_mac_addr(9)
π 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:
batadv_hardif_release(9),batadv_hardif_get_by_netdev(9),batadv_getlink_net(9),batadv_mutual_parents(9),batadv_is_on_batman_iface(9)batadv_is_valid_iface(9),__batadv_get_real_netdev(9),batadv_get_real_netdev(9),batadv_is_wext_netdev(9),batadv_is_cfg80211_netdev(9)batadv_wifi_flags_evaluate(9),batadv_netdev_get_wifi_flags(9),batadv_hardif_get_wifi_flags(9),batadv_is_wifi_hardif(9),batadv_hardif_no_broadcast(9)batadv_hardif_get_active(9),batadv_primary_if_update_addr(9),batadv_primary_if_select(9),batadv_hardif_is_iface_up(9),batadv_hardif_recalc_extra_skbroom(9)batadv_hardif_min_mtu(9),batadv_update_min_mtu(9),batadv_hardif_activate_interface(9),batadv_hardif_deactivate_interface(9),batadv_hardif_enable_interface(9)batadv_hardif_disable_interface(9),batadv_hard_if_event_meshif(9),batadv_wifi_net_device_insert(9),batadv_wifi_net_device_remove(9),batadv_wifi_net_device_update(9)batadv_wifi_net_device_unregister(9),batadv_wifi_net_device_event(9),batadv_hard_if_event(9),batadv_wifi_net_devices_init(9),batadv_wifi_net_devices_deinit(9)
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
- 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