Lines Matching refs:hwaddr
317 * setting the MAC address in struct netif.hwaddr
1638 * if == 0, use hwaddr directly as interface ID
1655 /* Assume hwaddr is a 48-bit IEEE 802 MAC. Convert to EUI-64 address. Complement Group bit. */
1656 ip_2_ip6(&netif->ip6_addr[0])->addr[2] = lwip_htonl((((u32_t)(netif->hwaddr[0] ^ 0x02)) << 24) |
1657 ((u32_t)(netif->hwaddr[1]) << 16) |
1658 ((u32_t)(netif->hwaddr[2]) << 8) |
1661 ((u32_t)(netif->hwaddr[3]) << 16) |
1662 ((u32_t)(netif->hwaddr[4]) << 8) |
1663 (netif->hwaddr[5]));
1665 /* Use hwaddr directly as interface ID. */
1674 ip_2_ip6(&netif->ip6_addr[0])->addr[addr_index] |= lwip_htonl(((u32_t)(netif->hwaddr[netif->hwaddr_len - i - 1])) << (8 * (i & 0x03)));