llc_ui_next_link_no(9)
π llc_ui_next_link_no β kernel API manual, section 9 π
okay so bestie, welcome to llc_ui_next_link_no(9) β yes that's the whole title, yes it's a mouthful, no we are not shortening it, it's iconic. this is a section 9 kernel API page and it's literally so cozy in here. come sit. πΈ
β¨ NAME β¨
llc_ui_next_link_no β returns the next unused link number for a sap. that's the whole vibe. one job. slays it. π
β¨ SYNOPSIS β¨
u16 llc_ui_next_link_no (int sap );
that's u16 coming back at ya, and one int sap going in. short. sweet. fully ate. π«Ά
β¨ ARGUMENTS β¨
sapβ the address of the sap you want the link number from. that's it, that's the one argument, and it's the main character here. give it the address and it's giving. β¨
β¨ DESCRIPTION β¨
so what does it do? it returns the next unused link number for a given sap. periodt. no cap, that's the entire description β the manpage said what it said and honestly we respect the brevity. π
like, you hand it a sap, it hands you back the next link number that nobody's using yet. clean, simple, lowkey elegant. π¦
β¨ SEE ALSO β¨
the kernel file lives at ./net/llc/af_llc.c and it's absolutely the place to lurk if you want the full lore. iykyk. π
and here's the whole friend group, all section 9, all iconic, go say hi to every single one of them:
llc_proto_type(9)llc_ui_addr_null(9)llc_ui_header_len(9)llc_ui_send_data(9)llc_ui_create(9)llc_ui_release(9)llc_ui_autoport(9)llc_ui_autobind(9)llc_ui_bind(9)llc_ui_shutdown(9)llc_ui_connect(9)llc_ui_listen(9)llc_ui_accept(9)llc_ui_recvmsg(9)llc_ui_sendmsg(9)llc_ui_getname(9)llc_ui_ioctl(9)llc_ui_setsockopt(9)llc_ui_getsockopt(9)
π reminder bestie: this is a kernel API page, section 9, not a "just try it in userspace and see what happens" situation. read the friends above before you go feral. π
okay that's the whole page, mwah π β this little beauty came out of ./net/llc and it's dated October 2026, so go off, read the source, stay hydrated, and remember: next unused link number for a given sap. literally that's it. slay. πβππ§π
π¦ 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