1SK_ALLOC(9)                    Linux Networking                    SK_ALLOC(9)
2
3
4

NAME

6       sk_alloc - All socket objects are allocated here
7

SYNOPSIS

9       struct sock * sk_alloc(struct net * net, int family, gfp_t priority,
10                              struct proto * prot);
11

ARGUMENTS

13       net
14           the applicable net namespace
15
16       family
17           protocol family
18
19       priority
20           for allocation (GFP_KERNEL, GFP_ATOMIC, etc)
21
22       prot
23           struct proto associated with this new sock instance
24
26Kernel Hackers Manual 3.10         June 2019                       SK_ALLOC(9)
Impressum