Changeset ec73798
- Timestamp:
- 12/12/05 13:41:13 (17 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:
- 93d0858
- Parents:
- 95db152
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/rtt/rtt.cc
r7e9d51c rec73798 134 134 double last = 0; 135 135 struct flow_id_t a,b; 136 137 /* Perform a self test to prove that the comparitor is working fine */ 136 138 a.ip_a = 0x7f000001; 137 139 a.ip_b = 0x0ac0ffee; … … 143 145 b.port_b = 80; 144 146 145 printf("%i %u %u\n",cmp(a,b),a.ip_a,b.ip_a);146 147 147 assert(cmp(a,b)==1); 148 149 /* Now that the self test has succeeded, try the full program */ 148 150 149 151 trace = trace_create(argv[1]);
Note: See TracChangeset
for help on using the changeset viewer.