Changeset 013d3692 for tools/tracereport/tcpopt_report.c
- Timestamp:
- 02/22/07 13:21:46 (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:
- 4eec8dc
- Parents:
- f7953ac
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/tracereport/tcpopt_report.c
rf7953ac r013d3692 53 53 54 54 /* Put some headings up for human-readability */ 55 fprintf(out, "%-12s\t% 8s\t%12s\t%12s\n",55 fprintf(out, "%-12s\t%10s\t%16s %16s\n", 56 56 "OPTION", 57 57 "DIRECTION", … … 83 83 fprintf(out, "%12s", "Timestamp |"); 84 84 break; 85 case 12: 86 fprintf(out, "%12s", "CC.New |"); 87 break; 85 88 case 19: 86 89 fprintf(out, "%12s", "MD5 |"); 90 break; 87 91 default: 88 fprintf(out, "%1 2i |",i);92 fprintf(out, "%10i |",i); 89 93 } 90 94 … … 96 100 switch (j) { 97 101 case 0: 98 fprintf(out, "\t% 8s", "Outbound");102 fprintf(out, "\t%10s", "Outbound"); 99 103 break; 100 104 case 1: 101 fprintf(out, "\t% 8s", "Inbound");105 fprintf(out, "\t%10s", "Inbound"); 102 106 break; 103 107 case 2: 104 fprintf(out, "\t% 8s", "Unknown");108 fprintf(out, "\t%10s", "Unknown"); 105 109 break; 106 110 } 107 111 108 fprintf(out, "\t%1 2llu %12llu\n",112 fprintf(out, "\t%16llu %16llu\n", 109 113 tcpopt_stat[j][i].bytes, 110 114 tcpopt_stat[j][i].count);
Note: See TracChangeset
for help on using the changeset viewer.