1SK_ALLOC(9) Linux Networking SK_ALLOC(9)
23
4
NAME
6sk_alloc - All socket objects are allocated here
7
SYNOPSIS
9struct sock * sk_alloc(struct net * net, int family, gfp_t priority,
10struct proto * prot);
11
ARGUMENTS
13net
14the applicable net namespace
1516
family
17protocol family
1819
priority
20for allocation (GFP_KERNEL, GFP_ATOMIC, etc)
2122
prot
23struct proto associated with this new sock instance
24
COPYRIGHT
26Kernel Hackers Manual 3.10 June 2019 SK_ALLOC(9)