ef4_filter_get_filter_safe(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 to ef4_filter_insert_filter ✨
  • filter_id β€” ID of filter, as returned by ef4_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 🌈


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