kernel_listen(9)
π kernel_listen(9) π
okay so bestie, this is the kernel_listen(9) page from the Kernel API Manual, and it's giving kernel-space socket realness. Let's go. π
π NAME π
kernel_listen β move socket to listening state (kernel space). periodt.
β¨ SYNOPSIS β¨
int kernel_listen (struct socket *sock , int backlog );
πΈ ARGUMENTS πΈ
sockβ socket. literally the socket, bestie.backlogβ pending connections queue size. that's the queue size for pending connections, no cap.
π¦ DESCRIPTION π¦
Returns 0 or an error.
that's the whole vibe check: 0, or an error. iconic and brief. π
π₯ SEE ALSO π₯
Kernel file ./net/socket.c is right there in the source-y mix. also these absolute icons:
move_addr_to_kernel(9)move_addr_to_user(9)sock_read_xattr(9)sock_alloc_file(9)sock_from_file(9)sockfd_lookup(9)sock_alloc(9)sock_release(9)sock_sendmsg(9)kernel_sendmsg(9)sock_recvmsg(9)kernel_recvmsg(9)sock_create_lite(9)__sock_create(9)sock_create(9)sock_create_kern(9)sock_register(9)sock_unregister(9)kernel_bind(9)kernel_accept(9)kernel_connect(9)kernel_getsockname(9)kernel_getpeername(9)kernel_sock_shutdown(9)kernel_sock_ip_overhead(9)
signed off from the ./net corner of the source tree, dated October 2026, and filed under kernel_listen(9) πβ¨π«Ά
π¦ 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