Lines Matching refs:pc

67 	char *pt, *pc, *px;  in interpret_icmp()  local
80 pc = ""; in interpret_icmp()
88 pc = buff; in interpret_icmp()
98 pc = buff; in interpret_icmp()
100 pc = "Bad net"; in interpret_icmp()
108 pc = buff; in interpret_icmp()
110 pc = "Bad host"; in interpret_icmp()
117 pc = buff; in interpret_icmp()
119 pc = "Bad protocol"; in interpret_icmp()
131 pc = buff; in interpret_icmp()
137 pc = buff; in interpret_icmp()
140 pc = "Port unreachable"; in interpret_icmp()
144 pc = "Bad port"; in interpret_icmp()
152 pc = buff; in interpret_icmp()
154 pc = "Needed to fragment"; in interpret_icmp()
158 pc = "Source route failed"; in interpret_icmp()
161 pc = "Unknown network"; in interpret_icmp()
164 pc = "Unknown host"; in interpret_icmp()
167 pc = "Source host isolated"; in interpret_icmp()
170 pc = "Net administratively prohibited"; in interpret_icmp()
173 pc = "Host administratively prohibited"; in interpret_icmp()
176 pc = "Net unreachable for this TOS"; in interpret_icmp()
179 pc = "Host unreachable for this TOS"; in interpret_icmp()
182 pc = "Communication administratively prohibited"; in interpret_icmp()
185 pc = "Host precedence violation"; in interpret_icmp()
188 pc = "Precedence cutoff in effect"; in interpret_icmp()
201 pc = "for network"; in interpret_icmp()
204 pc = "for host"; in interpret_icmp()
207 pc = "for tos and net"; in interpret_icmp()
210 pc = "for tos and host"; in interpret_icmp()
216 pc, addrtoname(AF_INET, &icmp->icmp_ip.ip_dst), in interpret_icmp()
218 pc = buff; in interpret_icmp()
224 pc = buff; in interpret_icmp()
306 pc = buff; in interpret_icmp()
316 pc = "in transit"; in interpret_icmp()
319 pc = "in reassembly"; in interpret_icmp()
329 pc = "Required option missing"; in interpret_icmp()
332 pc = "Bad length"; in interpret_icmp()
337 pc = buff; in interpret_icmp()
360 pc = buff; in interpret_icmp()
368 if (*pc) { in interpret_icmp()
371 pt, pc, px); in interpret_icmp()
373 (void) sprintf(line, "ICMP %s (%s)", pt, pc); in interpret_icmp()
385 if (*pc) { in interpret_icmp()
387 icmp->icmp_code, pc); in interpret_icmp()
445 char *pt, *pc; local
455 pc = "";
462 pc = "No route to destination";
465 pc = "Communication administratively prohibited";
468 pc = "Address unreachable";
484 pc = buff;
494 pc = buff;
498 pc = "Port unreachable";
502 pc = "Bad port";
519 pc = "Hop limit exceeded in transit";
522 pc = "Fragment reassembly time exceeded";
532 pc = "Erroneous header field";
535 pc = "Unrecognized next header type";
538 pc = "Unrecognized IPv6 option";
546 pc = buff;
552 pc = buff;
589 if (*pc)
590 (void) sprintf(line, "ICMPv6 %s (%s)", pt, pc);
600 if (*pc)
602 icmp6->icmp6_code, pc);