netif_uc_promisc_update(9)
π 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:
__hw_addr_sync_dev(9)__hw_addr_ref_sync_dev(9)__hw_addr_ref_unsync_dev(9)__hw_addr_unsync_dev(9)__hw_addr_list_snapshot(9)__hw_addr_list_reconcile(9)dev_addr_flush(9)dev_addr_init(9)dev_addr_add(9)dev_addr_del(9)dev_uc_add_excl(9)dev_uc_add(9)dev_uc_del(9)dev_uc_sync(9)dev_uc_sync_multiple(9)dev_uc_unsync(9)dev_uc_flush(9)dev_uc_init(9)dev_mc_add_excl(9)dev_mc_add(9)dev_mc_add_global(9)dev_mc_del(9)dev_mc_del_global(9)dev_mc_sync(9)dev_mc_sync_multiple(9)dev_mc_unsync(9)dev_mc_flush(9)dev_mc_init(9)__dev_set_rx_mode(9)netif_rx_mode_sync(9)
lowkey the wholedev_uc_*ANDdev_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
- 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