efx_filter_get_filter_safe(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… efx_filter_get_filter_safe(9)

okay so this is a page from the Kernel API Manual and it's all about efx_filter_get_filter_safe β€” the safe-girl version of grabbing a filter by its ID πŸŽ€


✨ NAME ✨

efx_filter_get_filter_safe β€” retrieve a filter by ID, but like… carefully πŸ™ˆ


🌸 SYNOPSIS 🌸

int efx_filter_get_filter_safe (struct efx_nic *efx , enum
       efx_filter_priority priority , u32 filter_id , struct efx_filter_spec
       *spec );

periodt, that's the whole signature, no notes πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • efx β€” the NIC from which to remove the filter. yeah that's literally what the page says bestie, don't come for me 😭
  • priority β€” the priority of the filter, exactly as you passed it to efx_filter_insert_filter
  • filter_id β€” the ID of the filter, exactly as it came back from efx_filter_insert_filter
  • spec β€” the buffer where the filter specification gets stored πŸ“₯

πŸ’– DESCRIPTION πŸ’–

bestie listen. this function range-checks filter_id first. that's the whole flex πŸ’ͺ

so it is safe to call with a value passed from userland β€” like, actually safe, not "safe if you squint" safe. no cap. 🫢


πŸ”₯ SEE ALSO πŸ”₯


that's it, that's the page, go get your filter πŸ‘‘ β€” this little icon was brought to you by the source tree at ./drivers/net/ethernet/sfc/siena, dated October 2026, and it signs off as efx_filter_get_filter_safe(9) πŸ’œβœ¨

πŸ“¦ where this page comes from