Home
last modified time | relevance | path

Searched refs:macstr (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/net/xen-netback/
Dxenbus.c503 char *s, *e, *macstr; in xen_net_read_mac() local
506 macstr = s = xenbus_read(XBT_NIL, dev->nodename, "mac", NULL); in xen_net_read_mac()
507 if (IS_ERR(macstr)) in xen_net_read_mac()
508 return PTR_ERR(macstr); in xen_net_read_mac()
513 kfree(macstr); in xen_net_read_mac()
519 kfree(macstr); in xen_net_read_mac()
/Linux-v5.10/drivers/net/
Dxen-netfront.c1680 char *s, *e, *macstr; in xen_net_read_mac() local
1683 macstr = s = xenbus_read(XBT_NIL, dev->nodename, "mac", NULL); in xen_net_read_mac()
1684 if (IS_ERR(macstr)) in xen_net_read_mac()
1685 return PTR_ERR(macstr); in xen_net_read_mac()
1690 kfree(macstr); in xen_net_read_mac()
1696 kfree(macstr); in xen_net_read_mac()
/Linux-v5.10/drivers/net/hyperv/
Drndis_filter.c717 char macstr[2*ETH_ALEN+1]; in rndis_filter_set_device_mac() local
751 snprintf(macstr, 2*ETH_ALEN+1, "%pm", mac); in rndis_filter_set_device_mac()
752 ret = utf8s_to_utf16s(macstr, 2*ETH_ALEN, UTF16_HOST_ENDIAN, in rndis_filter_set_device_mac()