llc_sap_add_socket(9)
π llc_sap_add_socket(9) π
okay so bestie, we're deep in the Kernel API Manual today and this is the page for llc_sap_add_socket β yes the (9) is right there, we're doing kernel-section content, main character energy only β¨
πΈ NAME πΈ
llc_sap_add_socket β literally just adds a socket to a SAP. that's the whole vibe. π
π¦ SYNOPSIS π¦
void llc_sap_add_socket (struct llc_sap *sap , struct sock *sk );
no cap, that's the signature, character for character. don't touch it, don't "fix" the spaces, it's iconic as-is π
π ARGUMENTS π
sapβ the SAP. yeah. that's the description. it's a SAP. we love a minimalist king πskβ the socket. the socket is the moment. the socket is the point π«Ά
π DESCRIPTION π
so what does it actually do, you ask? this function adds a socket to the hash tables of a SAP. that's it. that's the whole function. it takes your sk and slots it into sap's hash tables and honestly? slay. lowkey the kind of function that just does its one job and doesn't make it weird π
no extra lore here bestie β the source says "adds a socket to the hash tables of a SAP" and that is genuinely all we know, so don't go inventing behaviour, iykyk π
β SEE ALSO β
this list is a whole friend group, ngl β and they all live in the kernel file ./net/llc/llc_conn.c:
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_remove_socket(9), llc_conn_rcv(9), llc_backlog_rcv(9), llc_sk_init(9), llc_sk_alloc(9), llc_sk_free(9), llc_sk_reset(9)
like, twenty-two functions. twenty-two!! the way this one little function has so many siblings is sending me π go read them, they're all in ./net/llc π₯
and that's the page!! mwah π this one came to you straight out of ./net/llc, stamped October 2026, and it will forever be known as llc_sap_add_socket(9). bestie sign-off, 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