slave_set_ns_maddrs(9)
π« slave_set_ns_maddrs(9) π«
okay so real talk, this is a page from the Kernel API Manual, and it's literally all about slave_set_ns_maddrs β the glow-up function that handles all the NS mac addresses for a slave. she's niche, she's networking, she's iconic. let's get into it bestie π
πΈ NAME πΈ
slave_set_ns_maddrs β add/del all NS mac addresses for slave, no cap β¨
π¦ SYNOPSIS π¦
void slave_set_ns_maddrs (struct bonding *bond , struct slave *slave ,
bool add );
like, that's the whole signature. she takes three things. periodt. π
π ARGUMENTS π
bondβ the bond device π«Ά like the main character of this whole operationslaveβ the slave device, doing the actual work behind the scenesaddβ aboolthat says whether we're adding or removing all the NS mac addresses. yes ma'am, add or remove, pick a lane β¨
π₯ DESCRIPTION π₯
so what does she actually do? this function tries to add or delete all the NS mac addresses on the slave. that's the whole vibe check. π
π important note bestie, don't skip this: the IPv6 NS target address is the unicast address in the Neighbor Solicitation (NS) message. the dest address of the NS message should be the solicited-node multicast address of the target. and the dest mac of the NS message is converted from the solicited-node multicast address. iykyk π§
and when does this function get called? great question, so glad you asked:
- when
arp_validatechanges π - when enslaving or releasing new slaves β yeah, the whole roster shuffle π
π SEE ALSO π
Kernel file ./drivers/net/bonding/bond_options.c plus her whole friend group:
bond_opt_parse(9)__bond_opt_set(9)__bond_opt_set_notify(9)bond_opt_tryset_rtnl(9)bond_opt_get(9)slave_set_ns_maddr(9)
go read them, they all ate π β¨
π and that's the page fr fr!! this little beauty lives at ./drivers/net/bonding and the doc girlies stamped it October 2026. ty for coming to my ted talk, 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