Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ipcpd: normal: Add operations to get and set the PCI | Sander Vrijders | 2016-09-07 | 18 | -317/+382 |
| | | | | | | | | | This adds the operations needed in the normal IPCP to get and set the Protocol Control Information. It allows to allocate or release space in the current DU. The struct pci can be serialized into newly allocate space. Vice versa, a struct pci can be deserialized given a DU. It allows for decreasing the TTL in the DU and for calculating the CRC32. The TTL and CRC32 can now be selected when creating a new DIF. | ||||
* | Merged in dstaesse/ouroboros/be-ipcp-dev (pull request #237) | Sander Vrijders | 2016-09-02 | 5 | -40/+39 |
|\ | | | | | | | lib: ipcp: Decouple flow_dealloc | ||||
| * | lib: ipcp: Decouple flow_dealloc | dimitri staessens | 2016-09-02 | 5 | -40/+39 |
| | | | | | | | | Sending a dealloc to the irmd moved to its own call. | ||||
* | | Merged in sandervrijders/ouroboros/be-swig-fix (pull request #236) | dimitri staessens | 2016-09-02 | 1 | -0/+3 |
|\ \ | | | | | | | | | | build: Add correct include directory for swig | ||||
| * | | build: Add correct include directory for swig | Sander Vrijders | 2016-09-01 | 1 | -0/+3 |
| |/ | | | | | | | | | | | The correct include directory was not added to the CMakeLists in the wrap directory. Before it was working since the headers were already installed system-wide on my own system. | ||||
* | | Merged in sandervrijders/ouroboros/be-alloc-flow (pull request #235) | dimitri staessens | 2016-09-02 | 3 | -17/+17 |
|\ \ | |/ |/| | | | lib: Change rdrbuff API to use correct types | ||||
| * | lib: Change rdrbuff API to use correct types | Sander Vrijders | 2016-09-01 | 3 | -17/+17 |
|/ | | | | | | The head and tail alloc and release operations were taking an int to identify the idx instead of a ssize_t. The size was a ssize_t instead of a size_t. | ||||
* | Merged in dstaesse/ouroboros/be-bugfixing (pull request #234) | Sander Vrijders | 2016-09-01 | 1 | -2/+7 |
|\ | | | | | | | irmd: Fix registering AP-I before bind | ||||
| * | irmd: Fix registering AP-I before bind | dimitri staessens | 2016-09-01 | 1 | -2/+7 |
| | | |||||
* | | Merged in dstaesse/ouroboros/be-bugfixing (pull request #233) | Sander Vrijders | 2016-09-01 | 1 | -2/+5 |
|\| | | | | | | | lib, rdrbuff: Fix fast path lockup | ||||
| * | lib, rdrbuff: Fix fast path lockup | dimitri staessens | 2016-09-01 | 1 | -2/+5 |
|/ | | | | Adds missing condition signals. | ||||
* | Merged in dstaesse/ouroboros/be-bugfixing (pull request #232) | Sander Vrijders | 2016-08-31 | 2 | -15/+20 |
|\ | | | | | | | irmd: Fix binding after registering | ||||
| * | lib, shm_rdrbuff: Fix preprocessor define | dimitri staessens | 2016-08-31 | 1 | -15/+15 |
| | | |||||
| * | irmd: Fix binding after registering | dimitri staessens | 2016-08-31 | 1 | -0/+5 |
| | | | | | | | | | | Flow will now allocate correctly when the name is registered in a DIF before it is bound to an AP. | ||||
* | | Merged in dstaesse/ouroboros/be-bugfixing (pull request #231) | Sander Vrijders | 2016-08-31 | 1 | -2/+2 |
|\| | | | | | | | tools, irm: Fix segfault with missing parameters | ||||
| * | tools, irm: Fix segfault with missing parameters | dimitri staessens | 2016-08-31 | 1 | -2/+2 |
| | | |||||
| * | Merge branch 'be' of bitbucket.org:ouroboros-rina/ouroboros into be | dimitri staessens | 2016-08-31 | 9 | -36/+134 |
| |\ | |/ |/| | |||||
* | | Merged in dstaesse/ouroboros/be-apple (pull request #230) | Sander Vrijders | 2016-08-31 | 9 | -36/+134 |
|\ \ | | | | | | | | | | lib, ipcp: Compile on Apple junk | ||||
| * | | lib, ipcp: Compile on Apple junk | dimitri staessens | 2016-08-30 | 9 | -36/+134 |
| | | | | | | | | | | | | | | | | | | Disables robust mutexes and clock attributes for condition variables for compatibility with OSX (SUSv2). Implements clock_gettime and adds some defines for OSX compatibility in time_utils. | ||||
| | * | Merge branch 'be' of bitbucket.org:ouroboros-rina/ouroboros into be | dimitri staessens | 2016-08-30 | 16 | -943/+1042 |
| | |\ | |_|/ |/| | | |||||
* | | | Merged in dstaesse/ouroboros/be-refactor-rdrbuff (pull request #229) | Sander Vrijders | 2016-08-30 | 16 | -943/+1042 |
|\| | | | | | | | | | | | lib: Refactor shm_du_map to shm_rdrbuff | ||||
| * | | lib: Refactor shm_du_map to shm_rdrbuff | dimitri staessens | 2016-08-29 | 16 | -943/+1042 |
|/ / | | | | | | | | | | | | | | | | | | | The shm_du_map is renamed to shm_rdrbuff to reflect the Random Deletion Ringbuffer used in the implementation. The close_on_exit call is removed and SDUs are cleaned up by the application in the ap_fini() call. This required a non-blocking peek() operation in the shm_ap_rbuff. Some initial implementation for future support of qos cubes has been added to the shm_rdrbuff. | ||||
* | | Merged in dstaesse/ouroboros/be-bugfixing (pull request #228) | Sander Vrijders | 2016-08-29 | 3 | -9/+14 |
|\ \ | | | | | | | | | | Some fixes | ||||
| | * | Merged in dstaesse/ouroboros/be-bugfixing (pull request #228) | Sander Vrijders | 2016-08-29 | 3 | -9/+14 |
| |/| |/|/ | | | | | Some fixes | ||||
| * | lib, cdap: Fix message handler | dimitri staessens | 2016-08-29 | 1 | -1/+1 |
| | | | | | | | | When getting a DELETE opcode, create was called instead of delete. | ||||
| * | cdap: Fix destruction | dimitri staessens | 2016-08-27 | 1 | -6/+3 |
| | | | | | | | | | | Destroying NULL should succeed. Resources need to be freed even if flow_dealloc fails. | ||||
| * | irmd: Add state checks to api_entry | dimitri staessens | 2016-08-27 | 2 | -2/+10 |
| | | | | | | | | Prevents double destruction. | ||||
* | | Merged in dstaesse/ouroboros/be-bugfixing (pull request #227) | Sander Vrijders | 2016-08-26 | 5 | -21/+22 |
|\| | | | | | | | Be bugfixing | ||||
| * | ipcpd: Report pid on shutdown | dimitri staessens | 2016-08-26 | 4 | -8/+8 |
| | | | | | | | | IPCPs will report their pid on shutdown for faster debugging. | ||||
| * | irmd: Revise shutdown procedure | dimitri staessens | 2016-08-26 | 1 | -13/+14 |
| | | | | | | | | | | Flows are deallocated first, then the socket is closed to prevent IPCPs hanging on the connect. | ||||
* | | Merged in dstaesse/ouroboros/be-bugfixing (pull request #226) | Sander Vrijders | 2016-08-25 | 6 | -77/+282 |
|\| | | | | | | | ipcpd, normal: Safe handling of CDAP requests | ||||
| * | ipcpd, normal: Safe handling of CDAP requests | dimitri staessens | 2016-08-25 | 6 | -77/+282 |
| | | | | | | | | Destruction of the object in the reply stage was unsafe. | ||||
* | | Merged in dstaesse/ouroboros/be-bugfixing (pull request #225) | Sander Vrijders | 2016-08-25 | 2 | -191/+0 |
|\| | | | | | | | irmd: Remove stale sources | ||||
| * | irmd: Remove stale sources | dimitri staessens | 2016-08-25 | 2 | -191/+0 |
| | | |||||
* | | Merged in dstaesse/ouroboros/be-bugfixing (pull request #224) | Sander Vrijders | 2016-08-25 | 1 | -2/+5 |
|\| | | | | | | | tools: Fix memleak in irm_ipcp_enroll | ||||
| * | tools: Fix memleak in irm_ipcp_enroll | dimitri staessens | 2016-08-25 | 1 | -2/+5 |
|/ | |||||
* | Merged in sandervrijders/ouroboros/be-fix (pull request #223) | dimitri staessens | 2016-08-25 | 1 | -6/+9 |
|\ | | | | | | | ipcpd: normal: Fix uninitialized value | ||||
| * | ipcpd: normal: Fix uninitialized value | Sander Vrijders | 2016-08-25 | 1 | -6/+9 |
|/ | | | | This removes the ret value which was not being set correctly. | ||||
* | Merged in dstaesse/ouroboros/be-irmd-fix (pull request #222) | Sander Vrijders | 2016-08-25 | 2 | -8/+18 |
|\ | | | | | | | Fix locks | ||||
| * | ipcpd, normal: Fix bad lock | dimitri staessens | 2016-08-25 | 1 | -3/+4 |
| | | |||||
| * | irmd: Fix bad lock | dimitri staessens | 2016-08-25 | 1 | -5/+14 |
| | | |||||
* | | Merged in dstaesse/ouroboros/be-ipcp-locks (pull request #221) | Sander Vrijders | 2016-08-24 | 9 | -460/+390 |
|\| | | | | | | | ipcpd: Revised locking | ||||
| * | ipcpd: Revised locking | dimitri staessens | 2016-08-24 | 9 | -460/+390 |
| | | | | | | | | | | | | The state lock was reverted to an rwlock to avoid interference of management functions with the fast path. IPCPs now close without calling unsafe functions in the signal handler. | ||||
* | | Merged in sandervrijders/ouroboros/be-normal-flow-alloc (pull request #219) | dimitri staessens | 2016-08-24 | 8 | -33/+646 |
|\ \ | | | | | | | | | | ipcpd: normal: Add initial steps for N+1 flow allocation | ||||
| * | | ipcpd: normal: Add initial steps for N+1 flow allocation | Sander Vrijders | 2016-08-23 | 8 | -33/+646 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds the initial framework for flow allocation between two N+1 endpoints. The FMGR will receive flow allocation requests and will create a connection as a result, addressed to the right address, it will also pass a flow allocation message to this address. Upon receipt on the other side, the FMGR will be receive a flow allocation message and a pointer to a new connection. The FMGR can then accept or destroy the connection. This commit also introduces the RMT function, which is needed by the FRCT to forward its SDUs on the right file descriptor. | ||||
* | | | Merged in dstaesse/ouroboros/be-bugfixing (pull request #220) | Sander Vrijders | 2016-08-23 | 3 | -1/+22 |
|\ \ \ | | |/ | |/| | | | | irmd: Fix wrong lookup | ||||
| * | | irmd: Fix wrong lookup | dimitri staessens | 2016-08-23 | 3 | -1/+22 |
|/ / | | | | | | | ap_table had no function to look for entries by apn. | ||||
* | | Merged in dstaesse/ouroboros/be-bugfixing (pull request #218) | Sander Vrijders | 2016-08-23 | 3 | -8/+5 |
|\ \ | | | | | | | | | | Various fixes | ||||
| * | | irmd: Fix reaping child processes | dimitri staessens | 2016-08-23 | 1 | -3/+4 |
| | | | |||||
| * | | irmd: Fix cleaning dead AP-I | dimitri staessens | 2016-08-23 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | The reg_entry_del_api must be called to correctly set the flow handling state instead of just clearing the entry from the list. |