dev_getbyhwaddr(9) suse man page | unix.com

Man Page: dev_getbyhwaddr

Operating Environment: suse

Section: 9

DEV_GETBYHWADDR(9)					      Network device support						DEV_GETBYHWADDR(9)

NAME
dev_getbyhwaddr - find a device by its hardware address
SYNOPSIS
struct net_device * dev_getbyhwaddr(struct net * net, unsigned short type, char * ha);
ARGUMENTS
net the applicable net namespace type media type of device ha hardware address
DESCRIPTION
Search for an interface by MAC address. Returns NULL if the device is not found or a pointer to the device. The caller must hold the rtnl semaphore. The returned device has not had its ref count increased and the caller must therefore be careful about locking
BUGS
If the API was consistent this would be __dev_get_by_hwaddr
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 DEV_GETBYHWADDR(9)
Related Man Pages
device_create_with_groups(9) - centos
struct_rio_dev(9) - centos
iwspy(8) - redhat
device_create_vargs(9) - suse
struct_usb_gadget(9) - suse
Similar Topics in the Unix Linux Community
How to restrict user to a specific directory in solaris 10
Grant unprivileged user rights to see the output of echo|format but not modify disks
Migrating to UNIX
The Future of the PM (Private Message) System at UNIX.com
Shopt -s histappend