Searched refs:mac_str (Results 1 – 4 of 4) sorted by relevance
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | fib_lookup.c | 250 static void mac_str(char *b, const __u8 *mac) in mac_str() function 359 mac_str(expected, tests[i].dmac); in test_fib_lookup() 360 mac_str(actual, fib_params->dmac); in test_fib_lookup()
|
| /linux/drivers/usb/atm/ |
| H A D | speedtch.c | 655 unsigned char mac_str[13]; in speedtch_atm_start() local 661 if (usb_string(usb_dev, usb_dev->descriptor.iSerialNumber, mac_str, sizeof(mac_str)) == 12) { in speedtch_atm_start() 663 atm_dev->esi[i] = (hex_to_bin(mac_str[i * 2]) << 4) + in speedtch_atm_start() 664 hex_to_bin(mac_str[i * 2 + 1]); in speedtch_atm_start()
|
| H A D | ueagle-atm.c | 2417 unsigned char mac_str[2 * ETH_ALEN + 1]; in uea_getesi() local 2420 (sc->usb_dev, sc->usb_dev->descriptor.iSerialNumber, mac_str, in uea_getesi() 2421 sizeof(mac_str)) != 2 * ETH_ALEN) in uea_getesi() 2425 esi[i] = hex_to_bin(mac_str[2 * i]) * 16 + in uea_getesi() 2426 hex_to_bin(mac_str[2 * i + 1]); in uea_getesi()
|
| /linux/tools/testing/selftests/net/openvswitch/ |
| H A D | ovs-dpctl.py | 186 mac_str, _, mask_str = data.partition('/') 188 if not mac_str: 189 mac_str = mask_str = "00:00:00:00:00:00" 193 return to_bytes(mac_str), to_bytes(mask_str)
|