Shutdown an interface.
int dev_close(struct net_device * dev);
dev
device to shutdown
This function moves an active device into down state. A NETDEV_GOING_DOWN is sent to the netdev notifier chain. The device is then deactivated and finally a NETDEV_DOWN is sent to the notifier chain.