netif_uc_promisc_update(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… netif_uc_promisc_update(9) πŸ’…

okay so this is a page from the Kernel API Manual β€” yes, the kernel API manual, we're doing big-brain main character energy today β€” and it's all about netif_uc_promisc_update. Let's get into it bestie 🫢


✨ NAME ✨

netif_uc_promisc_update β€” literally just evaluates whether uc_promisc should be toggled. that's the whole vibe check. πŸ¦‹


🌸 SYNOPSIS 🌸

int netif_uc_promisc_update (struct net_device *dev );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the device πŸ’– (that's it, that's the argument, she's simple, she's iconic)

πŸ’… DESCRIPTION πŸ’…

okay so important thing first, no cap: this must be called under netif_addr_lock_bh. like, not optional, not "whatever", that's the rule. πŸ™ˆ


⭐ RETURN ⭐

the numbers speak for themselves, bestie:

  • +1 β†’ enter promisc πŸ‘‘
  • -1 β†’ leave promisc πŸšͺ
  • 0 β†’ no change, we're chilling 😌

🌈 SEE ALSO 🌈

so this is the part where we list literally everyone in the group chat. the kernel file lives at ./net/core/dev_addr_lists.c and these are all the besties:


lowkey the whole dev_uc_* AND dev_mc_* families are here, so if you were looking for a family reunion, this is it. ate. πŸ’€βœ¨

and that's the page!! 🧚 this cutie lives in ./net/core, dated October 2026, and it's netif_uc_promisc_update(9) all the way down. periodt. πŸ’œπŸ“

πŸ“¦ where this page comes from