Packet server. More...
#include <ipc/ipc.h>
Functions | |
int | packet_server_message (ipc_callid_t callid, ipc_call_t *call, ipc_call_t *answer, int *answer_count) |
Processes the packet server message. |
Packet server.
The hosting module has to be compiled with both the packet.c and the packet_server.c source files. To function correctly, initialization of the packet map by the pm_init() function has to happen at the first place. Then the packet messages have to be processed by the packet_server_message() function. The packet map should be released by the pm_destroy() function during the module termination.