devl_traps_unregister(9)
πΈ NAME πΈ
okay bestie, this is devl_traps_unregister(9) β yes, the one and only β straight outta the Kernel API Manual β¨. Her whole job is literally: devl_traps_unregister β Unregister packet traps from devlink. That's the tea β, that's the assignment, and she did it π
.
β¨ SYNOPSIS β¨
no cap, here's the exact signature, copied with love and zero edits π«Ά:
void devl_traps_unregister (struct devlink *devlink , const struct
devlink_trap *traps , size_t traps_count );
π ARGUMENTS π
devlinkβ devlink. that's the whole description, bestie β she's lowkey self-explanatory. πββοΈtrapsβ Packet traps. the packet traps in question.traps_countβ Count of provided packet traps. how many packet traps you provided, periodt.
π¦ SEE ALSO π¦
if you're going down the devlink trap rabbit hole β and honestly, obsessed β start with the Kernel file ./net/devlink/trap.c, then these absolute icons:
struct devlink_trap_policer_item(9)struct devlink_trap_group_item(9)struct devlink_trap_item(9)devl_traps_register(9)devlink_traps_register(9)devlink_traps_unregister(9)devlink_trap_report(9)devlink_trap_ctx_priv(9)devl_trap_groups_register(9)devlink_trap_groups_register(9)devl_trap_groups_unregister(9)devlink_trap_groups_unregister(9)devl_trap_policers_register(9)devl_trap_policers_unregister(9)
mwah π source/version ./net/devlink, dated October 2026. devl_traps_unregister(9) out β bye bestie, slay responsibly π«Άπ
π¦ 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