STRUCT NI_ROUTE_SET(9)
โจ struct ni_route_set(9) โจ
okay so this is a page straight outta the Kernel API Manual bestie, and it's about struct ni_route_set โ a little baby struct that groups together a whole bunch of destinations that all share one common source. it's giving "found family" honestly ๐ซถ
๐ธ NAME ๐ธ
struct ni_route_set โ literally just a set of destinations that all have a common source. that's the whole vibe. no cap. โจ
๐ SYNOPSIS ๐
here's the whole thing, copy it exactly bestie, don't be creative:
struct ni_route_set {
int dest;
int n_src;
int *src;
};
like, that's it. three fields. short and iconic ๐
๐ Members ๐
okay let's meet the cast, main character energy all around:
destโ the destination for, like, every single source in this route set. one destination to rule them all ๐n_srcโ how many sources this route set is holding down. the headcount, the attendance sheet, thenin thesrc๐งฎsrcโ the list of sources that all map to that same destination. they all point to the same place, periodt ๐
๐ฆ SEE ALSO ๐ฆ
go read these next, iykwim, we're going on a little journey:
- Kernel file
./drivers/comedi/drivers/ni_routes.h struct ni_device_routes(9)struct ni_route_tables(9)route_is_valid(9)route_register_is_valid(9)ni_get_reg_value_roffs(9)ni_check_trigger_arg_roffs(9)
ngl bestie, the src field is a pointer, so it's not living inside the struct โ it's pointing off somewhere else. keep track of it, okay? ๐
and that's the whole page!! mwah ๐ this one came from ./drivers/comedi/drivers and it's dated October 2026 โ so mark your calendar, set a reminder, screenshot it, idc, just don't forget it ๐โจ๐
๐ฆ 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