Searched refs:macstr (Results 1 - 3 of 3) sorted by relevance
/freebsd-11-stable/usr.sbin/setfmac/ |
H A D | setfmac.c | 305 char *regexstr, *modestr, *macstr, *regerrorstr; local 315 macstr = strtok(NULL, " \t"); 316 if (macstr == NULL) { /* the mode is just optional */ 317 macstr = modestr; 336 entry->mactext = strdup(macstr); 340 if (asprintf(&entry->mactext, "sebsd/%s", macstr) == -1) 342 if (strcmp(macstr, "<<none>>") == 0) 398 char *regerrorstr, *macstr; local 462 macstr = malloc(size); 463 if (macstr [all...] |
/freebsd-11-stable/sys/mips/atheros/ |
H A D | ar71xx_machdep.c | 240 char macstr[32]; local 250 snprintf(macstr, 32, "%6D", lclmac, ":"); 253 printf(" %s => %s\n", devstr, macstr); 256 if (kern_setenv(devstr, macstr) != 0) { 260 macstr);
|
/freebsd-11-stable/sys/dev/xen/netfront/ |
H A D | netfront.c | 327 char *s, *e, *macstr; local 331 error = xs_read(XST_NIL, path, "mac", NULL, (void **) &macstr); 349 error = xs_read(XST_NIL, path, "mac", NULL, (void **) &macstr); 356 s = macstr; 360 free(macstr, M_XENBUS); 365 free(macstr, M_XENBUS);
|
Completed in 72 milliseconds