register_netdev (9) - Linux Man Pages
register_netdev: register a network device
register_netdev - register a network device
int register_netdev(struct net_device
- device to register
Take a completed network device structure and add it to the kernel interfaces. A NETDEV_REGISTER message is sent to the netdev notifier chain. 0 is returned on success. A negative errno code is returned on a failure to set up the device, or if the name is a duplicate.