Lines Matching refs:ETH_ALEN
70 static const u8 eth_reserved_addr_base[ETH_ALEN] __aligned(2) =
232 get_random_bytes(addr, ETH_ALEN); in eth_random_addr()
245 memset(addr, 0xff, ETH_ALEN); in eth_broadcast_addr()
256 memset(addr, 0x00, ETH_ALEN); in eth_zero_addr()
270 u8 addr[ETH_ALEN]; in eth_hw_addr_random()
273 __dev_addr_set(dev, addr, ETH_ALEN); in eth_hw_addr_random()
285 return ether_crc(ETH_ALEN, ha->addr); in eth_hw_addr_crc()
319 __dev_addr_set(dev, addr, ETH_ALEN); in eth_hw_addr_set()
404 return memcmp(addr1, addr2, ETH_ALEN) == 0; in ether_addr_equal_unaligned()
423 for (i = 0; i < ETH_ALEN; i++) { in ether_addr_equal_masked()
433 u8 base[ETH_ALEN] = { 0x01, 0x00, 0x5e, 0x00, 0x00, 0x00 }; in ether_addr_is_ipv4_mcast()
434 u8 mask[ETH_ALEN] = { 0xff, 0xff, 0xff, 0x80, 0x00, 0x00 }; in ether_addr_is_ipv4_mcast()
441 u8 base[ETH_ALEN] = { 0x33, 0x33, 0x00, 0x00, 0x00, 0x00 }; in ether_addr_is_ipv6_mcast()
442 u8 mask[ETH_ALEN] = { 0xff, 0xff, 0x00, 0x00, 0x00, 0x00 }; in ether_addr_is_ipv6_mcast()
464 for (i = 0; i < ETH_ALEN; i++) in ether_addr_to_u64()
479 for (i = ETH_ALEN - 1; i >= 0; i--) { in u64_to_ether_addr()
589 u8 addr[ETH_ALEN]; in eth_hw_addr_gen()