llc_ui_shutdown(9)
π NAME π
okay so bestie, welcome to llc_ui_shutdown(9) from the Kernel API Manual β the manual name is folded right in here so weβre not copying the header line, slay. This pageβs whole NAME vibe is: llc_ui_shutdown β shutdown a connect llc2 socket. π
β¨ SYNOPSIS β¨
int llc_ui_shutdown (struct socket *sock , int how );
thatβs the signature, literally exactly like that. no edits, no cap. π«Ά
π ARGUMENTS π
sockβ the socket to shutdown. like, the one getting the goodbye vibes. π¦howβ what part of the socket to shutdown. this is the βwhich shutdown flavorβ parameter, bestie. π«
π¦ DESCRIPTION π¦
So this function shuts down a connected llc2 socket. Currently it only supports shutting down both sends and receives (2) β the docs are like, yeah, we could probably make this function such that a user can shutdown only half the connection, but not right now. π
bestie, the current vibe is: both sends and receives (2), or nothing. the half-shutdown situation is not happening rn. π
πΈ RETURN πΈ
Returns 0 upon success, negative otherwise. β¨ so 0 is the slay, negative is the not-so-slay. π
π SEE ALSO π
Kernel file: ./net/llc/af_llc.c β plus the whole bestie squad of references:
llc_ui_next_link_no(9)llc_proto_type(9)llc_ui_addr_null(9)llc_ui_header_len(9)llc_ui_send_data(9)llc_ui_create(9)llc_ui_release(9)llc_ui_autoport(9)llc_ui_autobind(9)llc_ui_bind(9)llc_ui_connect(9)llc_ui_listen(9)llc_ui_accept(9)llc_ui_recvmsg(9)llc_ui_sendmsg(9)llc_ui_getname(9)llc_ui_ioctl(9)llc_ui_setsockopt(9)llc_ui_getsockopt(9)
π and thatβs the page, bestie! the source/version tag is ./net/llc, the date is October 2026, and llc_ui_shutdown(9) is signing off with main character energy. ππ
π¦ 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