Lines Matching refs:host_mac
80 u8 host_mac[ETH_ALEN]; member
792 if (get_ether_addr(host_addr, dev->host_mac)) in gether_setup_name()
797 memcpy(ethaddr, dev->host_mac, ETH_ALEN); in gether_setup_name()
814 INFO(dev, "HOST MAC %pM\n", dev->host_mac); in gether_setup_name()
853 eth_random_addr(dev->host_mac); in gether_setup_name_default()
881 INFO(dev, "HOST MAC %pM\n", dev->host_mac); in gether_register_netdev()
943 memcpy(dev->host_mac, new_addr, ETH_ALEN); in gether_set_host_addr()
953 return get_ether_addr_str(dev->host_mac, host_addr, len); in gether_get_host_addr()
965 snprintf(host_addr, len, "%pm", dev->host_mac); in gether_get_host_addr_cdc()
971 void gether_get_host_addr_u8(struct net_device *net, u8 host_mac[ETH_ALEN]) in gether_get_host_addr_u8()
976 memcpy(host_mac, dev->host_mac, ETH_ALEN); in gether_get_host_addr_u8()