1. NAME

netif_receive_skb - process receive buffer from network

2. SYNOPSIS

int netif_receive_skb(struct sk_buff *  skb );

3. ARGUMENTS

skb
    buffer to process

4. DESCRIPTION

netif_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):

5. NET_RX_SUCCESS

no congestion

6. NET_RX_DROP

packet was dropped

7. COPYRIGHT