Home
last modified time | relevance | path

Searched refs:mac_str (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dfib_lookup.c153 static void mac_str(char *b, const __u8 *mac) in mac_str() function
214 mac_str(expected, tests[i].dmac); in test_fib_lookup()
215 mac_str(actual, fib_params->dmac); in test_fib_lookup()
/kernel/linux/linux-5.10/drivers/usb/atm/
H A Dspeedtch.c652 unsigned char mac_str[13]; in speedtch_atm_start() local
658 if (usb_string(usb_dev, usb_dev->descriptor.iSerialNumber, mac_str, sizeof(mac_str)) == 12) { in speedtch_atm_start()
660 atm_dev->esi[i] = (hex_to_bin(mac_str[i * 2]) << 4) + in speedtch_atm_start()
661 hex_to_bin(mac_str[i * 2 + 1]); in speedtch_atm_start()
H A Dueagle-atm.c2417 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()
/kernel/linux/linux-6.6/drivers/usb/atm/
H A Dspeedtch.c652 unsigned char mac_str[13]; in speedtch_atm_start() local
658 if (usb_string(usb_dev, usb_dev->descriptor.iSerialNumber, mac_str, sizeof(mac_str)) == 12) { in speedtch_atm_start()
660 atm_dev->esi[i] = (hex_to_bin(mac_str[i * 2]) << 4) + in speedtch_atm_start()
661 hex_to_bin(mac_str[i * 2 + 1]); in speedtch_atm_start()
H A Dueagle-atm.c2417 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()
/kernel/linux/linux-5.10/arch/xtensa/platforms/iss/
H A Dnetwork.c224 char *dev_name = NULL, *mac_str = NULL, *rem = NULL; in tuntap_probe() local
234 rem = split_if_spec(init + 1, &mac_str, &dev_name, NULL); in tuntap_probe()
254 setup_etheraddr(dev, mac_str); in tuntap_probe()
/kernel/linux/linux-6.6/arch/xtensa/platforms/iss/
H A Dnetwork.c230 char *dev_name = NULL, *mac_str = NULL, *rem = NULL; in tuntap_probe() local
240 rem = split_if_spec(init + 1, &mac_str, &dev_name, NULL); in tuntap_probe()
260 setup_etheraddr(dev, mac_str); in tuntap_probe()
/kernel/linux/linux-6.6/tools/testing/selftests/net/openvswitch/
H A Dovs-dpctl.py180 mac_str, _, mask_str = data.partition('/')
182 if not mac_str:
183 mac_str = mask_str = "00:00:00:00:00:00"
187 return to_bytes(mac_str), to_bytes(mask_str)

Completed in 15 milliseconds