Home
last modified time | relevance | path

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

/external/iptables/extensions/
Dlibipt_icmp.c26 static const struct icmp_names icmp_codes[] = { variable
87 for (i = 0; i < ARRAY_SIZE(icmp_codes); ++i) { in print_icmptypes()
88 if (i && icmp_codes[i].type == icmp_codes[i-1].type) { in print_icmptypes()
89 if (icmp_codes[i].code_min == icmp_codes[i-1].code_min in print_icmptypes()
90 && (icmp_codes[i].code_max in print_icmptypes()
91 == icmp_codes[i-1].code_max)) in print_icmptypes()
92 printf(" (%s)", icmp_codes[i].name); in print_icmptypes()
94 printf("\n %s", icmp_codes[i].name); in print_icmptypes()
97 printf("\n%s", icmp_codes[i].name); in print_icmptypes()
120 static const unsigned int limit = ARRAY_SIZE(icmp_codes); in parse_icmp()
[all …]