llc_conn_rtn_pdu(9)
π llc_conn_rtn_pdu β a Kernel API Manual moment π
okay so bestie, we're in the kernel API manual today and this one is a function page β llc_conn_rtn_pdu β and it is literally the little messenger that hands your received data pdu up to the upper layer. group chat energy, but make it networking. π¦
β¨ SYNOPSIS β¨
void llc_conn_rtn_pdu (struct sock *sk , struct sk_buff *skb );
that's it. that's the whole signature. no return value, no drama, void and gone. π
π ARGUMENTS π
skβ the active connection. your main character socket, the one currently doing the thing. πskbβ the received data frame. the actual lil packet payload that showed up and needs to go upstairs. π
πΈ DESCRIPTION πΈ
So what does it do?? It sends the received data pdu to the upper layer β by using the indicate function. that's the whole vibe. β¨
Along the way it gets the service parameters ready (prim and prim_data) so everything's prepped and cute before the handoff. π
Now here's the key deets, no cap: actually calling the indication function does not happen here. nope. that gets done in llc_conn_state_process. so this function is like the friend who packs your bag for you and then hands it off β the actual going-to-school moment happens later. π«Ά
ngl that's an important one to remember β this is prep + return, not the call itself. the call lives in llc_conn_state_process. iykyk π
π₯ SEE ALSO π₯
Kernel file ./net/llc/llc_conn.c and honestly the whole friend group:
llc_conn_state_process(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_alloc(9)llc_sk_free(9)llc_sk_reset(9)
and that's the page, bestie π this one ships out of ./net/llc, dated October 2026, in the Kernel API Manual β go forth and indicate responsibly. mwah π§β¨
π¦ 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