version 1.42, 2000/01/03 04:27:57 |
version 1.43, 2000/01/05 00:07:08 |
|
|
for (first = 1, i = 0; i < ICMP_MAXTYPE + 1; i++) |
for (first = 1, i = 0; i < ICMP_MAXTYPE + 1; i++) |
if (icmpstat.icps_outhist[i] != 0) { |
if (icmpstat.icps_outhist[i] != 0) { |
if (first) { |
if (first) { |
printf("\tOutput histogram:\n"); |
printf("\tOutput packet histogram:\n"); |
first = 0; |
first = 0; |
} |
} |
printf("\t\t%s: %lu\n", icmpnames[i], |
printf("\t\t%s: %lu\n", icmpnames[i], |
|
|
for (first = 1, i = 0; i < ICMP_MAXTYPE + 1; i++) |
for (first = 1, i = 0; i < ICMP_MAXTYPE + 1; i++) |
if (icmpstat.icps_inhist[i] != 0) { |
if (icmpstat.icps_inhist[i] != 0) { |
if (first) { |
if (first) { |
printf("\tInput histogram:\n"); |
printf("\tInput packet histogram:\n"); |
first = 0; |
first = 0; |
} |
} |
printf("\t\t%s: %lu\n", icmpnames[i], |
printf("\t\t%s: %lu\n", icmpnames[i], |