Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 4703 → Rev 4704

/branches/network/uspace/srv/net/il/ip/ip_module.h
31,6 → 31,8
*/
 
/** @file
* IP module functions.
* The functions are used as IP module entry points.
*/
 
#ifndef __NET_IP_MODULE_H__
38,7 → 40,24
 
#include <ipc/ipc.h>
 
/** Initializes the IP module.
* @param client_connection The client connection processing function. The module skeleton propagates its own one. Input parameter.
* @returns EOK on success.
* @returns ENOMEM if there is not enough memory left.
*/
int ip_initialize( async_client_conn_t client_connection );
 
/** Processes the IP message.
* @param callid The message identifier. Input parameter.
* @param call The message parameters. Input parameter.
* @param answer The message answer parameters. Output parameter.
* @param answer_count The last parameter for the actual answer in the answer parameter. Output parameter.
* @returns EOK on success.
* @returns ENOTSUP if the message is not known.
* @see ip_interface.h
* @see il_interface.h
* @see IS_NET_IP_MESSAGE()
*/
int ip_message( ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count );
 
#endif