summaryrefslogtreecommitdiff
path: root/src/irmd/irm_flow.c
Commit message (Collapse)AuthorAgeFilesLines
* lib: Log to the logging systemdimitri staessens2017-02-081-3/+3
| | | | | | | | | | This removes the logfile and outputs log messages to the logging system. The creation of the logfiles (as well as the ap_init() call) were moved into ipcp_init() to simplify the IPCP creation and shutdown. Fixes #25 Fixes #27
* 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.
* irmd: Refactor irm_flowdimitri staessens2016-11-161-11/+27
| | | | | Creation and destruction of the rbuffs is now completely handled in the irm_flow.
* irmd: Fix check in irm_flowdimitri staessens2016-10-271-1/+1
|
* irmd: Fix cleanup of pending flowsdimitri staessens2016-10-271-0/+13
|
* lib: Move rbuff creation/destruction to IRMddimitri staessens2016-10-211-0/+6
| | | | | This stabilises flow allocation now that the rbuffs are created upon flow allocation. Only the IRMd can sync this process sufficiently.
* lib: Fix flow deallocation logicdimitri staessens2016-10-131-1/+1
| | | | | Both the N and N-1 entity must now call flow_dealloc for the port_id to be released.
* lib, ipcp: Revise fast path and flow interfacesdimitri staessens2016-10-041-0/+47
| | | | | | | | | | | | IPCPs can now use ap_init() to initialize the memory. All flows are accessed using flow descriptors, this greatly simplifies IPCP development. Reverts the fast path to a single ap_rbuff per process. Splits lib/ipcp into irmd/ipcp and lib/ipcp-dev. Adds a lib/shim-dev holding tailored functions for shims. Moves the buffer_t to utils.h. Fixes the shim-eth-llc length field. Removes the flow from shared.h. Fixes #4 Fixes #5
* irmd: Graceful shutdowndimitri staessens2016-08-101-4/+1
| | | | | | Threads from the threadpool will now check the state of the IRMd and exit gracefully without a need to cancel them. This avoids the unsafe call of pthread_cancel in the signal handler.
* irmd: Fix bad lockingdimitri staessens2016-08-091-1/+0
| | | | Locks should be kept before calling cond_wait.
* irmd: Refactor and bugfixesdimitri staessens2016-08-081-0/+81
Refactors the IRMd to extract reg_api and irm_flow structures to their own sources. Fixes some locking bugs.