Scroll to navigation

SOCK_ALLOC(9) Linux Networking SOCK_ALLOC(9)

NAME

sock_alloc - allocate a socket

SYNOPSIS

struct socket * sock_alloc(void);

ARGUMENTS

void

no arguments

DESCRIPTION

Allocate a new inode and socket object. The two are bound together and initialised. The socket is then returned. If we are out of inodes NULL is returned.

COPYRIGHT

June 2017 Kernel Hackers Manual 4.11