af_alg_sndbuf(9)
β¨ af_alg_sndbuf(9) β¨
okay bestie, welcome to the Kernel API Manual entry for af_alg_sndbuf(9) β itβs giving tiny-but-iconic helper energy, and weβre gonna read it together. no cap. π
π NAME π
af_alg_sndbuf β Size of available buffer for sending data from user space to kernel. the way that this is exactly what it says on the tin? obsessed. β¨
β¨ SYNOPSIS β¨
this is the whole signature, bestie β copy it exactly:
int af_alg_sndbuf (struct sock *sk );
π ARGUMENTS π
okay so thereβs exactly one argument and sheβs doing main character energy:
skβ socket of connection to user space. thatβs the whole vibe. π«Ά
π¦ RETURN π¦
the return value is literally the number of bytes still available. no extra lore, no plot twist. π
π SEE ALSO π
go read these next, iykyk:
- Kernel file
./include/crypto/if_alg.h struct af_alg_async_req(9)struct af_alg_ctx(9)af_alg_writable(9)af_alg_rcvbuf(9)af_alg_readable(9)
mwah π this cutieβs source/version is ./include/crypto, dated October 2026, and itβs af_alg_sndbuf(9). periodt. π«Ά
π¦ 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