emac_add_mcast(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– emac_add_mcast β€” a section 9 kernel API moment πŸ’–

okay so bestie, we're in the Kernel API Manual today and this one is literally called emac_add_mcast(9). she's an internal function, so don't go thinking you can just call her from userspace, mwah. πŸŽ€


✨ NAME ✨

emac_add_mcast β€” set a multicast address in the EMAC adapter (Internal)

like, yes, that's the whole vibe. internal. iykyk. πŸ’…


🌸 SYNOPSIS 🌸

void emac_add_mcast (struct emac_priv *priv , u32 action , u8 *mac_addr
);

she takes three things and gives you back void β€” no return value, no drama, no notes. πŸ¦‹


🫢 ARGUMENTS 🫢

  • priv β€” the DaVinci EMAC private adapter structure. that's your whole adapter's little world, bestie.
  • action β€” the multicast operation to perform. which operation? that's her business, it's a u32, go read the driver πŸ’€
  • mac_addr β€” the mac address to set. a u8 *, pointing right at the address in question.

πŸ‘‘ DESCRIPTION πŸ‘‘

So what does she actually do? she sets multicast addresses in the EMAC adapter. that's it, that's the function. she's an internal function, so this is the backstage pass, not the main character energy you call directly. no cap. πŸ’œ

lowkey important: this here is the internal helper. the public-facing friends are down in SEE ALSO, go say hi to them instead if you're writing driver code. πŸ™ˆ

🌈 SEE ALSO 🌈

kernel file ./drivers/net/ethernet/ti/davinci_emac.c β€” that's the homegirl's address, the source file she lives in 🏑

and the whole extended friend group, in order, all (9):

like, that's a whole friend group text chain right there. obsessed. πŸ”₯


okay and the cute little sign-off πŸ’Œ β€” this page belongs to the source path ./drivers/net/ethernet/ti, and she's dated October 2026. yes, from the future, slay. β­πŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from