Home
last modified time | relevance | path

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

/openbmc/openbmc/meta-bytedance/meta-g220a/recipes-network/network/static-mac-addr/
H A Dmac-check59 local mac_str=$mac_str:${mac[$i]}
61 mac_str=${mac_str:1:17}
62 echo "$mac_str" 2>/dev/null
/openbmc/google-misc/subprojects/ncsid/src/
H A Dnet_config.cpp60 char mac_str[MAC_FORMAT_LENGTH]; in format_mac() local
61 snprintf(mac_str, sizeof(mac_str), MAC_FORMAT, mac.octet[0], mac.octet[1], in format_mac()
64 return std::string{mac_str}; in format_mac()
/openbmc/u-boot/cmd/
H A Dpxe.c316 char mac_str[21]; in pxe_mac_path() local
319 err = format_mac_pxe(mac_str, sizeof(mac_str)); in pxe_mac_path()
324 return get_pxelinux_path(cmdtp, mac_str, pxefile_addr_r); in pxe_mac_path()
623 char mac_str[29] = ""; in label_boot() local
675 strcpy(mac_str, " BOOTIF="); in label_boot()
676 err = format_mac_pxe(mac_str + 8, sizeof(mac_str) - 8); in label_boot()
678 mac_str[0] = '\0'; in label_boot()
687 strlen(ip_str) + strlen(mac_str) + 1 > sizeof(bootargs)) { in label_boot()
690 strlen(ip_str), strlen(mac_str), in label_boot()
698 strcat(bootargs, mac_str); in label_boot()
/openbmc/inarp/
H A Dinarp.c155 static char mac_str[ETH_ALEN * (sizeof("00:") - 1)]; in eth_mac_to_str() local
158 snprintf(mac_str, sizeof(mac_str), in eth_mac_to_str()
163 return mac_str; in eth_mac_to_str()