Searched refs:macstr (Results 1 – 5 of 5) sorted by relevance
| /freebsd-13.1/usr.sbin/setfmac/ |
| H A D | setfmac.c | 317 macstr = strtok(NULL, " \t"); in add_spec_line() 319 macstr = modestr; in add_spec_line() 400 char *regerrorstr, *macstr; in apply_specs() local 464 macstr = malloc(size); in apply_specs() 465 if (macstr == NULL) in apply_specs() 467 *macstr = '\0'; in apply_specs() 471 if (*macstr != '\0') in apply_specs() 472 strcat(macstr, ","); in apply_specs() 476 if (mac_from_text(&mac, macstr)) in apply_specs() 482 free(macstr); in apply_specs() [all …]
|
| /freebsd-13.1/sys/mips/ingenic/ |
| H A D | jz4780_efuse.c | 143 char macstr[sizeof("xx:xx:xx:xx:xx:xx")]; in jz4780_efuse_update_kenv() local 150 snprintf(macstr, sizeof(macstr), "%6D", in jz4780_efuse_update_kenv() 152 kern_setenv("hint.dme.0.macaddr", macstr); in jz4780_efuse_update_kenv()
|
| /freebsd-13.1/sys/mips/atheros/ |
| H A D | ar71xx_machdep.c | 214 char macstr[32]; in ar71xx_platform_set_mac_hint() local 224 snprintf(macstr, 32, "%6D", lclmac, ":"); in ar71xx_platform_set_mac_hint() 227 printf(" %s => %s\n", devstr, macstr); in ar71xx_platform_set_mac_hint() 230 if (kern_setenv(devstr, macstr) != 0) { in ar71xx_platform_set_mac_hint() 234 macstr); in ar71xx_platform_set_mac_hint()
|
| /freebsd-13.1/sys/dev/xen/netfront/ |
| H A D | netfront.c | 329 char *s, *e, *macstr; in xen_net_read_mac() local 333 error = xs_read(XST_NIL, path, "mac", NULL, (void **) &macstr); in xen_net_read_mac() 351 error = xs_read(XST_NIL, path, "mac", NULL, (void **) &macstr); in xen_net_read_mac() 358 s = macstr; in xen_net_read_mac() 362 free(macstr, M_XENBUS); in xen_net_read_mac() 367 free(macstr, M_XENBUS); in xen_net_read_mac()
|
| /freebsd-13.1/contrib/wpa/src/common/ |
| H A D | dpp.c | 606 char macstr[ETH_ALEN * 2 + 10]; in dpp_gen_uri() local 613 macstr[0] = '\0'; in dpp_gen_uri() 615 os_snprintf(macstr, sizeof(macstr), "M:" COMPACT_MACSTR ";", in dpp_gen_uri() 617 len += os_strlen(macstr); /* M:...; */ in dpp_gen_uri() 632 macstr, in dpp_gen_uri()
|