NETDEV_RX_HANDLER_RE
Section: Network device support (9)
Updated: February 2011
Index
Return to Main Contents
NAME
netdev_rx_handler_register - register receive handler
SYNOPSIS
-
int netdev_rx_handler_register(struct net_device * dev, rx_handler_func_t * rx_handler, void * rx_handler_data);
ARGUMENTS
dev
-
- device 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 hander 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.
COPYRIGHT