NETIF_RECEIVE_SKB(9) Network device support NETIF_RECEIVE_SKB(9)NAMEnetif_receive_skb - process receive buffer from network
SYNOPSIS
int netif_receive_skb(struct sk_buff * skb);
ARGUMENTS
skb
buffer to process
DESCRIPTIONnetif_receive_skb is the main receive data processing function. It
always succeeds. The buffer may be dropped during processing for
congestion control or by the protocol layers.
This function may only be called from softirq context and interrupts
should be enabled.
Return values (usually ignored):
NET_RX_SUCCESS
no congestion
NET_RX_DROP
packet was dropped
COPYRIGHTKernel Hackers Manual 2.6. November 2013 NETIF_RECEIVE_SKB(9)