Searched refs:mac_str (Results 1 – 4 of 4) sorted by relevance
| /freebsd-12.1/usr.sbin/bhyve/ |
| H A D | net_utils.c | 39 net_parsemac(char *mac_str, uint8_t *mac_addr) in net_parsemac() argument 45 tmpstr = strsep(&mac_str,"="); in net_parsemac() 47 if ((mac_str != NULL) && (!strcmp(tmpstr,"mac"))) { in net_parsemac() 48 ea = ether_aton(mac_str); in net_parsemac() 52 fprintf(stderr, "Invalid MAC %s\n", mac_str); in net_parsemac()
|
| H A D | net_utils.h | 37 int net_parsemac(char *mac_str, uint8_t *mac_addr);
|
| /freebsd-12.1/tools/bus_space/examples/ |
| H A D | am79c900_diag.py | 170 def mac_str(m): function 337 logging.debug('RX #%d: packet for %s?' % (i, mac_str(pkt.eth_dest))) 339 logging.debug('RX %d: packet from %s!' % (i, mac_str(pkt.eth_src)))
|
| /freebsd-12.1/contrib/wpa/src/crypto/ |
| H A D | tls_gnutls.c | 1680 const char *kx_str, *cipher_str, *mac_str; in tls_get_cipher() local 1694 mac_str = gnutls_mac_get_name(mac); in tls_get_cipher() 1695 if (!mac_str) in tls_get_cipher() 1696 mac_str = ""; in tls_get_cipher() 1699 res = os_snprintf(buf, buflen, "%s-%s", cipher_str, mac_str); in tls_get_cipher() 1702 kx_str, cipher_str, mac_str); in tls_get_cipher()
|