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

/freebsd-current/usr.sbin/bhyve/
H A Dnet_utils.h35 int net_parsemac(const char *mac_str, uint8_t *mac_addr);
H A Dnet_utils.c45 net_parsemac(const char *mac_str, uint8_t *mac_addr) argument
50 if (mac_str == NULL)
53 ea = ether_aton(mac_str);
57 EPRINTLN("Invalid MAC %s", mac_str);
/freebsd-current/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-current/contrib/wpa/src/crypto/
H A Dtls_gnutls.c1680 const char *kx_str, *cipher_str, *mac_str; local
1694 mac_str = gnutls_mac_get_name(mac);
1695 if (!mac_str)
1696 mac_str = "";
1699 res = os_snprintf(buf, buflen, "%s-%s", cipher_str, mac_str);
1702 kx_str, cipher_str, mac_str);
/freebsd-current/contrib/libpcap/
H A Dpcap-dpdk.c504 static void eth_addr_str(ETHER_ADDR_TYPE *addrp, char* mac_str, int len) argument
508 snprintf(mac_str, len-1, DPDK_DEF_MAC_ADDR);
519 snprintf(mac_str+offset, len-1-offset, "%02X",addrp->addr_bytes[i]);
522 snprintf(mac_str+offset, len-1-offset, ":%02X", addrp->addr_bytes[i]);

Completed in 83 milliseconds