UNREGISTER_NETDEVICE

Section: (9)
Updated: 09 April 2004
Index Return to Main Contents

 

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.

Callers must hold the rtnl semaphore. See the comment at the end of Space.c for details about the locking. You may want unregister_netdev instead of this.  

ABOUT THIS DOCUMENT

This documentation was generated with kernel version 2.6.0.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
ABOUT THIS DOCUMENT

This document was created by man2html, using the manual pages.
Time: 09:20:10 GMT, April 09, 2004