unregister_netdevice

Name

unregister_netdevice --  remove device from the kernel

Synopsis

int unregister_netdevice (struct net_device * dev);

Arguments

dev

device

Description

This function shuts down a device interface and removes it from the kernel tables. On success 0 is returned, on a failure a negative errno code is returned.