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

NAME

6       is_etherdev_addr - Tell if given Ethernet address belongs to the
7       device.
8

SYNOPSIS

10       bool is_etherdev_addr(const struct net_device * dev,
11                             const u8 addr[6 + 2]);
12

ARGUMENTS

14       dev
15           Pointer to a device structure
16
17       addr[6 + 2]
18           Pointer to a six-byte array containing the Ethernet address
19

DESCRIPTION

21       Compare passed address with all addresses of the device. Return true if
22       the address if one of the device addresses.
23
24       Note that this function calls compare_ether_addr_64bits so take care of
25       the right padding.
26
28Kernel Hackers Manual 2.6.         June 2019               IS_ETHERDEV_ADDR(9)
Impressum