Lines Matching refs:code
107 "[!] --icmp-type type[/code] (or numeric type or type/code)\n");
118 parse_icmp(const char *icmptype, uint8_t *type, uint8_t code[])
140 code[0] = icmp_codes[match].code_min;
141 code[1] = icmp_codes[match].code_max;
160 "Invalid ICMP code `%s'\n",
162 code[0] = code[1] = number;
164 code[0] = 0;
165 code[1] = 0xFF;
175 icmpinfo->code[1] = 0xFF;
183 parse_icmp(cb->arg, &icmpinfo->type, icmpinfo->code);
215 printf(" code %u", code_min);
226 print_icmptype(icmp->type, icmp->code[0], icmp->code[1],
247 if (icmp->code[0] != 0 || icmp->code[1] != 0xFF)
248 printf("/%u", icmp->code[0]);