alb_set_mac_address(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– alb_set_mac_address(9) πŸ’–

okay so welcome to the Kernel API Manual, bestie β€” today's main character is alb_set_mac_address(9) and we're gonna get you comfy with it ✨ no cap.


πŸŽ€ NAME πŸŽ€

alb_set_mac_address - (the description slot is literally empty here, so… blank vibes πŸ«₯)


🌸 SYNOPSIS 🌸

int alb_set_mac_address (struct bonding *bond , void *addr );

🫢 ARGUMENTS 🫢

  • bond β€” bonding we're working on (yes, that bonding, bestie πŸ’…)
  • addr β€” MAC address to set

✨ DESCRIPTION ✨

okay so in TLB mode, all slaves are configured to the bond's hw address, but they set their dev_addr field to different addresses β€” and those different addresses are based on their permanent hw addresses 🌈.

For each slave, this function sets the interface to the new address and then changes its dev_addr field to its previous value. Like, new address on the interface, then dev_addr goes back to the old value 🫢.

⚠️ unwinding caveat: unwinding assumes the bond's mac address has not yet changed. That's the assumption, bestie β€” keep it in mind, fr fr.

πŸ’œ SEE ALSO πŸ’œ


okay bye bestie 🫢 this page lives under ./drivers/net/bonding, it's dated October 2026, and it's literally alb_set_mac_address(9) β€” periodt πŸ’…

πŸ“¦ where this page comes from