llc_sk_alloc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so this page is llc_sk_alloc(9) from the Kernel API Manual, and the NAME section is right there being iconic: llc_sk_alloc β€” Allocates LLC sock. that's the whole vibe 🧚


✨ SYNOPSIS ✨

the signature, verbatim, no cap πŸ’…

struct sock * llc_sk_alloc (struct net *net , int family , gfp_t
       priority , struct proto *prot , int kern );

πŸ’… ARGUMENTS πŸ’…

  • net β€” network namespace 🌸
  • family β€” upper layer protocol family πŸ¦‹
  • priority β€” for allocation (GFP_KERNEL, GFP_ATOMIC, etc) πŸ”₯
  • prot β€” struct proto associated with this new sock instance πŸ’œ
  • kern β€” is this to be a kernel socket? πŸ‘€

🫢 DESCRIPTION 🫢

Allocates a LLC sock and initializes it. Returns the new LLC sock or NULL if there's no memory available for one 😭. that's it β€” that's the description, and honestly it ate.


πŸ‘‘ SEE ALSO πŸ‘‘

like, go read these too, bestie πŸ’– β€” kernel file first:


okay that's the page, bestie 🫢 β€” source/version is ./net/llc, the date stamp is October 2026, and this whole llc_sk_alloc(9) moment is from the Kernel API Manual. periodt πŸ’…

πŸ“¦ where this page comes from