Searched refs:is_icmp_error (Results 1 – 3 of 3) sorted by relevance
28 int is_icmp_error(uint8_t type);
47 int is_icmp_error(uint8_t type) { return type == 3 || type == 11 || type == 12; } in is_icmp_error() function
243 if (pos == CLAT_POS_TRANSPORTHDR && is_icmp_error(icmp->type) && icmp6_type != ICMP6_PARAM_PROB) { in icmp_to_icmp6()