Changeset 09be643 for tools/tracereport/port_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/port_report.c
rd4336d5 r09be643 39 39 int i; 40 40 printf("%-20s","Direction:"); 41 //printf("%20s", " ");42 41 for(i=0;i<4;i++){ 43 42 if(!suppress[i]){ … … 133 132 endprotoent(); 134 133 endservent(); 135 136 int total, j,k;137 for(i=0;i<4;i++){138 total = 0;139 for(j=0;j<256;j++)140 for(k=0;k<65536;k++)141 total += ports[i][j][k].count;142 //printf("%s: %i\n", "Total", total);143 }144 134 }
Note: See TracChangeset
for help on using the changeset viewer.