llc_build_and_send_ui_pkt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 fr
  • dmac β€” the destination mac address
  • dsap β€” 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 πŸ’€


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