summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | tools: Use busy waiting in operfdimitri staessens2016-11-192-4/+24
| | | | | | | | | | | | | | | | | | Using nanosleep in between sending SDUs is not accurate enough when sending thousands of SDUs per second. The --sleep option is added for lowering CPU consumption in low bandwidth tests.
* | | Merged in dstaesse/ouroboros/be-llc (pull request #304)Sander Vrijders2016-11-181-1/+1
|\| | | | | | | | | | | ipcpd: Fix SDU size check in LLC shim
| * | ipcpd: Fix SDU size check in LLC shimdimitri staessens2016-11-181-1/+1
|/ / | | | | | | Total SDU size (including LLC header) cannot exceed 1500 bytes.
* | Merged in dstaesse/ouroboros/be-rdrbuff (pull request #303)Sander Vrijders2016-11-175-192/+138
|\ \ | | | | | | | | | lib: Remove dst_api field from rdrbuff blocks
| * | lib: Remove dst_api field from rdrbuff blocksdimitri staessens2016-11-175-192/+138
|/ / | | | | | | | | | | Now that we have an rbuff per flow per AP, there is no more need to keep the dst_api in the rdrbuff. This also simplifies the sanitizer in the irmd.
* | Merged in dstaesse/ouroboros/be-irm-flow (pull request #302)Sander Vrijders2016-11-163-86/+48
|\ \ | | | | | | | | | irmd: Refactor irm_flow
| * | irmd: Refactor irm_flowdimitri staessens2016-11-163-86/+48
|/ / | | | | | | | | Creation and destruction of the rbuffs is now completely handled in the irm_flow.
* | Merged in dstaesse/ouroboros/be-cbr (pull request #300)Sander Vrijders2016-11-161-3/+3
|\ \ | | | | | | | | | tools: Fix likely overflow in cbr output
| * | tools: Fix likely overflow in cbr outputdimitri staessens2016-11-161-3/+3
| | |
* | | Merged in dstaesse/ouroboros/be-irmd (pull request #299)Sander Vrijders2016-11-161-1/+0
|\ \ \ | |_|/ |/| | | | | irmd: Fix shutdown
| * | irmd: Fix shutdowndimitri staessens2016-11-161-1/+0
|/ / | | | | | | | | The IRMd should not send messages to the IPCPs after its mainloop terminated. IPCPs should cleanup al state when they get the SIGTERM.
* | Merged in sandervrijders/ouroboros/be-rib (pull request #298)dimitri staessens2016-11-153-6/+587
|\ \ | |/ |/| | | ipcpd: normal: Add RIB objects
| * ipcpd: normal: Add RIB objectsSander Vrijders2016-11-153-6/+587
|/ | | | | This adds the ability to create/update/destroy RIB objects. Syncing with other DIF members is not yet supported.
* Merged in sandervrijders/ouroboros/be-cdap-revised (pull request #297)dimitri staessens2016-11-014-258/+152
|\ | | | | | | lib: Simplify CDAP API
| * lib: Simplify CDAP APISander Vrijders2016-11-014-258/+152
|/ | | | | | This will simplify the CDAP API. Now the opcode has to be given when sending a CDAP request. Before a separate operation was provided since some of the function parameters are unused for certain commands.
* Merged in sandervrijders/ouroboros/be-addr-auth (pull request #296)dimitri staessens2016-11-0114-19/+275
|\ | | | | | | ipcpd: normal: Add policy for obtaining a flat address
| * ipcpd: normal: Add policy for obtaining a flat addressSander Vrijders2016-11-0114-19/+275
| | | | | | | | | | | | This adds a policy for obtaining a flat address, and thus also the infrastructure for policies in the IPCP. The IPCP should check if the address is available; this is currently not there yet.
* | Merged in dstaesse/ouroboros/be-fixes (pull request #295)Sander Vrijders2016-10-316-143/+169
|\ \ | | | | | | | | | lib, ipcpd: Improve flow allocation
| * | lib, ipcpd: Improve flow allocationdimitri staessens2016-10-316-143/+169
| | | | | | | | | | | | | | | | | | | | | All calls for opening rbuffs are now concentrated on the dev side. This allows some simplifications in the np1 calls. The ipcp_fini call will not destroy the mutex associated with the state, since the final state needs to be checked before shutting down an IPCP.
* | | Merged in dstaesse/ouroboros/be-fixes (pull request #294)Sander Vrijders2016-10-314-32/+46
|\| | | | | | | | | | | ipcpd: Clean shutdown when bootstrap fails
| * | ipcpd: Remove unnecessary include of fcntldimitri staessens2016-10-313-4/+0
| | |
| * | ipcpd: Clean shutdown when bootstrap failsdimitri staessens2016-10-314-28/+46
| | | | | | | | | | | | | | | Fixes a double free (conf->dif_name) and the handling of non-created threads when the bootstrap of an IPCP fails
* | | Merged in dstaesse/ouroboros/be-dealloc (pull request #293)Sander Vrijders2016-10-3010-18/+663
|\| | | |/ |/| | | operf tool, bugfixing and small improvements
| * tools: Add operf tooldimitri staessens2016-10-305-0/+628
| | | | | | | | | | | | 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.
| * tools: Fix parameters in oping tooldimitri staessens2016-10-301-4/+5
| |
| * irmd: Fix irmd state checkdimitri staessens2016-10-301-1/+1
| |
| * lib: Have flow_event_wait return non-zero valuedimitri staessens2016-10-302-12/+26
| | | | | | | | | | | | Flow_event_wait will either return -EINVAL, -ETIMEDOUT or a positive integer indicating the number of SDUs in the fqueue. This allows to call the function as the condition for a non-terminating while loop.
| * tools: Fix memleak in ipcp bootstrapdimitri staessens2016-10-301-1/+3
| |
* | Merged in dstaesse/ouroboros/be-dealloc (pull request #292)Sander Vrijders2016-10-301-0/+1
|\| | | | | | | lib: Free fd when deallocating a flow
| * lib: Free fd when deallocating a flowdimitri staessens2016-10-301-0/+1
|/ | | | Fixes a little bug that sneaked in with the revised deallocation.
* Merged in sandervrijders/ouroboros/be-fix-conn (pull request #291)0.3dimitri staessens2016-10-274-46/+58
|\ | | | | | | ipcpd: normal: Fix bugs in connection establishment
| * ipcpd: normal: Fix bugs in connection establishmentSander Vrijders2016-10-274-46/+58
| | | | | | | | This fixes some bugs in connection establishment over the normal IPCP.
* | Merged in dstaesse/ouroboros/be-dealloc (pull request #290)Sander Vrijders2016-10-272-81/+129
|\ \ | |/ |/| | | lib: Clean up flow if alloc_res fails
| * lib: Clean up flow if alloc_res failsdimitri staessens2016-10-272-81/+129
| | | | | | | | | | | | | | | | | | If alloc_res fails all resources will be cleaned, except for the assigned flow_descriptor, which must be released with a dealloc call. Calling dealloc after a failed flow_alloc will not try to destroy the already cleaned up flow in the IRMd and IPCPs. Also fixes some memleaks in the oping client.
* | Merged in dstaesse/ouroboros/be-irmd (pull request #289)Sander Vrijders2016-10-271-1/+1
|\| | | | | | | irmd: Fix check in irm_flow
| * irmd: Fix check in irm_flowdimitri staessens2016-10-271-1/+1
| |
* | Merged in dstaesse/ouroboros/be-udp (pull request #287)Sander Vrijders2016-10-271-11/+10
|\ \ | | | | | | | | | ipcpd: Fix bad lock in shim-udp
| * | ipcpd: Fix bad lock in shim-udpdimitri staessens2016-10-261-11/+10
| | |
* | | Merged in dstaesse/ouroboros/be-irmd (pull request #288)Sander Vrijders2016-10-272-3/+19
|\ \ \ | | |/ | |/| | | | irmd: Fix cleanup of pending flows
| * | irmd: Fix cleanup of pending flowsdimitri staessens2016-10-272-3/+19
|/ /
* | Merged in dstaesse/ouroboros/be-more_flow_alloc (pull request #285)Sander Vrijders2016-10-2610-184/+97
|\| | | | | | | lib, ipcpd: Further stabilization of flows
| * lib, ipcpd: Further stabilization of flowsdimitri staessens2016-10-2610-184/+97
|/ | | | | | | | | | | The steps for flow deallocation have been further refined. An operation ipcp_flow_fini() which wait for all SDUs to be read from a flow has been added. The shim IPCPs and the local IPCP have been adapted to this new API. Deallocation messages have been removed from the shim IPCPs, since there is insufficient state synchronisation between them to make this work reliably.
* Merged in sandervrijders/ouroboros/be-fix-udp-query (pull request #286)dimitri staessens2016-10-261-0/+5
|\ | | | | | | ipcpd: shim-udp: Add check for directory entry
| * ipcpd: shim-udp: Add check for directory entrySander Vrijders2016-10-261-0/+5
| | | | | | | | | | | | A check was missing in the shim UDP if the destination was already present in the directory, in which case no further queries were needed.
* | Merged in sandervrijders/ouroboros/be-bind-ipcp (pull request #284)dimitri staessens2016-10-264-5/+20
|\ \ | |/ |/| | | tools: irm: Bind IPCP name to IPCP-I
| * irmd: Fix wrong unlocksSander Vrijders2016-10-261-2/+2
| | | | | | | | This fixes 2 wrong unlocks in the bind API method.
| * tools: irm: Bind IPCP name to IPCP-ISander Vrijders2016-10-263-3/+18
|/ | | | | | This will invoke the bind operation when using the irm tool to create a new IPCP. The new IPCP will be bound to the IPCP name as specified by the administrator.
* Merged in sandervrijders/ouroboros/be-ipcp-threads (pull request #283)dimitri staessens2016-10-264-33/+51
|\ | | | | | | ipcpd: Add threadpool for main loop
| * ipcpd: Add threadpool for main loopSander Vrijders2016-10-264-33/+51
| | | | | | | | | | | | | | This adds a threadpool for the main loop of the IPCPs. Before there was a single thread handling each request, which could result in starvation since performing name queries at the same time as enrolling a normal IPCP was impossible.
* | Merged in dstaesse/ouroboros/be-qos (pull request #279)Sander Vrijders2016-10-266-7/+15
|\ \ | |/ |/| | | lib: API for accepting flows with QoS