Ignore:
Timestamp:
02/21/07 16:06:38 (14 years ago)
Author:
Josef Vodanovich <jjv4@…>
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
Message:

removed unnecessary loops

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/tracereport/tcpsegment_report.c

    rd4336d5 r09be643  
    2020        int a = trace_get_wire_length(packet);
    2121        a -= 34;
    22         //int b = tcp->doff*4;
    23         //if(b == 20)
    24         //      printf("Wire: %i\n", a);
     22
    2523        tcpseg_stat[dir][a].count++;
    2624        tcpseg_stat[dir][a].bytes+=trace_get_wire_length(packet);
     
    3230        int i;
    3331        printf("%-20s","Direction:");
    34         //printf("%20s", " ");
    3532        for(i=0;i<4;i++){
    3633                if(!suppress[i]){
Note: See TracChangeset for help on using the changeset viewer.