.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "SK_ALLOC" "9" "09 October 2005" "" ""
.SH NAME
sk_alloc \- All socket objects are allocated here
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
struct sock * sk_alloc (int \fIfamily\fB, unsigned int __nocast \fIpriority\fB, struct proto * \fIprot\fB, int \fIzero_it\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIfamily\fB\fR
protocol family
.TP
\fB\fIpriority\fB\fR
for allocation (GFP_KERNEL, GFP_ATOMIC, etc)
.TP
\fB\fIprot\fB\fR
struct proto associated with this new sock instance
.TP
\fB\fIzero_it\fB\fR
if we should zero the newly allocated sock