__dev_uc_sync(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __dev_uc_sync(9) β€” the Kernel API Manual, bestie edition πŸŽ€

okay so this is a page from the Kernel API Manual, and it's all about __dev_uc_sync β€” yes that's a double-underscore, do not @ me, that's just how the kernel names its private little functions ✨


🌸 NAME 🌸

__dev_uc_sync β€” Synchronize device's unicast list πŸ’–


✨ SYNOPSIS ✨

int __dev_uc_sync (struct net_device *dev , int (*sync)(struct
       net_device *, const unsigned char *) , int (*unsync)(struct net_device
       *, const unsigned char *) );

like, look at her. three arguments. two of them are function pointers. she's that girl πŸ”₯


🫢 ARGUMENTS 🫢

  • dev β€” the device to sync. this is the main character, everything happens to her πŸ’…
  • sync β€” the function to call if an address should be added. this is the "add it, slay" callback ✨
  • unsync β€” the function to call if an address should be removed. the "okay bye, blocked" callback πŸ™ˆ

πŸ¦‹ DESCRIPTION πŸ¦‹

so what does it actually do? it adds newly added addresses to the interface, and releases addresses that have been deleted. that's it. that's the whole vibe check πŸ’–

new addresses in, stale addresses out. she's literally a bouncer at the club and she is so good at her job πŸ‘‘


🌈 SEE ALSO 🌈

all of these live in the kernel file ./include/linux/netdevice.h, and honestly? the friend group is huge. grab a snack πŸ“

like… fifty-something entries. no cap, the whole roster πŸ‘‘πŸ’€


okay and for the sign-off 🫢 this page ships from ./include/linux and it's dated October 2026 β€” so yeah, she's from the future, we love a forward-thinking icon βœ¨πŸ’œ bye bestie!! πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from