get_classid_cgroup_id(9)
π get_classid_cgroup_id(9) π
okay so bestie, welcome to the Kernel API Manual πΈ this page is about get_classid_cgroup_id, and the vibe is extremely straightforward: it's the function that gets the cgroup id of a net_cls cgroup. no cap, that's the whole name. π
β¨ NAME β¨
get_classid_cgroup_id β Get the cgroup id of a net_cls cgroup. literally the function's whole personality in one line π
π SYNOPSIS π
unsigned long long get_classid_cgroup_id (void );
π¦ ARGUMENTS π¦
voidβ no arguments. none. zero. the function is low-maintenance like that π«Ά
π SEE ALSO π
- Kernel file
./tools/testing/selftests/bpf/cgroup_helpers.cβ the kernel file the page points you at, go peek bestie π enable_controllers(9)write_cgroup_file(9)write_cgroup_file_parent(9)setup_cgroup_environment(9)join_cgroup(9)join_root_cgroup(9)join_parent_cgroup(9)set_cgroup_xattr(9)__cleanup_cgroup_environment(9)cleanup_cgroup_environment(9)get_root_cgroup(9)create_and_get_cgroup(9)get_cgroup_id_from_path(9)setup_classid_environment(9)set_classid(9)join_classid(9)cleanup_classid_environment(9)get_cgroup1_hierarchy_id(9)open_classid(9)
mwah π that's the page. signed off from ./tools/testing/selftests/bpf, October 2026 β short, sweet, and exactly the facts. periodt. π
π¦ 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