Searched refs:macstr (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/net/xen-netback/ |
D | xenbus.c | 503 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-6.12.1/tools/testing/selftests/net/openvswitch/ |
D | ovs-dpctl.py | 68 def macstr(mac): function 1051 macstr, 1058 macstr, 1320 macstr, 1327 macstr, 1365 ("sll", "sll", macstr, lambda x: int.from_bytes(x, "big")), 1366 ("tll", "tll", macstr, lambda x: int.from_bytes(x, "big")),
|
/linux-6.12.1/drivers/net/ |
D | xen-netfront.c | 1879 char *s, *e, *macstr; in xen_net_read_mac() local 1882 macstr = s = xenbus_read(XBT_NIL, dev->nodename, "mac", NULL); in xen_net_read_mac() 1883 if (IS_ERR(macstr)) in xen_net_read_mac() 1884 return PTR_ERR(macstr); in xen_net_read_mac() 1889 kfree(macstr); in xen_net_read_mac() 1895 kfree(macstr); in xen_net_read_mac()
|
/linux-6.12.1/drivers/net/hyperv/ |
D | rndis_filter.c | 808 char macstr[2*ETH_ALEN+1]; in rndis_filter_set_device_mac() local 842 snprintf(macstr, 2*ETH_ALEN+1, "%pm", mac); in rndis_filter_set_device_mac() 843 ret = utf8s_to_utf16s(macstr, 2*ETH_ALEN, UTF16_HOST_ENDIAN, in rndis_filter_set_device_mac()
|