.\" 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 "NETIF_RX" "" "06 October 2005" "" ""
.SH NAME
netif_rx \- post buffer to the network code
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int netif_rx (struct sk_buff * \fIskb\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIskb\fB\fR
buffer to post
.SH "DESCRIPTION"
.PP
This function receives a packet from a device driver and queues it for
the upper (protocol) levels to process. It always succeeds. The buffer
may be dropped during processing for congestion control or by the
protocol layers.
.SH "RETURN VALUES"
.PP
NET_RX_SUCCESS (no congestion)
NET_RX_CN_LOW (low congestion)
NET_RX_CN_MOD (moderate congestion)
NET_RX_CN_HIGH (high congestion)
NET_RX_DROP (packet was dropped)