Lines Matching refs:icmpv6
82 " --icmpv6-type [!] typename match icmpv6 type\n"
89 { "icmpv6-type", 1, 0, '1' },
169 "icmpv6 match: only use --icmpv6-type once!");
228 const struct ip6t_icmp *icmpv6 = (struct ip6t_icmp *)match->data;
231 print_icmpv6type(icmpv6->type, icmpv6->code[0], icmpv6->code[1],
232 icmpv6->invflags & IP6T_ICMP_INV,
235 if (icmpv6->invflags & ~IP6T_ICMP_INV)
237 icmpv6->invflags & ~IP6T_ICMP_INV);
243 const struct ip6t_icmp *icmpv6 = (struct ip6t_icmp *)match->data;
245 if (icmpv6->invflags & IP6T_ICMP_INV)
248 printf("--icmpv6-type %u", icmpv6->type);
249 if (icmpv6->code[0] != 0 || icmpv6->code[1] != 0xFF)
250 printf("/%u", icmpv6->code[0]);
258 "icmpv6 match: You must specify `--icmpv6-type'");
261 static struct ip6tables_match icmpv6 = {
277 register_match6(&icmpv6);