---
name: "netif_rx"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/netif_rx"
---

# netif\_rx(9)

post buffer to the network code

## NAME

netif\_rx - post buffer to the network code

## SYNOPSIS

**int netif\_rx(struct sk\_buff \*** *skb***);**

## ARGUMENTS

*skb*

buffer to post

## DESCRIPTION

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.

return values: NET\_RX\_SUCCESS (no congestion) NET\_RX\_DROP (packet was dropped)

## COPYRIGHT
