llc_ui_connect(9)
π llc_ui_connect β bestie, let's make a connection
okay so this is a page from the Kernel API Manual, and honestly? it's giving "networking but make it llc2." stay with me, we're gonna get through it together π«Ά
β¨ NAME β¨
llc_ui_connect β connect to a remote llc2 mac + sap. that's the whole vibe. that's what we do here. π
π¦ SYNOPSIS π¦
int llc_ui_connect (struct socket *sock , struct sockaddr_unsized *uaddr
, int addrlen , int flags );
look at her. four whole arguments. she's iconic, she's lowercase, she's a kernel function. no cap.
π ARGUMENTS π
sockβ the socket that's gonna get connected to the remote destination. she's the main character of this whole operation, fr.uaddrβ the remote address of the new connectionβ¦ and possibly the local address too π. it's giving "who am i and where am i going" and tbh same.addrlenβ the size of theuaddrstructure. like, how big is she. give the kernel the measurements please πflagsβ operational flags specified by the user. your lil knobs and switches. you do you. β¨
πΈ DESCRIPTION πΈ
lowkey the whole point: you're connecting to a remote llc2 mac + sap. simple as that. π
the caller must specify the destination mac and address to connect to. no destination, no connection, no slay. periodt.
here's the tea though β if the user hasn't previously called bind(2) with a smac, then the address of the first interface of the specified arp type will be used instead. the kernel's just like "okay bestie, i got you, i'll pick one" π«Ά
and bestieβ¦ this function will autobind if the user did not previously call bind. so like, don't stress if you forgot. she handles it. she's thoughtful like that. ππ
β RETURN β
0upon success π- negative otherwise π
that's it. that's the whole return section. binary queen.
π§ SEE ALSO π§
the lore, the extended universe, the friend group iykyk:
- Kernel file
./net/llc/af_llc.c 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_shutdown(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)
ngl, that llc_ui_autobind(9) entry is doing a lil foreshadowing for the DESCRIPTION section. love a callback. π₯
okay that's the page!! this whole thing lives in ./net/llc, dated October 2026, and it's officially llc_ui_connect(9) β go connect to something remote, bestie, you've got this ππ slay responsibly β¨
π¦ 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