Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | irmd: Release lock before ipcp_query | dimitri staessens | 2017-08-04 | 1 | -8/+16 |
| | | | | | | The blocking ipcp_query call was called under reg_lock, causing flow_allocs over the shim-eth-llc to block the irmd for prolonged timespans. | ||||
* | ipcpd, lib, irmd: Hardcode shim hash algorithms | Sander Vrijders | 2017-07-12 | 1 | -2/+16 |
| | | | | | | | This will hardcode the shim hash algorithms as they don't have an enrollment phase. Fixes #44 | ||||
* | irmd: Shutdown sanitizer without cancellation | dimitri staessens | 2017-07-12 | 1 | -6/+3 |
| | |||||
* | lib, ipcpd, irmd: Add full-fledged QoS | Sander Vrijders | 2017-06-21 | 4 | -3/+5 |
| | | | | | | | This adds more Quality of Service support to Ouroboros. One part is the network specific characteristics such as bandwidth, delay, ... The other part is end-to-end QoS like reliability, window based flow control, ... | ||||
* | Merged in dstaesse/ouroboros/be-macro (pull request #514) | dimitri staessens | 2017-06-05 | 1 | -1/+1 |
|\ | | | | | | | include: Fix macro for printing hash | ||||
| * | include: Fix macro for printing hash | dimitri staessens | 2017-06-04 | 1 | -1/+1 |
| | | |||||
* | | lib, irmd: Handle case fallthrough in gcc 7 | dimitri staessens | 2017-06-04 | 1 | -0/+1 |
|/ | |||||
* | ipcpd: Allow specifying fixed syntax | dimitri staessens | 2017-05-15 | 2 | -7/+7 |
| | | | | | | This commits adds the functions and messages to specify a fixed protocol syntax during CACEP. It also revises the messages for specifying the DT protocol syntax from the irm tool. | ||||
* | irmd: Fix unbinding AP and AP-Is from a name | dimitri staessens | 2017-05-09 | 3 | -4/+16 |
| | | | | | | | APs and AP-Is were not removed from the registry entry for that name. Reported by: [email protected] Tested by: [email protected] | ||||
* | irmd: Remove some debug logs | dimitri staessens | 2017-04-28 | 1 | -6/+0 |
| | |||||
* | ipcpd: Add capability reporting | dimitri staessens | 2017-04-27 | 3 | -36/+61 |
| | | | | | | | | The IPCP will now report the DIF name and the hash value to the IRMd as a dif_info struct. This can later be extended to add further capability reporting. Some bugfixes in normal. Fixes #24 | ||||
* | Merged in dstaesse/ouroboros/be-hashing (pull request #484) | dimitri staessens | 2017-04-16 | 4 | -22/+28 |
|\ | | | | | | | Be hashing | ||||
| * | ipcpd: Allow specifying the hash algorithm to use | dimitri staessens | 2017-04-16 | 4 | -22/+28 |
| | | | | | | | | Currently CRC32, MD5, and SHA3 (224, 256, 384 and 512 bit) are supported. | ||||
* | | irmd, ipcpd: Include socket in select() for FreeBSD | dimitri staessens | 2017-04-16 | 1 | -1/+1 |
|/ | | | | Fixes #41 | ||||
* | include, lib: Rename ap_init/ap_fini | dimitri staessens | 2017-04-13 | 1 | -1/+1 |
| | | | | Fixes #35 | ||||
* | Merged in dstaesse/ouroboros/be-hashes (pull request #479) | dimitri staessens | 2017-04-13 | 6 | -171/+253 |
|\ | | | | | | | lib, ipcpd, irmd: Register hash instead of name | ||||
| * | lib, ipcpd, irmd: Register hash instead of name | dimitri staessens | 2017-04-13 | 6 | -171/+253 |
| | | | | | | | | | | | | | | | | | | All information passed over the IRMd/IPCP boundary for using IPC services (flow allocation, registration) is now hashed. This effectively fixes the shared namespace between DIFs and the IRMDs. This PR also fixes some API issues (adding const identifiers), shuffles the include headers a bit and some small bugs. | ||||
* | | irmd: Fix mixed declaration | dimitri staessens | 2017-04-11 | 1 | -2/+2 |
|/ | |||||
* | irmd: Remove unnecessary state locks | dimitri staessens | 2017-04-06 | 1 | -207/+36 |
| | |||||
* | irmd: Prevent impatient user deadlock on shutdown | dimitri staessens | 2017-04-06 | 1 | -0/+18 |
| | |||||
* | lib, irmd: Implement flow allocation timeout | dimitri staessens | 2017-04-06 | 6 | -112/+213 |
| | | | | | | Setting the timeouts on flow_alloc and flow_accept will now work. This makes some changes to the UNIX sockets used for management communication between the APs, IRMd and IPCPs. | ||||
* | irmd: Initialize in stack memory | dimitri staessens | 2017-04-04 | 1 | -482/+485 |
| | |||||
* | ipcpd, irmd: Fix cleanup of thread resources | dimitri staessens | 2017-04-04 | 1 | -23/+17 |
| | |||||
* | lib, irmd, ipcpd: Stabilize flow allocation | dimitri staessens | 2017-04-04 | 4 | -48/+86 |
| | |||||
* | irmd: Fix dealloc of pending flow | dimitri staessens | 2017-04-02 | 1 | -2/+5 |
| | |||||
* | irmd: Fix thread creation order | dimitri staessens | 2017-04-02 | 1 | -1/+1 |
| | |||||
* | irmd: Add dynamic threadpool | dimitri staessens | 2017-04-01 | 1 | -31/+196 |
| | | | | | | | | | | | This makes the IRMd add/remove worker threads dynamically. IRMD_TPM_TIMEOUT sets a timer in the threadpool manager for checking idle threads. Each time this timer expires, it will reduce the threadpool by one. IRMD_MIN_AV_THREADS is the minimum number of available worker threads. If the number of active threads goes under this threshold, the threadpool manager will create threads to get the number of threads to IRMD_MAX_AV_THREADS, unless IRMD_MAX_THREADS is reached. | ||||
* | irmd: Keep track of qos in irm_flow | dimitri staessens | 2017-03-31 | 5 | -19/+17 |
| | | | | This fixes the bug in handling multiple concurrent flow allocations. | ||||
* | irmd: Fix assignment bug | dimitri staessens | 2017-03-31 | 1 | -2/+2 |
| | |||||
* | lib: Revise flow allocation API | dimitri staessens | 2017-03-31 | 3 | -154/+68 |
| | | | | | | The flow_alloc_res and flow_alloc_resp calls have been removed. The flow_alloc and flow_accept calls are now both blocking and take an additional timeout argument. | ||||
* | irmd: Fix shutdown with active accept | dimitri staessens | 2017-03-29 | 1 | -0/+1 |
| | |||||
* | irmd: Exit blocking threads from irm_sanitizer | dimitri staessens | 2017-03-29 | 1 | -21/+25 |
| | | | | | | Some blocking calls caused mainloops to never exit. The irm_sanitizer will now clean up those structs before exiting. This will speed up regular exit and avoids non-cancelling threads. | ||||
* | irmd: Set failed flows to FLOW_NULL before destroy | dimitri staessens | 2017-03-29 | 2 | -1/+1 |
| | |||||
* | Merged in dstaesse/ouroboros/be-irmd (pull request #410) | dimitri staessens | 2017-03-22 | 1 | -0/+3 |
|\ | | | | | | | irmd: Fix some missing locks | ||||
| * | irmd: Fix some missing locks | dimitri staessens | 2017-03-22 | 1 | -0/+3 |
| | | |||||
* | | irmd: Fix clock used for timedwait | dimitri staessens | 2017-03-22 | 1 | -1/+1 |
| | | |||||
* | | ipcpd: normal: Several bugfixes | Sander Vrijders | 2017-03-21 | 1 | -2/+3 |
|/ | | | | These solve several bugfixes in the normal. | ||||
* | Merge branch 'be' of bitbucket.org:ouroboros-rina/ouroboros into be | Sander Vrijders | 2017-03-21 | 14 | -45/+43 |
|\ | |||||
| * | Change email addresses to ugent.be | Sander Vrijders | 2017-03-03 | 13 | -15/+27 |
| | | | | | | | | | | | | | | 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. | ||||
| * | build: Format CMakeLists.txt files | Sander Vrijders | 2017-03-03 | 1 | -11/+11 |
| | | | | | | | | The CMakeLists files are now properly indented. | ||||
| * | lib: Remove application entity name | Sander Vrijders | 2017-02-24 | 5 | -19/+5 |
| | | | | | | | | | | The AE name should not be passed over the layer boundaries. If an application has more than one AE it should exchange this in CACEP. | ||||
* | | Merge branch 'testing' into be | Sander Vrijders | 2017-03-21 | 3 | -6/+25 |
|\ \ | |/ |/| | |||||
| * | irmd: Fix timeouts in reg_entry | dimitri staessens | 2017-03-21 | 3 | -6/+25 |
| | | | | | | | | | | This fixes bad timedwaits for the state of the reg_entry. Also slightly revised timedwaits throughout the prototype. | ||||
* | | Merge branch 'testing' into be | Sander Vrijders | 2017-02-24 | 1 | -1/+1 |
|\| | |||||
| * | irmd: Fix bug in name comparison of IPCPs | dimitri staessens | 2017-02-24 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'testing' into be | Sander Vrijders | 2017-02-23 | 1 | -3/+32 |
|\| | |||||
| * | irmd: Check IPCP name when creating an IPCP | dimitri staessens | 2017-02-23 | 1 | -3/+25 |
| | | |||||
| * | irmd: Check IPCP type before bootstrap | dimitri staessens | 2017-02-22 | 1 | -0/+7 |
| | | | | | | | | | | This prevents assertion failures in the IPCP in some cases. IPCPs can now safely assert the type. | ||||
* | | irmd: Fix detection of IRMd | dimitri staessens | 2017-02-21 | 1 | -22/+22 |
|/ | | | | | | | When starting two IRMds, the second one exits, but applications can't contact the first because the second instance took the UNIX socket. Now the lockfile is checked for running IRMd instances before opening the UNIX socket. | ||||
* | irmd: Fix bad lock | dimitri staessens | 2017-02-16 | 1 | -4/+4 |
| |