Lines Matching defs:rx_handler
422 * @RX_HANDLER_CONSUMED: skb was consumed by rx_handler, do not process it
425 * case skb->dev was changed by rx_handler.
427 * @RX_HANDLER_PASS: Do nothing, pass the skb as if no rx_handler was called.
432 * Currently, a net_device can only have a single rx_handler registered. Trying
433 * to register a second rx_handler will return -EBUSY.
435 * To register a rx_handler on a net_device, use netdev_rx_handler_register().
436 * To unregister a rx_handler on a net_device, use
439 * Upon return, rx_handler is expected to tell __netif_receive_skb() what to
442 * If the rx_handler consumed the skb in some way, it should return
443 * RX_HANDLER_CONSUMED. This is appropriate when the rx_handler arranged for
446 * If the rx_handler changed skb->dev, to divert the skb to another
447 * net_device, it should return RX_HANDLER_ANOTHER. The rx_handler for the
450 * If the rx_handler decides the skb should be ignored, it should return
454 * If the rx_handler didn't change skb->dev, but wants the skb to be normally
457 * A device without a registered rx_handler will behave as if rx_handler
1690 * @IFF_NO_RX_HANDLER: device doesn't support the rx_handler hook
1929 * @rx_handler: handler for received packets
2256 rx_handler_func_t __rcu *rx_handler;
3918 rx_handler_func_t *rx_handler,