suse man page for __dev_get_by_name

Query: __dev_get_by_name

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

__DEV_GET_BY_NAME(9)					      Network device support					      __DEV_GET_BY_NAME(9)

NAME
__dev_get_by_name - find a device by its name
SYNOPSIS
struct net_device * __dev_get_by_name(struct net * net, const char * name);
ARGUMENTS
net the applicable net namespace 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.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 __DEV_GET_BY_NAME(9)
Related Man Pages
device_create_vargs(9) - centos
device_create_with_groups(9) - centos
device_create_vargs(9) - suse
network_namespaces(7) - php
network_namespaces(7) - minix
Similar Topics in the Unix Linux Community
Why cannot only the "rtl8139_rx" function be setted breakpoint on whereas the others can?
TuxOnIce stalls 3 times before resuming