Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merged in dstaesse/ouroboros/be-async-dealloc (pull request #257) | Sander Vrijders | 2016-10-07 | 5 | -55/+74 |
|\ | | | | | | | lib, dev: Add asynchronous deallocation | ||||
| * | lib, dev: Add asynchronous deallocation | dimitri staessens | 2016-10-07 | 5 | -55/+74 |
| | | | | | | | | | | Flow deallocation from the application will immediately return (void call). The IRMd will not send a reply message. | ||||
* | | Merged in dstaesse/ouroboros/be-fix-shutdown (pull request #256) | Sander Vrijders | 2016-10-06 | 3 | -3/+5 |
|\| | | | | | | | lib: Fix shutdown with pending SDUs | ||||
| * | lib: Fix shutdown with pending SDUs | dimitri staessens | 2016-10-06 | 3 | -3/+5 |
|/ | | | | | The SDU's were not correctly removed upon shutdown, peek should be pop. | ||||
* | Merged in dstaesse/ouroboros/be-debug-llc (pull request #255) | Sander Vrijders | 2016-10-06 | 3 | -7/+31 |
|\ | | | | | | | ipcpd: Filter traffic on shim-eth-llc | ||||
| * | ipcpd: Filter traffic on shim-eth-llc | dimitri staessens | 2016-10-06 | 3 | -7/+31 |
| | | | | | | | | Now correctly handles and drops non-ouroboros traffic. | ||||
| * | Merge branch 'be' of bitbucket.org:ouroboros-rina/ouroboros into be | dimitri staessens | 2016-10-05 | 1 | -3/+5 |
| |\ | |/ |/| | |||||
* | | Merged in sandervrijders/ouroboros/be-bugfix (pull request #254) | dimitri staessens | 2016-10-05 | 1 | -3/+5 |
|\ \ | | | | | | | | | | ipcpd: shim-eth-llc: Use correct SAP to lookup in the table | ||||
| * | | ipcpd: shim-eth-llc: Use correct SAP to lookup in the table | Sander Vrijders | 2016-10-05 | 1 | -3/+5 |
| | | | | | | | | | | | | | | | Upon deallocation, the remote's SAP was being used to lookup the fd instead of our own SAP. This resulted in strange behaviour. | ||||
* | | | Merged in sandervrijders/ouroboros/be-bugfix (pull request #253) | dimitri staessens | 2016-10-05 | 2 | -7/+4 |
|\| | | | | | | | | | | | lib, ipcpd: Fix bad locking | ||||
| | * | Merged in sandervrijders/ouroboros/be-bugfix (pull request #253) | dimitri staessens | 2016-10-05 | 2 | -7/+4 |
| |/| |/|/ | | | | | lib, ipcpd: Fix bad locking | ||||
| * | lib, ipcpd: Fix bad locking | Sander Vrijders | 2016-10-05 | 2 | -7/+4 |
|/ | | | | | | Some locks were taken at an inappropriate time, causing the shim-eth-llc to block indefinitely upon shutdown and causing flow allocation to halt since a response could never be given. | ||||
* | Merged in dstaesse/ouroboros/be-unify (pull request #252) | Sander Vrijders | 2016-10-04 | 1 | -8/+2 |
|\ | | | | | | | lib: np1_flow.h: Remove bad includes | ||||
| * | lib: np1_flow.h: Remove bad includes | dimitri staessens | 2016-10-04 | 1 | -8/+2 |
| | | |||||
* | | Merged in dstaesse/ouroboros/be-unify (pull request #251) | Sander Vrijders | 2016-10-04 | 44 | -2840/+2065 |
|\| | | | | | | | lib, ipcp: Revise fast path and flow interfaces | ||||
| * | lib, ipcp: Revise fast path and flow interfaces | dimitri staessens | 2016-10-04 | 44 | -2840/+2065 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | | Merged in dstaesse/ouroboros/be-apple (pull request #250) | Sander Vrijders | 2016-09-08 | 3 | -6/+6 |
|\| | | | | | | | lib: Fix shm for evil devices | ||||
| * | lib: Fix shm for evil devices | dimitri staessens | 2016-09-08 | 3 | -6/+6 |
|/ | | | | | | Cupertino's finest don't seem to support a write call with a filedescriptor that points to a shared memory file. ENOTSUP is not mentioned in their manpage either. Classic. | ||||
* | Merged in sandervrijders/ouroboros/be (pull request #249) | dimitri staessens | 2016-09-07 | 1 | -48/+48 |
|\ | | | | | | | ipcpd: normal: Fix crapped up indentation | ||||
| * | ipcpd: normal: Fix crapped up indentation | Sander Vrijders | 2016-09-07 | 1 | -48/+48 |
|/ | | | | There was some crapped up indentation in the crc32 source file. | ||||
* | Merged in sandervrijders/ouroboros/be-shm-pci (pull request #247) | dimitri staessens | 2016-09-07 | 18 | -317/+382 |
|\ | | | | | | | ipcpd: normal: Add operations to get and set the PCI | ||||
| * | 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-shm (pull request #248) | Sander Vrijders | 2016-09-07 | 4 | -17/+12 |
|\ \ | | | | | | | | | | lib: Set umask for file creation permissions | ||||
| * | | lib: Set umask for file creation permissions | dimitri staessens | 2016-09-07 | 4 | -17/+12 |
|/ / | | | | | | | | | Permissions are now set correctly upon creation, removing the need to call fchmod. | ||||
* | | Merged in dstaesse/ouroboros/be-fbsd (pull request #246) | Sander Vrijders | 2016-09-07 | 1 | -0/+1 |
|\ \ | | | | | | | | | | ipcpd: Add missing include for FreeBSD | ||||
| * | | ipcpd: Add missing include for FreeBSD | dimitri staessens | 2016-09-07 | 1 | -0/+1 |
| | | | |||||
* | | | Merged in dstaesse/ouroboros/be-select (pull request #245) | Sander Vrijders | 2016-09-07 | 1 | -8/+16 |
|\| | | | | | | | | | | | lib: Add lazy copy of flow_set | ||||
| * | | lib: Add lazy copy of flow_set | dimitri staessens | 2016-09-07 | 1 | -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 Vrijders | 2016-09-06 | 1 | -0/+3 |
|\ \ | | | | | | | | | | irmd: Fix register with unenrolled IPCPs in system | ||||
| * | | irmd: Fix register with unenrolled IPCPs in system | dimitri staessens | 2016-09-06 | 1 | -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 Vrijders | 2016-09-06 | 1 | -0/+2 |
|\| | | | | | | | | | | | wrap: Add swig wrapper for select.h | ||||
| * | | wrap: Add swig wrapper for select.h | dimitri staessens | 2016-09-06 | 1 | -0/+2 |
| | | | |||||
* | | | Merged in dstaesse/ouroboros/be-select (pull request #242) | Sander Vrijders | 2016-09-06 | 9 | -35/+258 |
|\| | | | | | | | | | | | lib: dev: Provide a set of fds to flow_select | ||||
| * | | lib: dev: Provide a set of fds to flow_select | dimitri staessens | 2016-09-06 | 9 | -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 Vrijders | 2016-09-03 | 1 | -23/+25 |
|\ \ | | | | | | | | | | lib: dev: Add fd lookup table | ||||
| * | | lib: dev: Add fd lookup table | dimitri staessens | 2016-09-03 | 1 | -23/+25 |
| | | | |||||
* | | | Merged in dstaesse/ouroboros/be-dev-refactor (pull request #240) | Sander Vrijders | 2016-09-03 | 1 | -182/+188 |
|\| | | | | | | | | | | | lib: dev: Refactor | ||||
| * | | lib: dev: Refactor | dimitri staessens | 2016-09-03 | 1 | -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 Vrijders | 2016-09-02 | 3 | -7/+7 |
|\ \ | | | | | | | | | | src: Fix grammar (SDU's -> SDUs) | ||||
| * | | src: Fix grammar (SDU's -> SDUs) | dimitri staessens | 2016-09-02 | 3 | -7/+7 |
| | | | |||||
* | | | Merged in dstaesse/ouroboros/be-split-fp (pull request #238) | Sander Vrijders | 2016-09-02 | 10 | -35/+94 |
|\| | | |/ |/| | | | lib: Add northbound ringbuffers | ||||
| * | lib: Add northbound ringbuffers | dimitri staessens | 2016-09-02 | 10 | -35/+94 |
| | | | | | | | | Fast path is split in north and southbound paths. | ||||
* | | 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 |
| | |