example/ipsec_crypto/odp_ipsec_misc.h
static inline
char *ipv4_addr_str(char *b, uint32_t addr)
{
	sprintf(b, "%03d.%03d.%03d.%03d",
		0xFF & ((addr) >> 24),
		0xFF & ((addr) >> 16),
		0xFF & ((addr) >>  8),
		0xFF & ((addr) >>  0));
	return b;
}
/**
 * Generate text string representing IPv4 address
 *
 * @param b    Pointer to buffer to store string
 * @param addr IPv4 address
 *
 * @return Pointer to supplied buffer
 */
Generate text string representing IPv4 address
@param b    Pointer to buffer to store string
@param addr IPv4 address

@return Pointer to supplied buffer
Generate text string representing IPv4 address @param b Pointer to buffer to store string @param addr IPv4 address @return Pointer to supplied buffer
static inline
char *ipv4_addr_str(char *b, uint32_t addr)
{
	sprintf(b, "%03d.%03d.%03d.%03d",
		0xFF & ((addr) >> 24),
		0xFF & ((addr) >> 16),
		0xFF & ((addr) >>  8),
		0xFF & ((addr) >>  0));
	return b;
}
static inline char * ipv4_addr_str ( char * b , uint32_t addr ) { sprintf ( b , " " , 0xFF & ( ( addr ) >> 24 ) , 0xFF & ( ( addr ) >> 16 ) , 0xFF & ( ( addr ) >> 8 ) , 0xFF & ( ( addr ) >> 0 ) ) ; return b ; }
Generate text string representing IPv4 address
 @param b    Pointer to buffer to store string
 @param addr IPv4 address
Generate text string representing IPv4 address @param b Pointer to buffer to store string @param addr IPv4 address