example/ipsec_crypto/odp_ipsec_misc.h
static inline
char *mac_addr_str(char *b, uint8_t *mac)
{
	sprintf(b, "%02X:%02X:%02X:%02X:%02X:%02X",
		mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]);
	return b;
}
/**
 * Generate text string representing MAC address
 *
 * @param b     Pointer to buffer to store string
 * @param mac   Pointer to MAC address
 *
 * @return Pointer to supplied buffer
 */
Generate text string representing MAC address
@param b     Pointer to buffer to store string
@param mac   Pointer to MAC address

@return Pointer to supplied buffer
Generate text string representing MAC address @param b Pointer to buffer to store string @param mac Pointer to MAC address @return Pointer to supplied buffer
static inline
char *mac_addr_str(char *b, uint8_t *mac)
{
	sprintf(b, "%02X:%02X:%02X:%02X:%02X:%02X",
		mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]);
	return b;
}
static inline char * mac_addr_str ( char * b , uint8_t * mac ) { sprintf ( b , " " , mac [ 0 ] , mac [ 1 ] , mac [ 2 ] , mac [ 3 ] , mac [ 4 ] , mac [ 5 ] ) ; return b ; }
Generate text string representing MAC address
 @param b     Pointer to buffer to store string
 @param mac   Pointer to MAC address
Generate text string representing MAC address @param b Pointer to buffer to store string @param mac Pointer to MAC address