tls_client_hello_psk(9)
okay bestie, welcome to the tls_client_hello_psk(9) page from the Kernel API Manual π
β¨ this one is short, iconic, and fully doing its thing, no cap.
π NAME π
tls_client_hello_psk β request a PSK-based TLS handshake on a socket π¦
β¨ SYNOPSIS β¨
int tls_client_hello_psk (const struct tls_handshake_args *args , gfp_t
flags );
πΈ ARGUMENTS πΈ
argsβ socket and handshake parameters for this request π«Άflagsβ memory allocation control flags π
π₯ DESCRIPTION π₯
okay so the return values are literally the whole plot here, and theyβre giving very specific energy:
0β Handshake request enqueue;->donewill be called when complete π-EINVALβ Wrong number of local peer IDs π-ESRCHβ No user agent is available π-ENOMEMβ Memory allocation failed π
thatβs the return-value lineup, bestie β short, sweet, and very βread the codes, know the vibeβ β¨
π SEE ALSO π
- Kernel file
./net/handshake/tlshd.cπ§ tls_handshake_done(9)tls_handshake_accept(9)tls_client_hello_anon(9)tls_client_hello_x509(9)tls_server_hello_x509(9)tls_server_hello_psk(9)tls_handshake_cancel(9)tls_handshake_close(9)
mwah π thatβs the page! cute little sign-off from the ./net/handshake source/version corner, October 2026 edition πβ
π¦ 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