Searched refs:mac_str (Results 1 – 2 of 2) sorted by relevance
/external/libpcap/ |
D | pcap-dpdk.c | 488 static void eth_addr_str(ETHER_ADDR_TYPE *addrp, char* mac_str, int len) in eth_addr_str() argument 492 snprintf(mac_str, len-1, DPDK_DEF_MAC_ADDR); in eth_addr_str() 503 snprintf(mac_str+offset, len-1-offset, "%02X",addrp->addr_bytes[i]); in eth_addr_str() 506 snprintf(mac_str+offset, len-1-offset, ":%02X", addrp->addr_bytes[i]); in eth_addr_str()
|
/external/wpa_supplicant_8/src/crypto/ |
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()
|