summaryrefslogtreecommitdiff
path: root/src/irmd/main.c
Commit message (Collapse)AuthorAgeFilesLines
...
* irmd: Rename name_to_pid to ipcp_dataSander Vrijders2016-04-021-31/+75
| | | | | | Did a rename of the struct so that it can hold all data related to an IPCP in the system. The DIF name an IPCP belongs to is set on bootstrap and enrolment.
* lib: Implementation of flow related opsSander Vrijders2016-03-311-2/+34
| | | | | | This adds the messages that are sent to the IPCPs related to flows. Some messages are also sent to the IRMd (e.g. when a new flow arrives).
* lib, irmd: Update communication with IRMdSander Vrijders2016-03-301-81/+230
| | | | | All messages sent to the IRMd now also get a reply back with the result of the operation.
* lib: renamed rina_name_t to instance_name_tdimitri staessens2016-03-301-48/+48
| | | | | all functions taking a char * ap_name and uint id now take either a instance_name_t or instance_name_t *
* lib: Add ipcp_messages proto fileSander Vrijders2016-03-281-1/+1
| | | | | This removes the custom ser/des methods for communicating with the IPCP daemon and also uses GPB instead.
* lib, irmd: Use GPB for dev.c and IRMdSander Vrijders2016-03-281-44/+28
| | | | | IRMd and dev.c now also use GPB instead of our own ser/des. irm_msg struct has been dropped as well as the methods associated with it.
* 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.
* 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-221-0/+10
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 ...