Changeset 7248cdc for test/test-dir.c
- Timestamp:
- 08/21/06 23:28:10 (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:
- 8bf0517
- Parents:
- fd33292
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/test-dir.c
r0ff6ddf r7248cdc 52 52 #include <string.h> 53 53 54 #include "dagformat.h"55 54 #include "libtrace.h" 56 55 … … 141 140 if (trace_get_source_port(packet)==80) { 142 141 trace_set_direction(packet,TRACE_DIR_OUTGOING); 142 assert(trace_get_direction(packet)==TRACE_DIR_OUTGOING); 143 assert(trace_get_source_port(packet)==80); 143 144 } 144 145 else { 145 146 trace_set_direction(packet,TRACE_DIR_INCOMING); 147 assert(trace_get_direction(packet)==TRACE_DIR_INCOMING); 146 148 } 147 149 /* And then force demotion */
Note: See TracChangeset
for help on using the changeset viewer.