llc_establish_connection(9)
π llc_establish_connection(9) π
okay so this is a page from the Kernel API Manual, section 9 β yes bestie, the big kernel one. sit down, grab a boba, we're learning kernel networking π§β¨
πΈ NAME πΈ
llc_establish_connection β the function your upper layer calls when it wants to ~establish a conn~ π«Ά
β¨ SYNOPSIS β¨
int llc_establish_connection (struct sock *sk , const u8 *lmac , u8
*dmac , u8 dsap );
like, it returns an int, it's got four args, and yes the line break in the middle of u8 *dmac is literally how it's printed, we don't question the manpage typography π
π ARGUMENTS π
skβ the connection π¦ (that's it, that's the description, she's astruct sock *and she's the connection)lmacβ local mac address π (aconst u8 *, so hands off)dmacβ destination mac address π―dsapβ destination sap π
π DESCRIPTION π
so the upper layer calls this function when it wants to establish an LLC connection with a remote machine π. that's the whole vibe.
what it actually does: this function packages a proper event and sends it to the connection component state machine π¦β‘οΈπ§ . very main character of it.
and when the connection establishment either succeeds or fails, that info gets passed back up to the upper layer β by calling its confirm function and passing the proper information along π. so you're never left on read, periodt.
π₯ SEE ALSO π₯
- Kernel file
./net/llc/llc_if.cπ llc_build_and_send_pkt(9)llc_send_disc(9)
mwah, that's the whole page π this one lives in ./net/llc, and the date on it is October 2026 β go off, future manpage ποΈβ¨ ily, stan the kernel, bye bestie π
π¦ 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