packet_server.h File Reference

Packet server. More...

#include <ipc/common.h>

Go to the source code of this file.

Functions

int packet_server_message (ipc_callid_t callid, ipc_call_t *call, ipc_call_t *answer, size_t *answer_count)
 Processes the packet server message.


Detailed Description

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.

See also:
IS_NET_PACKET_MESSAGE()

Definition in file packet_server.h.


Generated on Thu Jun 2 07:45:54 2011 for HelenOS/USB by  doxygen 1.4.7