DEV_GET_BY_NAME

Section: (9)
Updated: 14 August 2003
Index Return to Main Contents

 

NAME

dev_get_by_name - find a device by its name  

SYNOPSIS

struct net_device * dev_get_by_name (const char * name);  

ARGUMENTS

name
name to find
 

DESCRIPTION

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 dev_put to release it when it is no longer needed. NULL is returned if no matching device is found.  

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: 23:19:20 GMT, August 13, 2003