summaryrefslogtreecommitdiff
path: root/src/lib/sockets.c
Commit message (Collapse)AuthorAgeFilesLines
* ipcpd: initial IPC processesdimitri staessens2016-04-181-5/+2
| | | | | | | | | | | 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: include stdlib.h, not malloc.hdimitri staessens2016-04-021-1/+1
|
* lib, irmd: Update communication with IRMdSander Vrijders2016-03-301-35/+0
| | | | | All messages sent to the IRMd now also get a reply back with the result of the operation.
* lib: Add ipcp_messages proto fileSander Vrijders2016-03-281-245/+0
| | | | | 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-411/+58
| | | | | 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: Update irm.h APISander Vrijders2016-03-281-0/+7
| | | | | | 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-241-33/+252
| | | | | | 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: Add communication with IPCP daemonSander Vrijders2016-03-171-65/+281
| | | | | This adds the messages required for the IRMd to communicate with an IPC Process through the library.
* lib, irmd: Fix memleaksSander Vrijders2016-03-171-0/+1
| | | | | This removes some memleaks present in the sockets layer. It also fixes the bad initialization of the difs_size param in the irm_msg.
* lib: Add helpers for RINA namesSander Vrijders2016-03-111-22/+11
| | | | This adds helper functions for RINA names, to aid with handling them.
* include: Fixed missing 'struct', renamed dif_infoDimitri Staessens2016-03-031-1/+1
| | | | | common.h: dif_info renamed to dif_config missing struct fixed
* tools: Parse command line paramsSander Vrijders2016-03-021-1/+1
| | | | | This adds initial support to the irm tool for parsing command line parameters.
* lib, irmd, tools: Provide more IRM messagesSander Vrijders2016-03-011-83/+145
| | | | | | | 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: Add identifier for non-literal stringSander Vrijders2016-02-261-1/+1
| | | | | This adds the %s identifier in a sprintf. A non-literal was passed and used as a literal.
* lib: Fix two errorsSander Vrijders2016-02-261-1/+1
| | | | | | Fixes two errors in the library. The return code of a write to a socket was ignored. A non literal string was passed to sprintf as a literal one.
* lib, irmd: Address Dimitri's commentsSander Vrijders2016-02-261-19/+51
| | | | This addresses several comments Dimitri had on the sockets layer code.
* lib, irmd, tools: Support to create IPCPsSander Vrijders2016-02-251-0/+193
| | | | | | | 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-0/+94
This provides the initial messages to be passed between the irmd and libouroboros-irm.