DEV_GETBYHWADDR

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

dev_getbyhwaddr - find a device by its hardware address  

SYNOPSIS

"SYNOPSIS"

struct net_device * dev_getbyhwaddr (unsigned short type, char * ha);  

ARGUMENTS

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


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
BUGS

This document was created by man2html, using the manual pages.
Time: 13:31:25 GMT, October 06, 2005