.\" 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_GET_BY_NAME" "" "06 October 2005" "" ""
.SH NAME
dev_get_by_name \- find a device by its name
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
struct net_device * dev_get_by_name (const char * \fIname\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIname\fB\fR
name to find
.SH "DESCRIPTION"
.PP
Find an interface by name. This can be called from any
context and does its own locking. The returned handle has
the usage count incremented and the caller must use \fBdev_put\fR to
release it when it is no longer needed. NULL is returned if no
matching device is found.