netdev_rx_handler_register (9) - Linux Man Pages
netdev_rx_handler_register: register receive handler
netdev_rx_handler_register - register receive handler
int netdev_rx_handler_register(struct net_device
*dev, rx_handler_func_t *rx_handler, void *rx_handler_data);
- device to register a handler for
- receive handler to register
- data pointer that is used by rx handler
Register a receive handler for a device. This handler will then be called from __netif_receive_skb. A negative errno code is returned on a failure.
The caller must hold the rtnl_mutex.