tls_client_hello_psk(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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; ->done will 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 πŸ‘‘


mwah πŸ’‹ that’s the page! cute little sign-off from the ./net/handshake source/version corner, October 2026 edition 🌈⭐

πŸ“¦ where this page comes from