OLD | NEW |
1 /* | 1 /* |
2 * ut_sim.c | 2 * ut_sim.c |
3 * | 3 * |
4 * an unreliable transport simulator | 4 * an unreliable transport simulator |
5 * (for testing replay databases and suchlike) | 5 * (for testing replay databases and suchlike) |
6 * | 6 * |
7 * David A. McGrew | 7 * David A. McGrew |
8 * Cisco Systems, Inc. | 8 * Cisco Systems, Inc. |
9 */ | 9 */ |
10 | 10 |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 irecvd = ut_next_index(&utc); | 100 irecvd = ut_next_index(&utc); |
101 idiff = i - irecvd; | 101 idiff = i - irecvd; |
102 printf("%lu\t%lu\t%d\n", i, irecvd, idiff); | 102 printf("%lu\t%lu\t%d\n", i, irecvd, idiff); |
103 } | 103 } |
104 | 104 |
105 return 0; | 105 return 0; |
106 } | 106 } |
107 | 107 |
108 | 108 |
109 #endif | 109 #endif |
OLD | NEW |