llc_build_and_send_ui_pkt(9)
π llc_build_and_send_ui_pkt(9) π
okay so bestie, welcome to the Kernel API Manual β this one's a little function called llc_build_and_send_ui_pkt, and it's literally the unitdata request interface for upper layers. yes it's a mouthful, no we're not scared of it. let's go β¨
πΈ NAME πΈ
llc_build_and_send_ui_pkt β the unitdata request interface for upper layers π«Ά
π¦ SYNOPSIS π¦
int llc_build_and_send_ui_pkt (struct llc_sap *sap , struct sk_buff *skb
, const unsigned char *dmac , unsigned char dsap );
π ARGUMENTS π
sapβ the sap you're gonna use, iykyk πskbβ the packet to send, the star of the show fr frdmacβ the destination mac addressdsapβ the destination sap
β¨ DESCRIPTION β¨
so here's the vibe: the upper layers call this function when the upper layer wants to send data using connection-less mode communication (that's a UI pdu, bestie π).
it accepts a data frame from the network layer that's meant to be sent using connection-less mode communication β and ngl, the timeout/retries situation is not this function's problem, that's handled by the network layer π. then it packages up the primitive as an event and sends it straight to the SAP event handler. slay.
π SEE ALSO π
- Kernel file
./net/llc/llc_output.c llc_mac_hdr_init(9)
that's the whole page, no cap π β source/version ./net/llc, dated October 2026 (the llc_build_and_send_ui_pkt(9) energy is eternal tho πβ¨π)
π¦ 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