Home
last modified time | relevance | path

Searched refs:macstr (Results 1 – 3 of 3) sorted by relevance

/freebsd/usr.sbin/setfmac/
H A Dsetfmac.c305 char *regexstr, *modestr, *macstr, *regerrorstr; in add_spec_line() local
315 macstr = strtok(NULL, " \t"); in add_spec_line()
316 if (macstr == NULL) { /* the mode is just optional */ in add_spec_line()
317 macstr = modestr; in add_spec_line()
336 entry->mactext = strdup(macstr); in add_spec_line()
340 if (asprintf(&entry->mactext, "sebsd/%s", macstr) == -1) in add_spec_line()
342 if (strcmp(macstr, "<<none>>") == 0) in add_spec_line()
398 char *regerrorstr, *macstr; in apply_specs() local
462 macstr = malloc(size); in apply_specs()
463 if (macstr == NULL) in apply_specs()
[all …]
/freebsd/sys/dev/xen/netfront/
H A Dnetfront.c385 char *s, *e, *macstr; in xen_net_read_mac() local
389 error = xs_read(XST_NIL, path, "mac", NULL, (void **) &macstr); in xen_net_read_mac()
407 error = xs_read(XST_NIL, path, "mac", NULL, (void **) &macstr); in xen_net_read_mac()
414 s = macstr; in xen_net_read_mac()
418 free(macstr, M_XENBUS); in xen_net_read_mac()
423 free(macstr, M_XENBUS); in xen_net_read_mac()
/freebsd/contrib/wpa/src/common/
H A Ddpp.c695 char macstr[ETH_ALEN * 2 + 10]; in dpp_gen_uri() local
704 macstr[0] = '\0'; in dpp_gen_uri()
706 os_snprintf(macstr, sizeof(macstr), "M:" COMPACT_MACSTR ";", in dpp_gen_uri()
708 len += os_strlen(macstr); /* M:...; */ in dpp_gen_uri()
756 macstr, in dpp_gen_uri()