.\" 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" "" "06 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, int \fIpriority\fB, int \fIzero_it\fB, kmem_cache_t * \fIslab\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIfamily\fB\fR
-- undescribed --
.TP
\fB\fIpriority\fB\fR
-- undescribed --
.TP
\fB\fIzero_it\fB\fR
-- undescribed --
.TP
\fB\fIslab\fB\fR
-- undescribed --
.SH "DESCRIPTION"
.PP
\fIfamily\fR - protocol family
\fIpriority\fR - for allocation (GFP_KERNEL, GFP_ATOMIC, etc)
\fIzero_it\fR - zeroes the allocated sock
\fIslab\fR - alternate slab
.PP
All socket objects are allocated here. If \fIzero_it\fR is non-zero
it should have the size of the are to be zeroed, because the
private slabcaches have different sizes of the generic struct sock.
1 has been kept as a way to say sizeof(struct sock).