ni_find_route_set(9)
π ni_find_route_set(9) π
okay bestie, welcome to the Kernel API Manual β this page is all about ni_find_route_set, and it's lowkey iconic. Let's get into it. π
π NAME π
ni_find_route_set β finds the proper route set with the specified destination. That's literally its whole personality. β¨
β¨ SYNOPSIS β¨
here's the signature, bestie β keep it exactly like this:
const struct ni_route_set * ni_find_route_set (const int destination , const struct ni_device_routes *valid_routes );
πΈ ARGUMENTS πΈ
destinationβ the destination you're searching for the route set for. π―valid_routesβ pointer to device routes within which to search. π§
π¦ RETURN π¦
NULL if no route_set is found with the specified destination; otherwise, a pointer to the route_set if found. That's the whole return story, periodt. π
π SEE ALSO π
go peek at these, iykyk π
- Kernel file
./drivers/comedi/drivers/ni_routes.c ni_assign_device_routes(9)ni_count_valid_routes(9)ni_get_valid_routes(9)ni_is_cmd_dest(9)ni_sort_device_routes(9)ni_lookup_route_register(9)ni_route_to_register(9)
that's the page, bestie β source/version: ./drivers/comedi/drivers Β· date: October 2026 π«Άπ
π¦ 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