tc_match_device(9)
π 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 saysearchβ 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
- 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