rhine_set_cam(9)
β¨ rhine_set_cam β¨
okay so you're reading the kernel API manual, section 9, and the star of the show is rhine_set_cam(9) β bestie, this is the little helper that loads stuff into the multicast filters π no cap, that's literally the whole vibe.
πΈ NAME πΈ
rhine_set_cam β set CAM multicast filters π
π¦ SYNOPSIS π¦
void rhine_set_cam (void __iomem *ioaddr , int idx , u8 *addr );
π ARGUMENTS π
ioaddrβ the register block of this Rhine, like its whole little home base πidxβ the multicast CAM index, and it's gotta be in[0..MCAM_SIZE-1]β respect the range, periodt β¨addrβ the multicast address, all6bytes of it π
π DESCRIPTION π
Loads addresses into the multicast filters. That's it, that's the function β iconic, lowkey does exactly what it says on the tin π«Ά
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/via/via-rhine.cβ go read the source, iykyk π rhine_set_vlan_cam(9)rhine_set_cam_mask(9)rhine_set_vlan_cam_mask(9)rhine_init_cam_filter(9)rhine_update_vcam(9)rhine_get_vlan_tci(9)
all the sibling functions, a whole friend group fr fr π
π reminder bestie:idxoutside[0..MCAM_SIZE-1]is not it β the range is right there in the docs, don't do it.
anyway that's the page!! π this one comes from ./drivers/net/ethernet/via, dated October 2026, and it's filed under rhine_set_cam(9) β mwah, go forth and set those filters π
ππ§
π¦ 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