Changeset 09be643 for tools/tracereport/tos_report.c
- Timestamp:
- 02/21/07 16:06:38 (15 years ago)
- Branches:
- 4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
- Children:
- f9b6f64
- Parents:
- d4336d5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/tracereport/tos_report.c
rd4336d5 r09be643 12 12 { 13 13 struct libtrace_ip *ip = trace_get_ip(packet); 14 15 14 if (!ip) 16 15 return; … … 27 26 int i; 28 27 printf("%-20s","Direction:"); 29 //printf("%20s", " ");30 28 for(i=0;i<4;i++){ 31 29 if(!suppress[i]){ … … 77 75 printf("\n"); 78 76 } 79 80 int total;81 for(i=0;i<4;i++){82 total = 0;83 for(j=0;j<256;j++)84 total += tos_stat[i][j].count;85 //printf("%s: %i\n", "Total", total);86 }87 77 }
Note: See TracChangeset
for help on using the changeset viewer.