summaryrefslogtreecommitdiff
path: root/src/tools
Commit message (Collapse)AuthorAgeFilesLines
...
* ipcpd: initial IPC processesdimitri staessens2016-04-181-2/+12
| | | | | | | | | | | Basic functions for implementation of IPC processes, and implementation of core functions of the shim IPCP over UDP. Updates to the build system to compile these IPC processes, as well as some fixes in the irmd (rudimentary capturing exit signals) and some fixes in the library, mainly relating to the messaging. Basic implementation of creation / bootstrapping / deletion of the shim UDP. Placeholders for other functions.
* lib: Change ipcp typesSander Vrijders2016-04-112-6/+4
| | | | | This changes the name of the IPCP types after discussions with Dimitri.
* tools: Update irm bootstrapSander Vrijders2016-04-111-4/+106
| | | | | This updates irm bootstrap so that the parameters from the struct dif_config can be correctly filled in from the command line.
* lib, irmd, irm: Add dif_configSander Vrijders2016-04-082-6/+19
| | | | | | | | | This adds dif_config to the prototype, in which one is able to specify the parameters a DIF should have. The bootstrap operation of an IPCP takes this as parameter and is oblivious to whether it is a shim or a normal IPCP. The dif_config struct is also correctly serialized and deserialized and passed opaquely to the correct IPCP. This IPCP is in charge of deserializing it correctly.
* lib: Remove check for equal namesSander Vrijders2016-04-021-2/+0
| | | | | Removes name_is_equal. Just using instance_name_cmp is encouraged. It also removes a wrong initialization in the irm tool.
* lib: renamed rina_name_t to instance_name_tdimitri staessens2016-03-3010-43/+32
| | | | | all functions taking a char * ap_name and uint id now take either a instance_name_t or instance_name_t *
* lib: Update irm.h APISander Vrijders2016-03-288-92/+83
| | | | | | Removes rina_name_t from that API. Passing ap_name and api_id as params instead. The IRM tool has been updated accordingly. Some errors in the build related to protobuf-c have also been resolved.
* lib: Adds IRMd messages for the dev.h API callsSander Vrijders2016-03-249-35/+6
| | | | | | 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.
* tools: Simple echo applicationSander Vrijders2016-03-216-2/+247
| | | | | | This adds a simple echo application written to show application how to use the API. It also updates the dev.h header file with the insights gained from performing this excercise.
* Fixed clang compilation errorsDimitri Staessens2016-03-141-0/+2
| | | | | fixed a signed-unsigned mismatch in du_buff.c fixed an uninitialised variable in irm
* lib: Add helpers for RINA namesSander Vrijders2016-03-112-0/+3
| | | | This adds helper functions for RINA names, to aid with handling them.
* Merged in sandervrijders/ouroboros/be-tests (pull request #23)Dimitri Staessens2016-03-071-1/+1
|\ | | | | | | Testing framework
| * build: Add check target, fix packagingSander Vrijders2016-03-071-1/+1
| | | | | | | | | | | | | | | | | | 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.
* | include: Fixed missing 'struct', renamed dif_infoDimitri Staessens2016-03-031-3/+3
| | | | | | | | | | common.h: dif_info renamed to dif_config missing struct fixed
* | tools: irm: Change description in irm fileSander Vrijders2016-03-031-1/+1
| | | | | | | | This adds the word daemon to the description of the IRM tool.
* | tools: irm: Provide all IRM callsSander Vrijders2016-03-039-39/+271
| | | | | | | | | | | | | | This commit makes all IRM calls available to the user of the 'irm' tool. The bootstrap_ipcp call does not yet take the anything except the AP name. This will be added once we stabilize what should be configurable in the IPCP.
* | tools: irm: Parse arguments for irm and create_ipcpSander Vrijders2016-03-0212-80/+419
| | | | | | | | | | | | This parses the arguments passed to irm at the top level, and also the arguments supplied when calling irm create_ipcp. It subsequently calls irm_create_ipcp with these arguments.
* | tools: Parse command line paramsSander Vrijders2016-03-021-10/+16
|/ | | | | This adds initial support to the irm tool for parsing command line parameters.
* lib, irmd, tools: Provide more IRM messagesSander Vrijders2016-03-011-0/+28
| | | | | | | 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, tools: Support to create IPCPsSander Vrijders2016-02-251-0/+2
| | | | | | | 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-1/+12
| | | | | This provides the initial messages to be passed between the irmd and libouroboros-irm.
* src: Rename daemons and add tools folderSander Vrijders2016-02-223-0/+49
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 ...