Searched refs:icmpv6_codes (Results 1 – 2 of 2) sorted by relevance
15 static const struct xt_icmp_names icmpv6_codes[] = { variable64 xt_print_icmp_types(icmpv6_codes, ARRAY_SIZE(icmpv6_codes)); in icmp6_help()76 static const unsigned int limit = ARRAY_SIZE(icmpv6_codes); in parse_icmpv6()81 if (strncasecmp(icmpv6_codes[i].name, icmpv6type, strlen(icmpv6type)) in parse_icmpv6()88 icmpv6_codes[match].name, in parse_icmpv6()89 icmpv6_codes[i].name); in parse_icmpv6()95 *type = icmpv6_codes[match].type; in parse_icmpv6()96 code[0] = icmpv6_codes[match].code_min; in parse_icmpv6()97 code[1] = icmpv6_codes[match].code_max; in parse_icmpv6()151 for (i = 0; i < ARRAY_SIZE(icmpv6_codes); ++i) in print_icmpv6type()[all …]
52 static const struct xt_icmp_names icmpv6_codes[] = { variable133 static const unsigned int limit = ARRAY_SIZE(icmpv6_codes); in parse_icmpv6()138 if (strncasecmp(icmpv6_codes[i].name, icmpv6type, strlen(icmpv6type))) in parse_icmpv6()143 icmpv6type, icmpv6_codes[match].name, in parse_icmpv6()144 icmpv6_codes[i].name); in parse_icmpv6()149 type[0] = type[1] = icmpv6_codes[match].type; in parse_icmpv6()150 code[0] = icmpv6_codes[match].code_min; in parse_icmpv6()151 code[1] = icmpv6_codes[match].code_max; in parse_icmpv6()209 for (i = 0; i < ARRAY_SIZE(icmpv6_codes); i++) { in print_icmp_type()210 if (icmpv6_codes[i].type != type[0]) in print_icmp_type()[all …]