Home
last modified time | relevance | path

Searched refs:min_code (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/netfilter/
H A Dxt_tcpudp.c168 static bool type_code_in_range(u8 test_type, u8 min_code, u8 max_code, in type_code_in_range() argument
171 return type == test_type && code >= min_code && code <= max_code; in type_code_in_range()
174 static bool icmp_type_code_match(u8 test_type, u8 min_code, u8 max_code, in icmp_type_code_match() argument
178 type_code_in_range(test_type, min_code, max_code, type, code)) in icmp_type_code_match()
182 static bool icmp6_type_code_match(u8 test_type, u8 min_code, u8 max_code, in icmp6_type_code_match() argument
185 return type_code_in_range(test_type, min_code, max_code, type, code) ^ invert; in icmp6_type_code_match()