sk_rmem_alloc_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– sk_rmem_alloc_get(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” this one is a tiny lil page about a tiny lil getter, and honestly? it's giving "one-line function that carries the whole socket on its back" ✨


🌸 NAME 🌸

sk_rmem_alloc_get β€” returns read allocations πŸŽ€

like, that's it. that's the whole job. it gets you the read allocations. slay.


✨ SYNOPSIS ✨

int sk_rmem_alloc_get (const struct sock *sk );

she's short, she's sweet, she takes exactly one pointer and hands you back an int β€” no cap πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • sk β€” socket πŸ”₯ literally just the socket. that's the whole argument. the vibes are immaculate, the parameter list is minimal.

⭐ RETURN ⭐

sk_rmem_alloc 🫢

yes bestie, it returns sk_rmem_alloc β€” the read allocations, exactly like the NAME said. the prophecy was true all along 😭 πŸ‘‘


🌈 SEE ALSO 🌈

so many friends in the group chat, all from the kernel file ./include/net/sock.h:

ngl that's a whole squad β€” go read them too, they're all living in ./include/net/sock.h and they all ate πŸ’€πŸ’–


okay bye bestie, this page came from ./include/net and it's dated October 2026 β€” screenshot it, memorise it, live by it πŸ§šβ€β™€οΈπŸ’œ πŸŽ€

πŸ“¦ where this page comes from