| 574 |
|
|
| 575 |
indent(); |
indent(); |
| 576 |
|
|
| 577 |
for (u = 0; u < ipprotocount; u++) { |
for (u = 0; u < ipprotocount; u++) { |
| 578 |
unsigned char proto; |
unsigned char proto; |
| 579 |
unsigned long in; |
unsigned long in; |
| 580 |
unsigned long out; |
unsigned long out; |
| 581 |
|
|
| 582 |
print_indentation(); |
print_indentation(); |
| 583 |
printf("Protocol #%u of %u:\n", u + 1, ipprotocount); |
printf("Protocol #%u of %u:\n", u + 1, ipprotocount); |
| 584 |
|
|
| 585 |
proto = read8u(); |
proto = read8u(); |
| 586 |
|
|
| 587 |
indent(); |
indent(); |
| 588 |
print_indentation(); |
print_indentation(); |
| 589 |
printf("Protocol 0x%x\n", proto); |
printf("Protocol 0x%02x\n", proto); |
| 590 |
|
|
| 591 |
in = read64u(); |
in = read64u(); |
| 592 |
|
|
| 593 |
print_indentation(); |
print_indentation(); |
| 594 |
printf("In %lu\n", in); |
printf("In %lu\n", in); |
| 595 |
|
|
| 596 |
out = read64u(); |
out = read64u(); |
| 597 |
|
|
| 598 |
print_indentation(); |
print_indentation(); |
| 599 |
printf("Out %lu\n", out); |
printf("Out %lu\n", out); |
| 600 |
|
|
| 601 |
exdent(); |
exdent(); |
| 602 |
} // for |
} // for |
| 603 |
|
|
| 604 |
exdent(); |
exdent(); |