summaryrefslogtreecommitdiff
path: root/src/tools/cbr/cbr.c
Commit message (Collapse)AuthorAgeFilesLines
* build: Replace fsf snail mail with contact URLdimitri staessens2017-08-131-1/+1
|
* include, lib: Rename ap_init/ap_finidimitri staessens2017-04-131-3/+3
| | | | Fixes #35
* Change email addresses to ugent.beSander Vrijders2017-03-031-2/+2
| | | | | | | Our mailserver was migrated from intec.ugent.be to the central ugent.be emailserver. This PR updates the header files to reflect this change as well. Some header files were also homogenized if the parameters within the functions were badly aligned.
* lib, tools, ipcpd: Fix compilation on FreeBSDdimitri staessens2017-02-091-0/+1
| | | | | | | | | | | | FreeBSD defines its own bswap64 in the <sys/endian.h> header, which is now included correctly. POSIX requires XSI or RTS extensions to be enabled for the sa_sigaction field to be visible. Linux doesn't do the check correctly, but FreeBSD does. Removes the LOG_MISSING call which was deprecated with the last revision of the logging system.
* build: Update licenses and copyrightdimitri staessens2017-01-091-1/+1
| | | | | Copyright is set to 2016 - 2017. License text on includes and sources in the library are changed to indicate the LGPLv2.1 license.
* 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.
* build: Compile with strict conversiondimitri staessens2016-10-221-1/+1
| | | | | This has the code checked with -Wcast-qual and -Wconversion flags. These flags were removed because SWIG generated code fails.
* src: Fix grammar (SDU's -> SDUs)dimitri staessens2016-09-021-4/+4
|
* irmd, lib: Rebuild the IRMd data modeldimitri staessens2016-08-211-5/+11
| | | | | | | | | | | | | | | | | | | | | | The complete data model inside the IRMd has been restructured. The bind operation was revised to allow binding of AP and AP instances and register those names with different DIFs (see "irm bind" for details). Server applications require to call ap_init with a server name argument, client application that do not the be reachable over any DIF can call ap_init(NULL). Calling ap_init for a client with a specified name will not have adverse consequences for the application, but will consume unnecessary resources in the IRMd. Application servers can now be started at any point after the IRMd has been started. Starting servers, binding AP names and registering names in DIFs can be performed in any order that does not defy temporal logic. Supports naming instances by their pid. In case of IPCP Instances created with the IRM tool, the name assigned during "irm ipcp create" can be used. All the changes required updates in the tools.
* tools: cbr: Fix missing check on ap_initdimitri staessens2016-08-041-2/+4
| | | | If ap_init() fails, the program should exit.
* tools: cbr: Fix optionsdimitri staessens2016-08-041-1/+1
| | | | The server apn is a client-only option. Also fixes some indentation.
* Fixed comments on #122dimitri staessens2016-06-141-2/+0
|
* lib, irmd, tools, ipcpd: updates to dev API.dimitri staessens2016-06-131-11/+31
| | | | | | | | | | | | | | | 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-2/+11
| | | | | | | 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: fixes comments on d74d67adimitri staessens2016-05-241-6/+3
|
* tools, lib: cbr tool for bandwidth testingdimitri staessens2016-05-241-0/+124
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.