rhine_set_cam_mask(9)
π rhine_set_cam_mask(9) β¨
okay so real talk, this is a page from the Kernel API Manual, section 9, and it's honestly such a tiny little icon. bestie, it's one function, it does one vibe, and it does it flawlessly. no cap.
πΈ NAME πΈ
rhine_set_cam_mask β set multicast CAM mask π
π¦ SYNOPSIS π¦
void rhine_set_cam_mask (void __iomem *ioaddr , u32 mask );
likeβ¦ that's it. that's the whole signature. she's void, she returns nothing, she simply is. periodt. π
π ARGUMENTS π
ioaddrβ the register block of this Rhine. yup, that's this Rhine, the one you're holding. it's avoid __iomem *, so it's giving "memory-mapped, don't touch it with your bare hands" energy. πmaskβ the multicast CAM mask. it's au32. it's the actual mask. the main character of the whole operation, honestly. π
π DESCRIPTION π
so here's the tea: mask sets the multicast filters active/inactive. that's it. that's the whole function. no extra steps, no side quests. π§
the mask goes in, the multicast filters get their vibe check, and they come out either active or inactive depending on what you handed over. lowkey elegant. highkey iconic. π₯
no return value, because a void function doesn't owe you closure. she just does the thing and leaves. π«Ά
π SEE ALSO π
- the kernel file
./drivers/net/ethernet/via/via-rhine.cβ that's where all this lives, bestie, go read it iykyk rhine_set_cam(9)rhine_set_vlan_cam(9)rhine_set_vlan_cam_mask(9)rhine_init_cam_filter(9)rhine_update_vcam(9)rhine_get_vlan_tci(9)
it's giving "found family of CAM functions" and honestly? obsessed. π
β the sign-off β
this cutie pie of a page comes to you from ./drivers/net/ethernet/via, stamped October 2026, and it's literally rhine_set_cam_mask(9) forever and always. mwah. ππβ¨
π¦ 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