table of contents
other versions
- stretch 4.9.168-1
NETDEV_RX_HANDLER_RE(9) | Network device support | NETDEV_RX_HANDLER_RE(9) |
NAME¶
netdev_rx_handler_register - register receive handlerSYNOPSIS¶
int netdev_rx_handler_register(struct net_device * dev, rx_handler_func_t * rx_handler, void * rx_handler_data);
ARGUMENTS¶
devdevice to register a handler for
rx_handler
receive handler to register
rx_handler_data
data pointer that is used by rx handler
DESCRIPTION¶
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.
For a general description of rx_handler, see enum rx_handler_result.
COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |