__DEV_GET_BY_NAME
Section: LINUX (9)
Updated: August 2005
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. Must be called under RTNL semaphore or dev_base_lock. If the name is found a pointer to the device is returned. If the name is not found then NULL is returned. The reference counters are not incremented so the caller must be careful with locks.
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
This document was created by
man2html,
using the manual pages.
Time: 00:30:14 GMT, August 30, 2005