.\" 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_OPEN" "" "06 October 2005" "" "" .SH NAME dev_open \- prepare an interface for use. .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int dev_open (struct net_device * \fIdev\fB); \fR .SH "ARGUMENTS" .TP \fB\fIdev\fB\fR device to open .SH "DESCRIPTION" .PP Takes a device from down to up state. The device's private open function is invoked and then the multicast lists are loaded. Finally the device is moved into the up state and a NETDEV_UP message is sent to the netdev notifier chain. .PP Calling this function on an active interface is a nop. On a failure a negative errno code is returned.