Lines Matching refs:code
107 " (or numeric type or type/code)\n"
118 parse_icmp(const char *icmptype, u_int8_t *type, u_int8_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;
177 icmpinfo->code[1] = 0xFF;
197 icmpinfo->code);
242 printf(" code %u ", code_min);
256 print_icmptype(icmp->type, icmp->code[0], icmp->code[1],
278 if (icmp->code[0] != 0 || icmp->code[1] != 0xFF)
279 printf("/%u", icmp->code[0]);