Home
last modified time | relevance | path

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

/freebsd/usr.sbin/bhyve/
H A Dnet_utils.c45 net_parsemac(const char *mac_str, uint8_t *mac_addr) in net_parsemac() argument
50 if (mac_str == NULL) in net_parsemac()
53 ea = ether_aton(mac_str); in net_parsemac()
57 EPRINTLN("Invalid MAC %s", mac_str); in net_parsemac()
H A Dnet_utils.h35 int net_parsemac(const char *mac_str, uint8_t *mac_addr);
/freebsd/tools/bus_space/examples/
H A Dam79c900_diag.py169 def mac_str(m): function
336 logging.debug('RX #%d: packet for %s?' % (i, mac_str(pkt.eth_dest)))
338 logging.debug('RX %d: packet from %s!' % (i, mac_str(pkt.eth_src)))
/freebsd/contrib/libpcap/
H A Dpcap-dpdk.c502 static void eth_addr_str(ETHER_ADDR_TYPE *addrp, char* mac_str, int len) in eth_addr_str() argument
506 snprintf(mac_str, len-1, DPDK_DEF_MAC_ADDR); in eth_addr_str()
517 snprintf(mac_str+offset, len-1-offset, "%02X",addrp->addr_bytes[i]); in eth_addr_str()
520 snprintf(mac_str+offset, len-1-offset, ":%02X", addrp->addr_bytes[i]); in eth_addr_str()
/freebsd/contrib/wpa/src/crypto/
H A Dtls_gnutls.c1680 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()