example/ipsec_crypto/odp_ipsec_misc.h
static inline
int match_ip_range(uint32_t addr, ip_addr_range_t *range)
{
	return (range->addr == (addr & range->mask));
}
/**
 * Check IPv4 address against a range/subnet
 *
 * @param addr  IPv4 address to check
 * @param range Pointer to address range to check against
 *
 * @return 1 if match else 0
 */
Check IPv4 address against a range/subnet
@param addr  IPv4 address to check
@param range Pointer to address range to check against

@return 1 if match else 0
Check IPv4 address against a range / subnet @param addr IPv4 address to check @param range Pointer to address range to check against @return 1 if match else 0
static inline
int match_ip_range(uint32_t addr, ip_addr_range_t *range)
{
	return (range->addr == (addr & range->mask));
}
static inline int match_ip_range ( uint32_t addr , ip_addr_range_t * range ) { return ( range -> addr == ( addr & range -> mask ) ) ; }
Check IPv4 address against a range/subnet
 @param addr  IPv4 address to check
 @param range Pointer to address range to check against
Check IPv4 address against a range / subnet @param addr IPv4 address to check @param range Pointer to address range to check against