1DEV_GETBYHWADDR_RCU(9)      Network device support      DEV_GETBYHWADDR_RCU(9)
2
3
4

NAME

6       dev_getbyhwaddr_rcu - find a device by its hardware address
7

SYNOPSIS

9       struct net_device * dev_getbyhwaddr_rcu(struct net * net,
10                                               unsigned short type,
11                                               const char * ha);
12

ARGUMENTS

14       net
15           the applicable net namespace
16
17       type
18           media type of device
19
20       ha
21           hardware address
22

DESCRIPTION

24       Search for an interface by MAC address. Returns NULL if the device is
25       not found or a pointer to the device. The caller must hold RCU or RTNL.
26       The returned device has not had its ref count increased and the caller
27       must therefore be careful about locking
28
30Kernel Hackers Manual 3.10         June 2019            DEV_GETBYHWADDR_RCU(9)
Impressum