summaryrefslogtreecommitdiff
path: root/src/irmd/irm_flow.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.