Lines Matching refs:host_addr
751 const char *dev_addr, const char *host_addr, in gether_setup_name() argument
785 if (get_ether_addr(host_addr, dev->host_mac)) in gether_setup_name()
942 int gether_set_host_addr(struct net_device *net, const char *host_addr) in gether_set_host_addr() argument
948 if (get_ether_addr(host_addr, new_addr)) in gether_set_host_addr()
955 int gether_get_host_addr(struct net_device *net, char *host_addr, int len) in gether_get_host_addr() argument
961 ret = get_ether_addr_str(dev->host_mac, host_addr, len); in gether_get_host_addr()
963 host_addr[ret++] = '\n'; in gether_get_host_addr()
964 host_addr[ret] = '\0'; in gether_get_host_addr()
971 int gether_get_host_addr_cdc(struct net_device *net, char *host_addr, int len) in gether_get_host_addr_cdc() argument
979 snprintf(host_addr, len, "%pm", dev->host_mac); in gether_get_host_addr_cdc()
981 return strlen(host_addr); in gether_get_host_addr_cdc()