llc_sk_alloc(9)
π 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 protoassociated 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:
- Kernel file
./net/llc/llc_conn.cβ that's the source, go peek π llc_conn_state_process(9)llc_conn_rtn_pdu(9)llc_conn_resend_i_pdu_as_cmd(9)llc_conn_resend_i_pdu_as_rsp(9)llc_conn_remove_acked_pdus(9)llc_conn_send_pdus(9)llc_conn_service(9)llc_qualify_conn_ev(9)llc_exec_conn_trans_actions(9)__llc_lookup_established(9)llc_lookup_listener(9)llc_data_accept_state(9)llc_find_next_offset(9)llc_build_offset_table(9)llc_find_offset(9)llc_sap_add_socket(9)llc_sap_remove_socket(9)llc_conn_rcv(9)llc_backlog_rcv(9)llc_sk_init(9)llc_sk_free(9)llc_sk_reset(9)
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
- 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