Searched refs:icmpv6_codes (Results 1 – 1 of 1) sorted by relevance
18 static const struct icmpv6_names icmpv6_codes[] = { variable63 for (i = 0; i < ARRAY_SIZE(icmpv6_codes); ++i) { in print_icmpv6types()64 if (i && icmpv6_codes[i].type == icmpv6_codes[i-1].type) { in print_icmpv6types()65 if (icmpv6_codes[i].code_min == icmpv6_codes[i-1].code_min in print_icmpv6types()66 && (icmpv6_codes[i].code_max in print_icmpv6types()67 == icmpv6_codes[i-1].code_max)) in print_icmpv6types()68 printf(" (%s)", icmpv6_codes[i].name); in print_icmpv6types()70 printf("\n %s", icmpv6_codes[i].name); in print_icmpv6types()73 printf("\n%s", icmpv6_codes[i].name); in print_icmpv6types()96 static const unsigned int limit = ARRAY_SIZE(icmpv6_codes); in parse_icmpv6()[all …]