summaryrefslogtreecommitdiff
path: root/src/tools/echo/echo_server.c
Commit message (Collapse)AuthorAgeFilesLines
* tools: Fix log messages in echo appSander Vrijders2016-05-101-2/+2
| | | | | This fixes bad indentation and log messages without a newline in the echo application.
* lib/irmd/ipcpd/tools: fixes comments on eb9f443dimitri staessens2016-05-081-7/+1
|
* irmd: flow allocation and fast pathdimitri staessens2016-05-071-19/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit has a first implementation of flow allocation (the "slow path") and read/write (the "fast path") for ouroboros. It provides basic but unstable communications over the shared memory. It required a lot of changes all over the stack, and fixes a number of previously undetected issues. This PR still need heavy revision regarding data model, locking and cleanup. lib/dev: modifications to the API. It now uses an ap_init() call to set the AP name and sets the Instance ID to the pid of the process. It also binds the AP to the shared memory and creates tables for mappings in the fast path. A call to ap_fini() releases the resources. lib/shm_ap_rbuff: added ring buffer for data exchange between processes in the fast path. It passes an index in the shm_du_map. lib/shm_du_map: rewrote API to work with calls from dev.c. Garbage collector added. Tests updated to new API. ipcpd/ipcp-data: removed everything related to flows, as these are universal for all ap's and kept in ap_data (dev.c), or similar structs for shim ipcps. shim-udp: added flow allocator and read/write functions and shm elements. irmd: revised data model and structures necessary for flow allocation. tools: echo updated to new dev.h API. messaging system was updated to comply with new flow allocation messages. All exchanges use pid and port_id to bootstrap the fast path.
* ipcpd: fixes comments on 18c5da3dimitri staessens2016-04-211-2/+2
|
* irmd: application registrationdimitri staessens2016-04-211-1/+2
| | | | | | Initial code for application registration. Specifying "*" will (for now) register with the first IPCP available in the system. Modified the echo server not to barf messages on failed accept()
* lib: renamed rina_name_t to instance_name_tdimitri staessens2016-03-301-1/+0
| | | | | all functions taking a char * ap_name and uint id now take either a instance_name_t or instance_name_t *
* lib: Adds IRMd messages for the dev.h API callsSander Vrijders2016-03-241-2/+2
| | | | | | 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-211-0/+103
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.