kernels/linux-2.4.0/net/ipv6/netfilter/ip6_tables.c
/* Returns 1 if the type and code is matched by the range, 0 otherwise */
Returns 1 if the type and code is matched by the range, 0 otherwise
Returns 1 if the type and code is matched by the range 0 otherwise
static inline int
icmp_type_code_match(u_int8_t test_type, u_int8_t min_code, u_int8_t max_code,
		     u_int8_t type, u_int8_t code,
		     int invert)
{
	return (type == test_type && code >= min_code && code <= max_code)
		^ invert;
}
static inline int icmp_type_code_match ( u_int8_t test_type , u_int8_t min_code , u_int8_t max_code , u_int8_t type , u_int8_t code , int invert ) { return ( type == test_type && code >= min_code && code <= max_code ) ^ invert ; }
Returns 1 if the type and code is matched by the range, 0 otherwise
Returns 1 if the type and code is matched by the range 0 otherwise