Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/tools/testing/selftests/net/openvswitch/
Dovs-dpctl.py62 def macstr(mac): function
771 macstr,
778 macstr,
1040 macstr,
1047 macstr,
1085 ("sll", "sll", macstr, lambda x: int.from_bytes(x, "big")),
1086 ("tll", "tll", macstr, lambda x: int.from_bytes(x, "big")),
/Linux-v6.6/drivers/net/
Dxen-netfront.c1878 char *s, *e, *macstr; in xen_net_read_mac() local
1881 macstr = s = xenbus_read(XBT_NIL, dev->nodename, "mac", NULL); in xen_net_read_mac()
1882 if (IS_ERR(macstr)) in xen_net_read_mac()
1883 return PTR_ERR(macstr); in xen_net_read_mac()
1888 kfree(macstr); in xen_net_read_mac()
1894 kfree(macstr); in xen_net_read_mac()
/Linux-v6.6/drivers/net/hyperv/
Drndis_filter.c809 char macstr[2*ETH_ALEN+1]; in rndis_filter_set_device_mac() local
843 snprintf(macstr, 2*ETH_ALEN+1, "%pm", mac); in rndis_filter_set_device_mac()
844 ret = utf8s_to_utf16s(macstr, 2*ETH_ALEN, UTF16_HOST_ENDIAN, in rndis_filter_set_device_mac()