sock_create(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ sock_create(9) ✨

okay bestie, welcome to the Kernel API Manual entry for sock_create β€” this is the sock_create(9) page and it's literally the moment where your kernel goes "imma make a socket rn" πŸ’…


πŸŽ€ NAME πŸŽ€

sock_create β€” creates a socket


🌸 SYNOPSIS 🌸

int sock_create (int family , int type , int protocol , struct socket
**res );

πŸ’– ARGUMENTS πŸ’–

  • family β€” the protocol family (AF_INET, ...) 🧚
  • type β€” the communication type (SOCK_STREAM, ...) πŸ¦‹
  • protocol β€” the protocol (0, ...) πŸ“
  • res β€” the new socket πŸ‘‘

πŸ”₯ DESCRIPTION πŸ”₯

So what is this icon actually doing? It's a wrapper around __sock_create. Returns 0 or an error. And the fun lil detail: this function internally uses GFP_KERNEL. no cap πŸ’€


🌈 SEE ALSO 🌈

okay this list is long but we're not skipping a single one, periodt:


and that's the whole page bestie, slay πŸ’…

this lil masterpiece is chillin' in ./net, dated October 2026 β€” sock_create(9) out, mwah πŸ«ΆπŸ’–

πŸ“¦ where this page comes from