.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "DEV_CLOSE" "" "06 October 2005" "" "" .SH NAME dev_close \- shutdown an interface. .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int dev_close (struct net_device * \fIdev\fB); \fR .SH "ARGUMENTS" .TP \fB\fIdev\fB\fR device to shutdown .SH "DESCRIPTION" .PP 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.