summaryrefslogtreecommitdiff
path: root/src/tools/operf/operf_server.c
Commit message (Collapse)AuthorAgeFilesLines
* src, tools: Set/get timeout and get qos for flowsdimitri staessens2016-12-121-1/+1
| | | | | | | | | | | | | | | | Receiver timeouts can now be set on a flow using the flow_set_timeout function. Specifying NULL disables the timeout. The flow_get_timeout function gets the value for the timeout. This commit also deprecates fcntl in favor of flow_get_flags and flow_set_flags functions. struct qos_spec is typedef'd as a qosspec_t. The tools and cdap.c are updated to use the new API. Fixes a bug in operf client where the client's writer thread wouldn't cancel on SIGINT.
* tools: Add operf tooldimitri staessens2016-10-301-0/+179
This tool allows bidirectional bandwidth measurement between a client and server application. The server reflects all traffic back to the client. The traffic can be capped at a certain rate or set to flood.