summaryrefslogtreecommitdiff
path: root/src/tools/irm/irm_bootstrap_ipcp.c
Commit message (Collapse)AuthorAgeFilesLines
* ipcpd: IPCP over local memorydimitri staessens2016-05-281-1/+4
| | | | | | | | | | | | | This introduces an IPC process that relays data between two local AP's over the shm_du_map. Only configuration it has is a DIF name. It required small modification elsewhere: lib: added support for the IPCP_LOCAL type irm: added support for the IPCP_LOCAL type dif_config: added the IPCP_LOCAL type tools: added support for the IPCP_LOCAL type
* tools: Fix log message in irm toolSander Vrijders2016-05-101-1/+1
| | | | | A wrong log message was being printed if the bootstrap command was called with a wrong parameter.
* 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-111-4/+2
| | | | | 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-081-3/+1
| | | | | | | | | 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-301-6/+5
| | | | | 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-281-8/+12
| | | | | | 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-5/+1
| | | | | | 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.
* Fixed clang compilation errorsDimitri Staessens2016-03-141-0/+2
| | | | | fixed a signed-unsigned mismatch in du_buff.c fixed an uninitialised variable in irm
* 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: Provide all IRM callsSander Vrijders2016-03-031-2/+38
| | | | | | | 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-021-0/+32
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.