summaryrefslogtreecommitdiff
path: root/src/irmd
Commit message (Collapse)AuthorAgeFilesLines
...
* lib: Adds IRMd messages for the dev.h API callsSander Vrijders2016-03-241-3/+3
| | | | | | This adds several messages for the dev.h API calls to communicate with the IRM daemon. The deserializing of these messages is still missing and the irmd hasn't been updated with them either.
* lib, irmd: Fix memleaksSander Vrijders2016-03-171-1/+12
| | | | | This removes some memleaks present in the sockets layer. It also fixes the bad initialization of the difs_size param in the irm_msg.
* irmd, lib: Create and destroy IPC ProcessesSander Vrijders2016-03-151-11/+16
| | | | | | This adds the functionality to create and destroy IPCPs. Upon creation a new process is forked and execve'd. Upon destruction the IPCP is destroyed by killing it with SIGTERM.
* irmd: Remove wrong copySander Vrijders2016-03-111-2/+1
| | | | | A NULL pointer was being passed instead of the actual name of the IPCP.
* lib: Add helpers for RINA namesSander Vrijders2016-03-111-27/+137
| | | | This adds helper functions for RINA names, to aid with handling them.
* irmd, lib: Replace stubs in irmdSander Vrijders2016-03-091-27/+52
| | | | | | This replaces the stubs in the irmd and calls the actual IPCP operations from the library. It also calls the DIF Allocator API in one of the operations.
* Merged in sandervrijders/ouroboros/be-tests (pull request #23)Dimitri Staessens2016-03-072-1/+28
|\ | | | | | | Testing framework
| * build: Add check target, fix packagingSander Vrijders2016-03-072-1/+23
| | | | | | | | | | | | | | | | | | This adds a build target 'check', which executes a test suite for every daemon/library. Every test suite consists of a test driver that executes a function in a file with the same name as the function. The compile_debug script executes the 'check' target to validate there are no regressions. Packaging is also fixed and the prototype can be shipped as a tarball.
| * build: Move debugging switch to correct CMakeListsSander Vrijders2016-03-031-0/+5
| | | | | | | | | | | | This moves the debugging switch down to the CMakeList associated with every program or library. It allows to build apps individually with debugging info on or off.
* | include: Fixed missing 'struct', renamed dif_infoDimitri Staessens2016-03-031-2/+2
| | | | | | | | | | common.h: dif_info renamed to dif_config missing struct fixed
* | lib, irmd: Fix memleaksSander Vrijders2016-03-031-9/+2
|/ | | | Fixes a couple of memleaks found while executing with valgrind.
* lib, irmd, tools: Provide more IRM messagesSander Vrijders2016-03-011-7/+55
| | | | | | | This provides the other messages that are used to communicate between the library and the IRM Daemon. The IRM tool just calls the library right now to see if it works. A full fledged program will be provided in a next commit.
* lib, irmd: Address Dimitri's commentsSander Vrijders2016-02-261-4/+6
| | | | This addresses several comments Dimitri had on the sockets layer code.
* lib, irmd, tools: Support to create IPCPsSander Vrijders2016-02-251-5/+43
| | | | | | | Provides the initial support to create IPCPs via a command-line tool. It extends the socket layer with a message that is sent over a socket to the irmd when the irm_create_ipcp library function is called from a program.
* lib: Initial messages for the IRMSander Vrijders2016-02-231-2/+55
| | | | | This provides the initial messages to be passed between the irmd and libouroboros-irm.
* src: Rename daemons and add tools folderSander Vrijders2016-02-222-0/+26
This renames the daemons to end with a 'd', as is common for UNIX daemons. It also adds a tools folder, that will hold the tools of the Ouroboros prototype. Examples are a simple echo application, an application to instruct the IRM ...