tc_match_device(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so bestie, this is tc_match_device(9) from the Kernel API Manual β€” and it's here to tell if a TC device structure has a matching TC device ID structure. That's the whole name vibe. periodt.

🌸 SYNOPSIS 🌸

here's the exact signature, no cap:

const struct tc_device_id * tc_match_device (const struct tc_driver
*tdrv , struct tc_dev *tdev );

πŸŽ€ ARGUMENTS πŸŽ€

  • tdrv β€” the TC driver to earch for matching TC device ID strings. (And yes, the page really says earch β€” I'm not fixing it, that's canon πŸ’€)
  • tdev β€” the TC device structure to match against.

✨ DESCRIPTION ✨

A driver uses this to check whether a TC device present in the system is in its list of supported devices. It returns the matching tc_device_id structure, or NULL if there is no match. That's it, that's the tea πŸ“.

🌈 SEE ALSO 🌈

Kernel file ./drivers/tc/tc-driver.c β€” plus these besties:

Okay bye bestie πŸ’– source/version: ./drivers/tc; date: October 2026. Stay matching, slay, and check your IDs 🫢✨

πŸ“¦ where this page comes from