Changeset d4336d5 for tools/tracereport/dir_report.c
- Timestamp:
- 02/21/07 14:39:26 (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:
- 09be643
- Parents:
- c14602f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/tracereport/dir_report.c
r870e501 rd4336d5 5 5 #include "libtrace.h" 6 6 #include "tracereport.h" 7 #include "report.h"8 7 9 8 static uint64_t dir_bytes[8]; … … 12 11 void dir_per_packet(struct libtrace_packet_t *packet) 13 12 { 14 if (trace_get_direction(packet)== ~0U)13 if (trace_get_direction(packet)==-1) 15 14 return; 16 15 dir_bytes[trace_get_direction(packet)]+=trace_get_wire_length(packet);
Note: See TracChangeset
for help on using the changeset viewer.