summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merged in dstaesse/ouroboros/be-fbsd (pull request #246)Sander Vrijders2016-09-071-0/+1
|\ | | | | | | ipcpd: Add missing include for FreeBSD
| * ipcpd: Add missing include for FreeBSDdimitri staessens2016-09-071-0/+1
| |
* | Merged in dstaesse/ouroboros/be-select (pull request #245)Sander Vrijders2016-09-071-8/+16
|\| | | | | | | lib: Add lazy copy of flow_set
| * lib: Add lazy copy of flow_setdimitri staessens2016-09-071-8/+16
|/ | | | | | The flow_set now has a safe copy which is threadsafe for the select call without needing a lock. This greatly speeds up consecutive select calls.
* Merged in dstaesse/ouroboros/be-irmd-fix (pull request #244)Sander Vrijders2016-09-061-0/+3
|\ | | | | | | irmd: Fix register with unenrolled IPCPs in system
| * irmd: Fix register with unenrolled IPCPs in systemdimitri staessens2016-09-061-0/+3
| | | | | | | | | | If there are unregistered IPCPs (no DIF name set) the lookup should skip over them without segfaulting.
* | Merged in dstaesse/ouroboros/be-select (pull request #243)Sander Vrijders2016-09-061-0/+2
|\| | | | | | | wrap: Add swig wrapper for select.h
| * wrap: Add swig wrapper for select.hdimitri staessens2016-09-061-0/+2
| |
* | Merged in dstaesse/ouroboros/be-select (pull request #242)Sander Vrijders2016-09-069-35/+258
|\| | | | | | | lib: dev: Provide a set of fds to flow_select
| * lib: dev: Provide a set of fds to flow_selectdimitri staessens2016-09-069-35/+258
|/ | | | | | | The flow_select call now takes as a parameter a flow_set_t, which specifies a set of flow descriptors that will unblock the select call when an SDU for one of them arrives. The select call has been moved to its own header.
* Merged in dstaesse/ouroboros/be-dev-refactor (pull request #241)Sander Vrijders2016-09-031-23/+25
|\ | | | | | | lib: dev: Add fd lookup table
| * lib: dev: Add fd lookup tabledimitri staessens2016-09-031-23/+25
| |
* | Merged in dstaesse/ouroboros/be-dev-refactor (pull request #240)Sander Vrijders2016-09-031-182/+188
|\| | | | | | | lib: dev: Refactor
| * lib: dev: Refactordimitri staessens2016-09-031-182/+188
|/ | | | | Renamed _ap_instance to ai, adds a char * daf_name (to be set by ipcps in ipcp-dev.h, later to be set when we generalise enrolment to DAFs).
* Merged in dstaesse/ouroboros/be-split-fp (pull request #239)Sander Vrijders2016-09-023-7/+7
|\ | | | | | | src: Fix grammar (SDU's -> SDUs)
| * src: Fix grammar (SDU's -> SDUs)dimitri staessens2016-09-023-7/+7
| |
* | Merged in dstaesse/ouroboros/be-split-fp (pull request #238)Sander Vrijders2016-09-0210-35/+94
|\| | | | | | | lib: Add northbound ringbuffers
| * lib: Add northbound ringbuffersdimitri staessens2016-09-0210-35/+94
| | | | | | | | Fast path is split in north and southbound paths.
* | Merged in dstaesse/ouroboros/be-ipcp-dev (pull request #237)Sander Vrijders2016-09-025-40/+39
|\ \ | |/ |/| | | lib: ipcp: Decouple flow_dealloc
| * lib: ipcp: Decouple flow_deallocdimitri staessens2016-09-025-40/+39
| | | | | | | | Sending a dealloc to the irmd moved to its own call.
* | Merged in sandervrijders/ouroboros/be-swig-fix (pull request #236)dimitri staessens2016-09-021-0/+3
|\ \ | | | | | | | | | build: Add correct include directory for swig
| * | build: Add correct include directory for swigSander Vrijders2016-09-011-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 staessens2016-09-023-17/+17
|\ \ | |/ |/| | | lib: Change rdrbuff API to use correct types
| * lib: Change rdrbuff API to use correct typesSander Vrijders2016-09-013-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 Vrijders2016-09-011-2/+7
|\ | | | | | | irmd: Fix registering AP-I before bind
| * irmd: Fix registering AP-I before binddimitri staessens2016-09-011-2/+7
| |
* | Merged in dstaesse/ouroboros/be-bugfixing (pull request #233)Sander Vrijders2016-09-011-2/+5
|\| | | | | | | lib, rdrbuff: Fix fast path lockup
| * lib, rdrbuff: Fix fast path lockupdimitri staessens2016-09-011-2/+5
|/ | | | Adds missing condition signals.
* Merged in dstaesse/ouroboros/be-bugfixing (pull request #232)Sander Vrijders2016-08-312-15/+20
|\ | | | | | | irmd: Fix binding after registering
| * lib, shm_rdrbuff: Fix preprocessor definedimitri staessens2016-08-311-15/+15
| |
| * irmd: Fix binding after registeringdimitri staessens2016-08-311-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 Vrijders2016-08-311-2/+2
|\| | | | | | | tools, irm: Fix segfault with missing parameters
| * tools, irm: Fix segfault with missing parametersdimitri staessens2016-08-311-2/+2
| |
| * Merge branch 'be' of bitbucket.org:ouroboros-rina/ouroboros into bedimitri staessens2016-08-319-36/+134
| |\ | |/ |/|
* | Merged in dstaesse/ouroboros/be-apple (pull request #230)Sander Vrijders2016-08-319-36/+134
|\ \ | | | | | | | | | lib, ipcp: Compile on Apple junk
| * | lib, ipcp: Compile on Apple junkdimitri staessens2016-08-309-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 bedimitri staessens2016-08-3016-943/+1042
| | |\ | |_|/ |/| |
* | | Merged in dstaesse/ouroboros/be-refactor-rdrbuff (pull request #229)Sander Vrijders2016-08-3016-943/+1042
|\| | | | | | | | | | | lib: Refactor shm_du_map to shm_rdrbuff
| * | lib: Refactor shm_du_map to shm_rdrbuffdimitri staessens2016-08-2916-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 Vrijders2016-08-293-9/+14
|\ \ | | | | | | | | | Some fixes
| | * Merged in dstaesse/ouroboros/be-bugfixing (pull request #228)Sander Vrijders2016-08-293-9/+14
| |/| |/|/ | | | | Some fixes
| * lib, cdap: Fix message handlerdimitri staessens2016-08-291-1/+1
| | | | | | | | When getting a DELETE opcode, create was called instead of delete.
| * cdap: Fix destructiondimitri staessens2016-08-271-6/+3
| | | | | | | | | | Destroying NULL should succeed. Resources need to be freed even if flow_dealloc fails.
| * irmd: Add state checks to api_entrydimitri staessens2016-08-272-2/+10
| | | | | | | | Prevents double destruction.
* | Merged in dstaesse/ouroboros/be-bugfixing (pull request #227)Sander Vrijders2016-08-265-21/+22
|\| | | | | | | Be bugfixing
| * ipcpd: Report pid on shutdowndimitri staessens2016-08-264-8/+8
| | | | | | | | IPCPs will report their pid on shutdown for faster debugging.
| * irmd: Revise shutdown proceduredimitri staessens2016-08-261-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 Vrijders2016-08-256-77/+282
|\| | | | | | | ipcpd, normal: Safe handling of CDAP requests
| * ipcpd, normal: Safe handling of CDAP requestsdimitri staessens2016-08-256-77/+282
| | | | | | | | Destruction of the object in the reply stage was unsafe.
* | Merged in dstaesse/ouroboros/be-bugfixing (pull request #225)Sander Vrijders2016-08-252-191/+0
|\| | | | | | | irmd: Remove stale sources