Changeset c718bda in mainline for uspace/srv/net/tcp/ncsim.c
- Timestamp:
- 2018-01-15T21:40:49Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- dbbbe75b
- Parents:
- ba29018
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-15 21:20:07)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-15 21:40:49)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/tcp/ncsim.c
rba29018 rc718bda 81 81 return; 82 82 83 if (0 /*rand om() % 4 == 3*/) {83 if (0 /*rand() % 4 == 3*/) { 84 84 /* Drop segment */ 85 85 log_msg(LOG_DEFAULT, LVL_ERROR, "NCSim dropping segment"); … … 94 94 } 95 95 96 sqe->delay = rand om() % (1000 * 1000);96 sqe->delay = rand() % (1000 * 1000); 97 97 sqe->epp = *epp; 98 98 sqe->seg = seg;
Note:
See TracChangeset
for help on using the changeset viewer.