nps_enet_set_rx_mode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… nps_enet_set_rx_mode β€” the Kernel API Manual, bestie edition

okay so this is nps_enet_set_rx_mode, and it lives in section 9 of the Kernel API Manual (the kernel-functions one, iykyk). it's short, it's sweet, it's a little icon, and we're gonna get into it ✨


🌸 NAME 🌸

nps_enet_set_rx_mode β€” literally just: change the receive filtering mode. that's it. that's the whole job πŸŽ€


✨ SYNOPSIS ✨

void nps_enet_set_rx_mode (struct net_device *ndev );

returns nothing (void, no notes, no drama), takes exactly one thing. slay πŸ’…


🫢 ARGUMENTS 🫢

  • ndev β€” pointer to the network device. that's the whole argument list, one (1) pointer, and it's the net device we're messing with πŸ’–

πŸ”₯ DESCRIPTION πŸ”₯

so what does it actually do?? it enables/disables promiscuous mode. that's the vibe. that's the function. flipping the receive filtering between "only stuff addressed to me" and "honestly, hand me everything" πŸ™ˆπŸ’€


πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file it hangs out in: ./drivers/net/ethernet/ezchip/nps_enet.c β€” and its little friend group:

go read those too, they're all main characters in their own right πŸ‘‘πŸŒˆ


ngl, if you're touching receive filtering on real hardware, know what you're doing β€” promiscuous mode is not a casual accessory 🫢

and that's the page!! πŸŽ€ it comes to you from ./drivers/net/ethernet/ezchip, dated October 2026, and no cap, that's the whole thing β€” love that for us πŸ’œβ­

πŸ“¦ where this page comes from