tls_server_hello_psk(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 tls_server_hello_psk β€” NAME vibes 🌸

okay so this is tls_server_hello_psk from the Kernel API Manual, and it's literally just here to request a server TLS handshake on a socket. that's the whole assignment bestie πŸ’…


✨ SYNOPSIS ✨

int tls_server_hello_psk (const struct tls_handshake_args *args , gfp_t flags );

like, that's the signature. copy it exactly, don't @ me 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • args β€” the socket and handshake parameters for this request. everything you need to describe what you're asking for lives in here πŸ¦‹
  • flags β€” memory allocation control flags. you know the drill, this is the gfp_t situation controlling how memory gets grabbed ✨

πŸ’– DESCRIPTION πŸ’–

so like, the return values are the whole story here, and they're giving very much "read the fine print" energy πŸ‘‘ here's the vibe check:

  • 0 β€” handshake request enqueue. that's a slay βœ… and ->done will be called when it's complete, so don't ghost it πŸ’€
  • -ESRCH β€” no user agent is available 😭 nobody's home, no cap
  • -ENOMEM β€” memory allocation failed. the allocation said "not today" πŸ™ˆ
fr fr, memorize those three β€” they're the entire personality of this function's return path πŸ“

🌈 SEE ALSO 🌈

the whole handshake friend group honestly, go read them all πŸ§šπŸ’œ


and that's the page!! mwah πŸ’– this one lives in ./net/handshake, dated October 2026, and it's filed under tls_server_hello_psk(9) β€” iconique, periodt βœ¨πŸŽ€

πŸ“¦ where this page comes from