Lines Matching refs:mac
64 uint8_t mac[sizeof(struct net_eth_addr)]; member
90 ctx->mac[0] = 0x00; in test_iface_init()
91 ctx->mac[1] = 0x00; in test_iface_init()
92 ctx->mac[2] = 0x5E; in test_iface_init()
93 ctx->mac[3] = 0x00; in test_iface_init()
94 ctx->mac[4] = 0x53; in test_iface_init()
95 ctx->mac[5] = ++counter; in test_iface_init()
97 net_if_set_link_addr(iface, ctx->mac, sizeof(ctx->mac), NET_LINK_ETHERNET); in test_iface_init()
391 ctx->mac[0] = 0x00; in offload_iface_init()
392 ctx->mac[1] = 0x00; in offload_iface_init()
393 ctx->mac[2] = 0x5E; in offload_iface_init()
394 ctx->mac[3] = 0x00; in offload_iface_init()
395 ctx->mac[4] = 0x53; in offload_iface_init()
396 ctx->mac[5] = 0xF0; in offload_iface_init()
398 net_if_set_link_addr(iface, ctx->mac, sizeof(ctx->mac), NET_LINK_ETHERNET); in offload_iface_init()