Lines Matching defs:rx_handler
417 * @RX_HANDLER_CONSUMED: skb was consumed by rx_handler, do not process it
420 * case skb->dev was changed by rx_handler.
422 * @RX_HANDLER_PASS: Do nothing, pass the skb as if no rx_handler was called.
427 * Currently, a net_device can only have a single rx_handler registered. Trying
428 * to register a second rx_handler will return -EBUSY.
430 * To register a rx_handler on a net_device, use netdev_rx_handler_register().
431 * To unregister a rx_handler on a net_device, use
434 * Upon return, rx_handler is expected to tell __netif_receive_skb() what to
437 * If the rx_handler consumed the skb in some way, it should return
438 * RX_HANDLER_CONSUMED. This is appropriate when the rx_handler arranged for
441 * If the rx_handler changed skb->dev, to divert the skb to another
442 * net_device, it should return RX_HANDLER_ANOTHER. The rx_handler for the
445 * If the rx_handler decides the skb should be ignored, it should return
449 * If the rx_handler didn't change skb->dev, but wants the skb to be normally
452 * A device without a registered rx_handler will behave as if rx_handler
1640 * @IFF_NO_RX_HANDLER: device doesn't support the rx_handler hook
1889 * @rx_handler: handler for received packets
2093 rx_handler_func_t __rcu *rx_handler;
3913 rx_handler_func_t *rx_handler,