alb_set_mac_address(9)
π 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 π
- Kernel file
./drivers/net/bonding/bond_alb.c alb_change_hw_addr_on_detach(9)alb_handle_addr_collision_on_attach(9)bond_alb_handle_active_change(9)
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
- 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