summaryrefslogtreecommitdiff
path: root/src/tools/cbr/cbr_client.c
Commit message (Collapse)AuthorAgeFilesLines
* ouroboros: Correct license statementsdimitri staessens2016-12-241-3/+2
| | | | | This corrects the license statements on all files. Installed headers are LGPLv2.1, the rest of the code is GPLv2.
* tools: Shut down cbr gracefullydimitri staessens2016-12-101-1/+35
| | | | | | | Adds a simple cleanup handler that avoids abrupt termination during an sdu_write call, which potentially locks up the entire system due to the writes in the rdrbuff and rbuff not being handled as a single transaction.
* tools: Fix likely overflow in cbr outputdimitri staessens2016-11-161-3/+3
|
* build: Compile with strict conversiondimitri staessens2016-10-221-8/+7
| | | | | This has the code checked with -Wcast-qual and -Wconversion flags. These flags were removed because SWIG generated code fails.
* tools: fixed application shutdowndimitri staessens2016-06-161-2/+0
| | | | Tools would do a double ap_fini when an error occurred.
* lib, irmd, tools, ipcpd: updates to dev API.dimitri staessens2016-06-131-9/+7
| | | | | | | | | | | | | | | The registration function has been moved to the irm tool, applications now need to be registered by an administrator. Currently only supports one instance per registered name, and an AP can be registered under only one name. The irmd can now start a registered server application on demand. For the full functionality of the tool, execute "irm register". AP name removed from flow allocation. Flow allocation does not send the source ap name as it is quite useless. The accept() call now only returns the AE name.
* tools: updated cbr with flood and sleep optionsdimitri staessens2016-05-271-19/+49
| | | | | | | The cbr client will now use busy waiting by default to control the sending rate. A --sleep option has been added to allow low CPU usage when sending at low data rates. A --flood option has been added that writes SDU's as fast as possible.
* tools: Add threadpool to cbrSander Vrijders2016-05-261-0/+1
| | | | | This adds a threadpool to cbr, so that it is not overflooded with client requests.
* tools: cbr continues when a write failsdimitri staessens2016-05-251-2/+2
| | | | | the CBR tool would stop if the buffer is full. Now it will continue sending SDU's until the duration expires.
* tools: fixes comments on d74d67adimitri staessens2016-05-241-1/+1
|
* tools, lib: cbr tool for bandwidth testingdimitri staessens2016-05-241-0/+97
The tool sends constant bandwidth traffic between a client and a server. cbr --help for more info. Adds time_utils.h to the library containing useful functions for arithmetic with timespec and timeval structures.