summaryrefslogtreecommitdiff
path: root/src/tools/cbr/cbr_server.c
Commit message (Collapse)AuthorAgeFilesLines
* lib, irmd: Bind AP instances to AP_subsetsdimitri staessens2016-08-101-2/+7
| | | | | | | This call will allow grouping AP instances of a certain AP together which are configured identically. Adds the bind operation to dev and updates the applications to make use of this call. Flow_alloc is now only called with the pid and doesn't send the apn anymore.
* tools: cbr: Fix server cleanupdimitri staessens2016-08-041-15/+7
| | | | The server should cleanup whenever the listen thread exits.
* tools: cbr: Fix optionsdimitri staessens2016-08-041-9/+9
| | | | The server apn is a client-only option. Also fixes some indentation.
* lib: Portability to FreeBSDdimitri staessens2016-07-291-0/+5
| | | | | | | | | | Various portability fixes for FreeBSD. POSIX requires shm file names to start with a "/" to be portable. lseek(2) can be undefined on POSIX shm, replaced with ftruncate(2). IRMd check on existing lockfile more portable. FreeBSD 11.0 is preferred as it natively supports robust mutexes. Full working LLC implementation pending.
* lib, irmd, tools, ipcpd: updates to dev API.dimitri staessens2016-06-131-28/+2
| | | | | | | | | | | | | | | 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: Add threadpool to cbrSander Vrijders2016-05-261-36/+124
| | | | | This adds a threadpool to cbr, so that it is not overflooded with client requests.
* tools: fixes comments on d74d67adimitri staessens2016-05-241-3/+6
|
* tools, lib: cbr tool for bandwidth testingdimitri staessens2016-05-241-0/+174
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.