ef4_filter_get_filter_safe(9)
β¨ ef4_filter_get_filter_safe(9) β¨
okay bestie, welcome to the Kernel API Manual entry for ef4_filter_get_filter_safe π
this one is short, sweet, and literally all about grabbing a filter by its ID without being messy.
π NAME π
ef4_filter_get_filter_safe β retrieve a filter by ID, carefully π«Ά
πΈ SYNOPSIS πΈ
int ef4_filter_get_filter_safe (struct ef4_nic *efx , enum
ef4_filter_priority priority , u32 filter_id , struct ef4_filter_spec
*spec );
π¦ ARGUMENTS π¦
efxβ NIC from which to remove the filter πpriorityβ Priority of filter, as passed toef4_filter_insert_filterβ¨filter_idβ ID of filter, as returned byef4_filter_insert_filterπspecβ Buffer in which to store filter specification π
π DESCRIPTION π
okay so the whole main-character move here is that this function will range-check filter_id π₯ that means it is safe to call with a value passed from userland, no cap. like, it checks the range for you, and that's the entire vibe π
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/sfc/falcon/efx.hπ§ ef4_filter_insert_filter(9),ef4_filter_remove_id_safe(9)β
mwah π this little page is from the ./drivers/net/ethernet/sfc/falcon source, October 2026, and it's giving Kernel API Manual energy fr fr ππ
π¦ 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